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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Phil Pennock
日付:  
To: Leonardo Boselli
CC: exim-users
題目: 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