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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Phil Pennock
Data:  
Para: Leonardo Boselli
CC: exim-users
Asunto: Re: [exim] mangling received headers in incoming mail.
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