My solution for getting the spam.whitelist.rules and spam.blacklist.rules into a database

Christopher Fisk cfisk at
Tue Oct 13 16:32:13 IST 2009


A few days (weeks?) ago I emailed asking how to store the spam.whitelist.rules and spam.blacklist.rules in a MySQL database and it was suggested I write a script to yank the data and format the files.

I have done so and would like to share it.  If interested you can download the tarball from:

I am by no means an accomplished perl programmer, this was done on my spare time and "works for me".  I've put it up under the same license as MailScanner (GPL) in case it is useful enough to be added.

Hope it is useful to someone!


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list