On Tue, 11 Nov 2003, Tim Merkel wrote:
> I have a client who wishes to only allow mail into his inbox that is
> explicitly allowed via his white list.

If you are using procmail, make a whitelist recipe in his .procmailrc
file. Technically, his mail will still go through spamassassin, but the
whitelist will make the final delivery choice.

Alternately, you can setup a 'hook' in your global procmailrc that will
INCLUDE=$HOME/.whitelist.rc *before* the spamc call, then it will take
precdence. In this case, he can then set a low score for spamassassin
that will still allow most new correspondents through while catching most 
or all of the spam.

Side note: I actually have a more complicated system that allows the user
to specify their whitelist as a plain text file, one entry per line, and
then when the modification date of whitelist.text is newer than
.whitelist.rc I have a script re-generate the whitelist.rc file, taking
care to escape all special characters, remove blank lines, etc.

- Charles



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to