Adding Blacklist, Whitelist to SmE Server
UPDATE: You can now set up a server control panel to do this, for notes on how to achieve this goto the SME eMail BLW Wiki
Original Comment ::
config show qpsmtpd
config setprop qpsmtpd DNSBL enabled
config setprop qpsmtpd RHSBL enabled
#to change the DNSBL lists used:
config setprop qpsmtpd RBLList sbl-xbl.spamhaus.org,relays.ordb.org
#after setting any properties, you must run:
signal-event email-update
svc -t /service/qpsmtpd
Don't change the SBLList list used by RHSBL (the one server listed is
the only one). I've read the RHSBL isn't as fast or as useful as DNSBL,
but you decide...
There's also a white/black list you can modify to specifically
allow/block domains, but it can be a lot of work to maintain. You must
use caps for the words White and Black:
#adds to list:
db spamassassin setprop wbl.global *informit.com White
*gfi.com White
#replaces list:
db spamassassin set wbl.global list *informit.com White
*gfi.com White
*800-flowers.net White *heartdetectives.com Black
#after making changes you must:
expand-template /etc/mail/spamassassin/local.cf
svc -t /service/spamd
#also handy:
db spamassassin show
config show spamassassin