~control/rbllist
From Qmail-LDAP Wiki
NAME
rbllist - Contains a list of RBL's to check for the given senders IP addressess.
DESCRIPTION
This control file consists of four tab or space separated fields:
- basedomain: base domain address to lookup (e.g. relays.ordb.org)
- action: one of addheader or reject. "addheader" will just create a X-RBL: header whereas "reject" will reject the smtp connection instantly with a 553 error.
- matchon: any or IP-Address, if a IP-Address is specified the action is only taken if the returned address form basedomain is equal to IP-Address. With any all returned IP-Address will match.
- message: message to be included in X-RBL: headers and 553 errors.
Default: none
Example:# baseaddress action matchon Message #========================================================================== sbl.spamhaus.org reject 127.0.0.2 See http://www.spamhaus.org/SBL relays.ordb.org addheader 127.0.0.2 See http://www.ordb.org/faq/ list.dsbl.org addheader 127.0.0.2 See http://dsbl.org/main bl.spamcop.net addheader 127.0.0.2 See http://spamcop.net/ relays.ordb.org reject any See http://ordb.org spamguard.leadmon.net addheader 127.0.0.2 Address is a dialup address.
Notes:
- Multiline.
- To activate RBL checks you have to set RBL in qmail-smtpd's environment (with tcpserver).
- See this website for more information on available RBLs: http://www.declude.com/JunkMail/Support/ip4r.htm
- The environment variable RBLONLYHEADER overrides any rejects and only adds headers. This can be set by ip-range with tcpserver.
USED BY
qmail-smtpd
SEE ALSO
feat-environ(5), qmail-smtpd
