[SA-exim] User prefs

Nigel Metheringham Nigel.Metheringham at dev.InTechnology.co.uk
02 Jul 2002 09:21:08 +0100


On Tue, 2002-07-02 at 00:09, Mikel Tidwell wrote:
> So, either I can use sa-exim, which doesn't allow me to set up user prefs,
> or I can use the site mentioned (specifically the page
> http://dman.ddts.net/~dman/config_docs/exim4_spamassassin.html), which also
> tells me I can't use user configurations? :(

You have a choice:-
  - you run SA once on each message and do not have the option
    of applying recipient specific rules
    + either at SMTP time (reject early) - sa-exim local_scan patches
    + or during routing - config change only to exim
  - You run SA once per recipient delivery at the cost of more
    SA invocations, lower efficiency, but more customability

To do the latter run it as a filter to final delivery (no choices then
as to final disposition - unless you are delivering via something like
procmail), or explicitly have each user run it from procmail (or within
your system procmailrc).

> Can I bounce messages if I don't use local_scan?  That's a really nice
> feature... but if it's bouncing vs user white/blacklists, I'll choose the
> latter.  I don't want to keep people's lists for them.

You can't bounce stuff properly* if you scan per user, if you scan once
per message you can do some degree of bouncing, but you need to be
scanning in local_scan to reject at SMTP time (however for broken SMTP
implementation on the sender side this can have downsides such as the
sender attempting to resend again and again).

*Note You can error exit from your final delivery process which will
cause some level of bounce.

	Nigel.

-- 
[ Nigel Metheringham           Nigel.Metheringham@InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]