NAME
check_qmail_deliverable - Check that the recipient address is deliverable
DESCRIPTION
See the description of Qmail::Deliverable.
This qpsmtpd plugin uses the client/server interface and needs a running qmail-deliverabled. If no connection can be made, deliverability is simply assumed.
The modules LWP (libwww-perl) and HTTP::Daemon, available from CPAN, are required for qmail-deliverabled and Qmail::Deliverable::Client.
CONFIGURATION
- server ip:port
-
IP address and port (both!) of the qmail-deliverabled server. If none is specified, the default (127.0.0.1:8998) is used.
- server smtproutes:ip:port
-
If the IP address is prepended by "smtproutes:", the IP address is taken from the smtproutes file, iff the recipient's domain is listed in /var/qmail/control/smtproutes (wildcards are supported) and the configured MX is a square bracketed IP address.
Example:
check_qmail_deliverable server smtproutes:127.0.0.1:8998
Use "smtproutes:8998" (no second colon) to simply skip the deliverability check for domains not listed in smtproutes.
CAVEATS
The smtproutes magic does support wildcards, but not overriding with a non-numeric IP or empty MX definition.
This means that:
.example.com:[10.11.12.13]
foo.example.com:bar.example.org
Will query 10.11.12.13 for anything@foo.example.com.
LEGAL
This software is released into the public domain, and does not come with warranty or guarantee of any kind. Use it at your own risk.
AUTHOR
Juerd <#####@juerd.nl>
SEE ALSO
Qmail::Deliverable, qmail-deliverabled, Qmail::Deliverable::Client