RBL ZA : MTA
ID #1003
QMail RBL HowTO
For example with Qmail you'll change your qmail-smtpd/run file from
tcpserver 0 smtp /var/qmail/bin/qmail-smtpd
to
tcpserver 0 smtp /usr/local/bin/rblsmtpd -a whitelist.example.com -r
blacklist.example.com -r relays.ordb.org /var/qmail/bin/qmail-smtpd
According to the rblsmtpd man page, the -r and -a switches mean:
| Switch | If successful, do this |
|---|---|
| -r | Quit |
| -a | Don't do other lookups, and continue on |
In this case the steps are:
1. Do a lookup against whitelist.example.com, if sucessful then skip the other lookups and go on to accepting the smtp request
2. Do a lookup against blacklist.example.com, if that's successful then quit out printing a "RBL denied" message to the client.
3. Same as #2 but against relays.ordb.org
Tags: -
Related entries:
Last update: 2007-12-01 14:29
Author: Richard Mayhew
Revision: 1.0
You cannot comment on this entry

