Re: [exim] mangling received headers in incoming mail.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Leonardo Boselli
Data:  
Para: exim-users
Asunto: Re: [exim] mangling received headers in incoming mail.
OOOOPS ...
in the question "example ?" i wanted to ay an example so clamav scanning
would not run in case the message come from an host that i know has done
the same operation.
for spam-test the filtering must be invoked by a script in .procmailrc in
user's space, only if user want.
To do this more efficiently i asked a way to avoid to add a received
header when the message has been relayed by a known host.

--
Leonardo Boselli

On Tue, 13 Oct 2009, Phil Pennock wrote:

> On 2009-10-14 at 02:20 +0200, Leonardo Boselli wrote:
>> On Sun, 11 Oct 2009, Phil Pennock wrote:
>>> If you're using a "spam" condition in an ACL on DATA, then write the ACL
>>> logic such that if the connection is from one of your own machines, you
>>> don't do invoke the "spam" condition.
>>
>> example ?
>
> In the main section, you define a hostlist:
>
> hostlist my_machines = 192.0.2.3 : 192.0.2.7
>
> then inside the data ACL you will have something like:
>
>  warn    spam = someuser
>          add_header = X-Spam_score: blahblahblah

>
> You change that to:
>
>  warn    !hosts = +my_machines
>          spam = someuser
>          add_header = X-Spam_score: blahblahblah

>
> -Phil
>