Configuring Qmail with Abusix Mail Intelligence is simple!


Qmail is configured by editing a configuration file, usually /var/qmail/supervise/qmail-smtpd/run, and creating a run file.


Qmail is an SMTP server that runs under tcpserver, which is modular in flow and operates in an "If This Then That" model and the current version of Qmail's rblsmtpd does not allow for bitmasking.

The way that Qmail will be configured for Abusix Mail Intelligence is like any other blacklist you would configure for the system.

Use the Abusix Mail Intelligence "combined" Zone and check your messages prior to qmail; only handing off the mail that does not hit a blacklist.


To add or configure Abusix Mail Intelligence.

Edit your /var/qmail/supervise/qmail-smtpd/run file, adding "-r" or "-a" to the configuration file, so that rblsmtpd runs prior to Qmail.

Create a run file
Create a run file using the following sample code and replacing <APIKEY> with your key retrieved from The Abusix Intelligence Dashboard

/usr/local/bin/softlimit -m 30000000 \
/usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c MAX-SMTP-CONNS -u QMAIL-USER -g QMAIL-GROUP 0 smtp \
/usr/local/bin/rblsmtpd -t 5 \
-b -r \
/var/qmail/bin/qmail-smtpd 2>&1

Learn More

Did this answer your question?