1,669 bytes added
, 11:48, 18 July 2017
<span id="_top">[[Qpsmtpd#Plugins]]</span>
= [[#___top|SYNOPSIS]] =
deny connections to recipients in the ''badrcptto'' file
like badmailfrom, but for recipient address rather than sender
= [[#___top|CONFIG]] =
Recipients are matched against entries in ''config/badrcptto''. Entries can be a complete email address, a host entry that starts with an @ symbol, or a regular expression. For regexp pattern matches, see PATTERNS.
= [[#___top|CONFIG FILES]] =
== [[#___top|more_badrcptto]] ==
Optional additional file to look for badrcptto in ''config''. Same syntax as the default badrcptto
= [[#___top|PATTERNS]] =
This allows special patterns to be denied (e.g. percent hack, bangs, double ats).
Patterns are stored in the format pattern\sresponse, where pattern is a Perl pattern expression. Don't forget to anchor the pattern if you want to restrict it from matching anywhere in the string.
qpsmtpd already ensures that the address contains an @, with something to the left and right of the @.
= [[#___top|AUTHOR]] =
2002 - original badrcptto plugin - apparently Jim Winstead https://github.com/smtpd/qpsmtpd/commits/master/plugins/check_badrcptto
2005 - pattern feature, (c) Gordon Rowell <gordonr@gormand.com.au>
2012 - merged the two, refactored, added tests - Matt Simerson
= [[#___top|LICENSE]] =
This software is free software and may be distributed under the same terms as qpsmtpd itself.
<!-- Generated Tue Jul 18 06:48:16 EDT 2017 using
perldoc -T -ohtml /usr/share/qpsmtpd/plugins/badrcptto |pandoc -f html -t mediawiki |sed 1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span> |sed -e s#</d.>##
-->
----
[[Category:Qpsmtpd|badrcptto]]