Qmail

Qmail

To add Guardian Mail

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

Create a run file using the following sample code.

exec
    /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 <APIKEY>.combined.mail.abusix.zone \
        /var/qmail/bin/qmail-smtpd 2>&1

Replace <APIKEY> with “Your API key” from your account in app.abusix.com.