[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Script to whitelist users openwebmail address book entries



This simple script trawls through Openwebmail address books and checks any 
addresses found against the SpamAssassin whitelist database. If they are 
already in the whitelist database with a negative rating then it does not 
bother adding them, otherwise it adds them in. I put it in /etc/cron.daily/ to 
ensure any new user address book entries are added the whitelist daily. This 
is an easy way to allow users to add to the whitelist.

It expects you to put the SpamAssassin check_whitelist script in 
/etc/MailScanner/tools/ (It's distributed with SpamAssassin in the tools dir) 
so copy it there or alter the script to point it to the right place on your 
machine.

-v command line option switches to verbose mode to show what it's doing.

http://www.jansz.com/downloads/

Cheers,
Menno