Re: [exim] Testing for the absence of a header - solution

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Adam Nielsen
Ημερομηνία:  
Προς: exim-users
Παλιά Θέματα: [exim] Testing for the absence of a header
Αντικείμενο: Re: [exim] Testing for the absence of a header - solution
> All I want to do is move mail into a folder if the e-mail is missing
> the "X-Spam-Score" header.


Okay, well after further research it looks like you can't use the "def"
condition in a .forward file, but I found another method that works:

  # Exim filter
  if $header_x-spam-score: is "" then
    save ".spam.unfiltered/"
  endif


Cheers,
Adam.