As people are apparently using beta releases in production situations, I thought this may be good to spread around at this time.
Note it's applicable to sme 7.0 beta 4 onwards, earlier betas used a colon as a seperator rather than a comma, but later versions use a comma or colon.
I will put it into a HOWTO soon. It's from devinfo posts by Gordon Rowell, thanks to Gordon (& Charlie Brady) for the implementation of qpsmtpd and the instructions.
Instal Procedure: (v7.0 sme server only)
In order to enable the RBL list functionality, the DNSBL plug in for qpsmtpd must be enabled.
A default installation of sme 7.0 has four RBL lists set in the configuration database, these are:
sbl-xbl.spamhaus.org
whois.rfc-ignorant.org
dnsbl.njabl.org
relays.ordb.org
To enable RBL blocking for the default lists do the following
/sbin/e-smith/config setprop qpsmtpd DNSBL enabled
/sbin/e-smith/signal-event email-update
svc -t /service/qpsmtpd
To enable RBL blocking for a single list do the following
/sbin/e-smith/config setprop qpsmtpd RBLList sbl-xbl.spamhaus.org
/sbin/e-smith/config setprop qpsmtpd DNSBL enabled
/sbin/e-smith/signal-event email-update
svc -t /service/qpsmtpd
To enable RBL blocking for multiple lists do the following
To add multiple RBLs to the RBLList property, delimit (separate) them with a comma (beta 4 onwards)
/sbin/e-smith/config setprop qpsmtpd RBLList sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,
dnsbl.njabl.org,dnsbl.sorbs.net,relays.ordb.org, bl.spamcop.net
(the above should all be on one line)
/sbin/e-smith/config setprop qpsmtpd DNSBL enabled
/sbin/e-smith/signal-event email-update
svc -t /service/qpsmtpd
To disable RBL blocking do the following
/sbin/e-smith/config setprop qpsmtpd DNSBL disabled
/sbin/e-smith/signal-event email-update
svc -t /service/qpsmtpd
To check your db entries do:
/sbin/e-smith/config show qpsmtpd
which will give an output something like the following
(Note that your servers output may be different depending on your configuration)
qpsmtpd=service
DNSBL=enabled
LogLevel=8
MaxScannerSize=25000000
RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
RHSBL=disabled
RequireResolvableFromHost=no
access=public
status=enabled
Have fun and down with spam on sme 7.0 !!