[EXIM] Filter problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Christian Dysthe
Datum:  
To: Exim-users
Betreff: [EXIM] Filter problem

Hi,

I am trying to make a filter that save incoming mail to a given mail
file if one of several "To" or "Cc" fields are *not* present.

I tried like this:

if
$header_To: does not contain "ohboy@???" or
$header_To: does not contain "labour@???" or
$header_Cc: does not contain "ohboy@???" or
$header_Cc: does not contain "labour@???" or
then
save /home/gsimmons/Mail/other_mail
endif

What happens is that all mail that is not picked up by filters
preceding this one is saved to the folder
/home/gsimmons/Mail/other_mail.

I have been looking and reading and can not find out how to make this
filter work only on mail that do no contain those addresses, but I can't
make it work.

Any help would be greatly appreciated.

TIA

--
-----------------------------------
Regards,
Christian Dysthe
Email: cdysthe@???
http://www.bigfoot.com/~cdysthe
ICQ 3945810
Powered by Debian GNU/Linux
-----------------------------------


           "Things are more like they used to be than they are now."



--
*** Exim information can be found at http://www.exim.org/ ***