Difference between revisions of "Qpsmtpd:check goodrcptto"

From SME Server
Jump to navigationJump to search
(perldoc output)
 
(Add category qpsmtpd)
 
Line 22: Line 22:
 
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.>##
 
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.>##
 
-->
 
-->
 +
----
 +
[[Category:Qpsmtpd|check_goodrcptto]]

Latest revision as of 11:39, 18 July 2017

Qpsmtpd#Plugins

NAME

check_goodrcptto

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).

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.