You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Simon Avery <we...@mareandfoal.org> on 2007/05/24 14:28:45 UTC
SA-Exim - not scanning local nets.
Hi
Sorry if this is a FAQ but I've been playing the google game for hours
now and still haven't got it right.
I have SA-Exim running and I want it to ignore any mail coming from
local domains (ie, a 10.0.0/24 etc) because the users within these nets
are complaining the sending delay is too big.
I've tried following half a dozen rough guides, which assume a lot of
knowledge of Exim by restricting by ACL, but they don't work for me.
I've also been advised to use trusted_networks in SA's local.cf but
again, that adds a flag but doesn't stop it scanning and creating this
rather large delay. (5-15 seconds)
Can anyone please point me to the right way of doing this that is proven
to work? Spent /way/ too much time chasing this one around and around.
Thanks.
Simon
Debian etch. SpamAssassin version 3.1.7.2 running on Perl version
5.8.8. exim4 4.63-17 sa-exim 4.2.1-4. Sending via internet/dns.
Re: SA-Exim - not scanning local nets.
Posted by Jari Fredriksson <ja...@iki.fi>.
Simon Avery wrote:
> Hi
>
> Sorry if this is a FAQ but I've been playing the google game for hours
> now and still haven't got it right.
>
> I have SA-Exim running and I want it to ignore any mail coming from
> local domains (ie, a 10.0.0/24 etc) because the users within these
> nets are complaining the sending delay is too big.
>
> I've tried following half a dozen rough guides, which assume a lot of
> knowledge of Exim by restricting by ACL, but they don't work for me.
> I've also been advised to use trusted_networks in SA's local.cf but
> again, that adds a flag but doesn't stop it scanning and creating this
> rather large delay. (5-15 seconds)
>
> Can anyone please point me to the right way of doing this that is
> proven to work? Spent /way/ too much time chasing this one around and
> around.
>
You could leave SA-Exim and use spamassassin in your maildroprc (if using maildrop) or maybe in mailproc.
That way SpamAssassin would activate only for incoming messages, and outgoing transfer would be speedy.
maildrop is good.
Re: SA-Exim - not scanning local nets.
Posted by Magnus Holmgren <ho...@lysator.liu.se>.
On Thursday 24 May 2007 14:28, Simon Avery wrote:
> I have SA-Exim running and I want it to ignore any mail coming from
> local domains (ie, a 10.0.0/24 etc) because the users within these nets
> are complaining the sending delay is too big.
>
> I've tried following half a dozen rough guides, which assume a lot of
> knowledge of Exim by restricting by ACL, but they don't work for me.
Why don't they work for you? The setting controlling whether SA-Exim contacts
spamd or not is SAEximRunCond in /etc/exim4/sa-exim.conf. Since SA-Exim's
configuration parser is very simple and doesn't allow line continuations, the
condition can become rather unwieldy. For that reason, I recommend setting an
ACL variable in Exim's ACLs. You should find an example in sa-exim.conf, or
in sa-exim.conf.dpkg-dist if you have upgraded and opted to keep your own
version of the configuration file.
You're invited to join the SA-Exim mailing list, sa-exim@lists.merlins.org.
See http://lists.merlins.org/lists/listinfo/sa-exim
--
Magnus Holmgren holmgren@lysator.liu.se
(Debian sa-exim (No Cc of list mail needed, thanks)
maintainer)