#568855 Proposed configuration of sa-exim exclusions/overrides can get better...

Package:
sa-exim
Source:
sa-exim
Description:
SpamAssassin filter for Exim
Submitter:
Marco Gaiarin
Date:
2010-02-08 11:55:08 UTC
Severity:
normal
#568855#5
Date:
2010-02-08 11:30:59 UTC
From:
To:
In /usr/share/doc/sa-exim/README.gz the readme correctly proposed to
add some exclusions/overrides that prevent spamassassin run against
locally generated or 'trusted' senders.

I was caming from an old, mosly sarge based setup, and i moved from the
header-type exclusion to acl variable exclusion, but found that what
proposed on file above, section:

	EXIM4 INTEGRATION / NOT SCANNING YOUR OWN MAILS

does not work very well, scan every local generated email.

After some exim documentation reeding (ok, and a bit of google ;) i've
added in main section of exim4.conf:

	acl_not_smtp = acl_check_local_mail

and on acl section:

	acl_check_local_mail:
	  warn
	    set acl_m0  = do-not-scan

	  accept

With this setup again sa-exim stop to check ocal submitted email.

Also this remove the flooding of:

	Can only handle IPv4 addresses; skipping greylisting call for message

from spamd, because seems that the only source of ipv6 traffic, at
least in italy, are localhost. ;-)


Many thanks.