1,298 bytes added
, 12:30, 17 July 2017
<span id="_top">[[Qpsmtpd#Plugins]]</span>
= [[#___top|NAME]] =
check_goodrcptto
= [[#___top|DESCRIPTION]] =
This plugin denies all recipients except those in the goodrcptto config file (i.e. like badrcptto, but whitelisting). It supports recipient username extension stripping, and both domain ('@domain.com') and username (bare 'postmaster') wildcard entries in the config file.
Useful where something like check_delivery is overkill or not an option (e.g. relays, bastion hosts).
= [[#___top|CONFIG]] =
The following parameters can be passed to check_goodrcptto:
; extn <char>
: If set, check_goodrcptto does its checks using both the username as given and the username stripped of any extensions beginning with <char>.
; deny_note <name>
: If set, check_goodrcptto will set a connection note with the given name when denying a recipient. If <name> is of the form 'name=value', then the specified value will be used instead of the default '1'. If the connection note already exists, the value will be incremented (if numeric), instead of set.
<!-- Generated Mon Jul 17 07:30:07 EDT 2017 using
perldoc -T -ohtml /usr/share/qpsmtpd/plugins/check_goodrcptto |pandoc -f html -t mediawiki |sed 1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span> |sed -e s#</d.>##
-->