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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to