Re: [Exim] Exim Filter

Góra strony
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
Dla: exim-users
Temat: Re: [Exim] Exim Filter
system@??? wrote:

> I have a mail account mail1@??? which is forwarded to
> mail2@???.
> If I put the following lines the mails will be deliverd to
> mail2@??? and a copy will be saved in saved directory Right?


No. See below.

> I have created a .forward file
>
> if $local_part contains mail1@??? then
>     deliver mail2@???
>     save /home/pathto/saved
> endif

>
> what should i do if i don't want to save them in saved directory and delete
> them rather.


That is only to forward or simply to discard the message?

> Correct me if I am Worng in above Syntax .


$local_part will not contain "mail1@???".