How to configure an RBL in qmail

popowich

EQ Forum Admin
Staff member
Hello,

Adding one or more RBL checks is easy to do with a qmail server.

My qmail servers are mostly based on the Life With qmail guides.

To add an RBL edit your qmail-smtpd run file.

The path to mine is:

/var/qmail/supervise/qmail-smtpd/run

And the relevant section of my run file after adding an RBL check looks like this:

exec /usr/local/bin/softlimit -m 30000000 \
/usr/local/bin/tcpserver -v -H -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -t 5 \
-b -r b.barracudacentral.org \
-b -r zen.spamhaus.org \
/var/qmail/bin/qmail-smtpd 2>&1

Save the file, restart the qmail-smptd service, and you should be all set!
 
Last edited:

Similar threads

Top