RE: [Exim] Exim filter: Filter on recipients

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Pollywog
Datum:  
To: Christian Dysthe
CC: Exim-users
Betreff: RE: [Exim] Exim filter: Filter on recipients
On 31-Jul-99 Christian Dysthe wrote:
>
> Hi,
>
> I was wondering if it somehow is possible to make a filter argument
> based on "recipients". With recipients I mean To, Cc and Bcc. What I
> have done is to make three strings to cover all three recipient options,
> but would really like to be able to do with one.
>
> Below I have pasted how I cover "To:" Then I will have to make two
> more with header_Cc and header_Bcc, or Cc'd and Bcc'd mail will not
> reach wanted folder.
>
> if
>    $header_To: contains cdysthe@???
> then
>    save /home/cdysthe/mail/private_inbox
>    finish
> endif


don't you need to put quotes around the part after "contains"?

if
    $header_To: contains "cdysthe@???"
 then
    save /home/cdysthe/mail/private_inbox
    finish
 endif



--
Andrew