Re: [EXIM] Filter problem

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Microwave Systems Eximlist Exploder
Data:  
Para: Christian Dysthe
CC: Exim-users
Assunto: Re: [EXIM] Filter problem


I think you want "and"s in there instead of "or"s

On Mon, 17 May 1999, Christian Dysthe wrote:

>
> 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/ ***
>
>



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