Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: eiceic on June 01, 2005, 06:56:32 PM
-
I already have a huge white / black list in a text file from my previous anti-spam solution. Is the SpamAssasin WL/BL stored in a text file or mysql where I can push the whole list at once?
Thanks,
Chris Buechler[/i]
-
They are stored in /home/e-smith/spamassassin_V3
under key wbl.global in property/value pairs = domain/[Black|White]
So loop through your black list and execute for each domain entry the command
/sbin/e-smith/db spamassassin_V3 setprop wbl.global domain_name Black
Do the same with your white list and use 'White' as the value
Go to the servermanager panel and klick save&restart
I haven't tested this, but that should be the way how to do it.
Michael
-
Excellent! That worked great.
Can I use the same/simlar technique to automate adding users, ibays, hosts, etc.?
I'd like to be able to install SME, and then run a script that asks me a few more questions and adds the users/ibays/etc..
Thanks,
Chris Buechler
-
Excellent! That worked great.
Thanks.
Can I use the same/simlar technique to automate adding users, ibays, hosts, etc.?
Sure.
But before re-inventing the wheel for adding/deleting users you may want to have look on:
http://www.neddix.com/sme6/nx-sme-adduser/
You should also have a look here:
http://mirror.contribs.org/smeserver/contribs/mblotwijk/HowToGuides/lazy-admin-tools.htm
Good luck,
Michael
-
Thanks again Michael -- just what I needed
Chris