How to configure an RBL in qmail

EQ Admin

EQ Forum Admin
Staff member

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:


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 -r \
/var/qmail/bin/qmail-smtpd 2>&1

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