RE: [Exim] Exim filter: Filter on recipients

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Pollywog
Fecha:  
A: Christian Dysthe
Cc: Exim-users
Asunto: 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