whitelist options in SA user_prefs not being obeyed?

Julian Field mailscanner at ecs.soton.ac.uk
Sun Jan 11 10:08:54 GMT 2004

At 02:41 11/01/2004, you wrote:
>>>Anyone know why a whitelist_from entry in my SpamAssassin user_prefs
>>  > file wouldn't be followed?
>>Shouldn't you use a ruleset instead? Look in MailScanner.conf:
>Not really ... I want my users to be able to control their whitelist's
>themselves.  Having all the whitelist rules in a single, MailScanner
>controlled, file defeats that.

See the per-user and per-domain white/black-listing code in
CustomConfig.pm. It's dead easy to get going, just read the comments at the
top of that bit of CustomConfig.pm (which you will be able to find, believe

SA user_prefs files in individual people's home directories are not
consulted by MailScanner, as it doesn't know nor care where the mail is
going or how to map an email address onto a user's home dir. You can only
do that for local email accounts and even then only at the delivery stage,
which means MailScanner would have to be involved in mail delivery which I
am not prepared to do (lots of other people have implemented local mail
delivery already).

Pretty much all the per-user tweaks that anyone ever wants to do with SA
can be easily implemented as rulesets in MailScanner instead.
Julian Field
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

More information about the MailScanner mailing list