qpsmtpd is a pluggable and highly configurable SMTP daemon used with the qmail MTA, or as an SMTP proxy in front of other MTAs (e.g. sendmail, postfix, etc.)
The following are qpsmtpd plugins written by Gavin Carr of Open Fusion:
# both the following plugins update a spam_score transaction note uribl action note:spam_score=3.5 spamassassin_spamc spam_report always # handler rejects the mail if spam_score >= 15, and redirects if spam_score >= 5 handler note spam_score reject_threshold 15 redirect_threshold 5 redirect_recipient spam
per_user_config - a config plugin allowing per-recipient or per-sender config files to be defined in subdirectories of the standard qpsmtpd/config directory. Requires a "qpsmtpd 0.28 patch":qpsmtpd-per-user-config-0.28.patch against Qpsmtpd 0.28, or a "qpsmtpd 0.27.1 patch":qpsmtpd-per-user-config-0.27.patch against Qpsmtpd 0.27.1.
denysoft_multi_rcpt - a plugin for handling inconsistencies between multiple recipients - issues a soft deny for all recipients after the first unless they match (configurably) full email address, email domain, or config.
denysoft_greylist - a plugin implementing Evan Harris' greylisting algorithm, where unrecognised new connections are temporarily denied for some period of time in an attempt to foil spammers using fire-and-forget mail software, http proxies, etc. [ Update: now included in stock qpsmtpd 0.29 as the 'greylisting' plugin ]
whitelist_soft - a general whitelisting plugin allowing hosts, senders, and/or recipients to be exempted from the processing of later plugins. A more conservative variant of Devin Carraway's original 'whitelist' plugin.
autowhitelist_relayrcpt - a plugin to implement automatic whitelisting of RELAYCLIENT recipients by adding them (if necessary) to the 'whitelistsenders' config file. Only really useful in small environments with few RELAYCLIENT users.
bcc - a plugin to forward (i.e. blind carbon copy) a copy of incoming/outgoing/all mail to a specified address, with support for exceptions.
check_goodrcptto - a plugin that accepts mail only to recipients in the 'goodrcptto' config file (i.e. like badrcptto, but whitelisting), with simple wildcard support.
exe_filter - a plugin to block executable (and other kinds of) attachments by matching the first body line of each MIME part against a set of known signatures. Inspired by Russ Nelson's viruscan patch for qmail-smtpd. (Signature files: "signatures_exe":signatures_exe, "signatures_zip":signatures_zip)
Other sources of qpsmtpd plugins: