rename require_resolvable_fromhost to resolvable_fromhost

This commit is contained in:
Matt Simerson 2012-06-25 03:08:25 -04:00
parent 4d394e847b
commit 2804afeb2d
11 changed files with 15 additions and 25 deletions

12
Changes
View File

@ -17,7 +17,7 @@ Next Version
p0f version 3 supported and new default. see UPGRADING (Matt Simerson) p0f version 3 supported and new default. see UPGRADING (Matt Simerson)
require_resolvable_fromhost ignores DNS search path (i.e. it expects fully resolved domains) (Robert Spier, Charlie Brady) resolvable_fromhost ignores DNS search path (i.e. it expects fully resolved domains) (Robert Spier, Charlie Brady)
new plugin auth_vpopmaild (Robin Bowes) new plugin auth_vpopmaild (Robin Bowes)
@ -44,7 +44,7 @@ Next Version
AUTH PLAIN bug with Alpine (Rick Richard) AUTH PLAIN bug with Alpine (Rick Richard)
require_resolvable_fromhost: Moved DENYSOFT for temp_resolver_failed resolvable_fromhost: Moved DENYSOFT for temp_resolver_failed
to the RCPT TO hook. (Larry Nedry) to the RCPT TO hook. (Larry Nedry)
Note Net::IP dependency (Larry Nedry) Note Net::IP dependency (Larry Nedry)
@ -163,7 +163,7 @@ Next Version
plugins/queue/maildir: multi user / multi domain support added plugins/queue/maildir: multi user / multi domain support added
set the Return-Path header when queuing into maildir mailboxes set the Return-Path header when queuing into maildir mailboxes
plugins/require_resolvable_fromhost: check all MX hosts, not just the first plugins/resolvable_fromhost: check all MX hosts, not just the first
remove outdated virus/check_for_hi_virus plugin remove outdated virus/check_for_hi_virus plugin
@ -191,7 +191,7 @@ Next Version
async: Dereference the DATA deny message before sending it to the client async: Dereference the DATA deny message before sending it to the client
Change async/require_resolvable_fromhost to match the logic of Change async/resolvable_fromhost to match the logic of
the non-async version and other MTAs the non-async version and other MTAs
async: Handle End-of-data marker split across packets async: Handle End-of-data marker split across packets
@ -453,7 +453,7 @@ Next Version
example patterns for badrcptto plugin - Gordon Rowell example patterns for badrcptto plugin - Gordon Rowell
Extend require_resolvable_fromhost to include a configurable list of Extend resolvable_fromhost to include a configurable list of
"impossible" addresses to combat spammer forging. (Hanno Hecker) "impossible" addresses to combat spammer forging. (Hanno Hecker)
Use qmail/control/smtpdgreeting if it exists, otherwise Use qmail/control/smtpdgreeting if it exists, otherwise
@ -570,7 +570,7 @@ Next Version
no longer exists for that sender (great for harassment cases). no longer exists for that sender (great for harassment cases).
(John Peacock) (John Peacock)
check_earlytalker and require_resolvable_fromhost - short circuit test if check_earlytalker and resolvable_fromhost - short circuit test if
whitelistclient is set. (Michael Toren) whitelistclient is set. (Michael Toren)
check_badmailfrom - Do not say why a given message is denied. check_badmailfrom - Do not say why a given message is denied.

View File

@ -15,7 +15,6 @@ config.sample/norelayclients
config.sample/plugins config.sample/plugins
config.sample/rcpthosts config.sample/rcpthosts
config.sample/relayclients config.sample/relayclients
config.sample/require_resolvable_fromhost
config.sample/rhsbl_zones config.sample/rhsbl_zones
config.sample/size_threshold config.sample/size_threshold
config.sample/smtpauth-checkpassword config.sample/smtpauth-checkpassword
@ -64,7 +63,7 @@ plugins/async/check_earlytalker
plugins/async/dns_whitelist_soft plugins/async/dns_whitelist_soft
plugins/async/dnsbl plugins/async/dnsbl
plugins/async/queue/smtp-forward plugins/async/queue/smtp-forward
plugins/async/require_resolvable_fromhost plugins/async/resolvable_fromhost
plugins/async/rhsbl plugins/async/rhsbl
plugins/async/uribl plugins/async/uribl
plugins/auth/auth_checkpassword plugins/auth/auth_checkpassword
@ -122,7 +121,7 @@ plugins/rcpt_map
plugins/rcpt_ok plugins/rcpt_ok
plugins/rcpt_regexp plugins/rcpt_regexp
plugins/relay plugins/relay
plugins/require_resolvable_fromhost plugins/resolvable_fromhost
plugins/resolvable_fromhost plugins/resolvable_fromhost
plugins/rhsbl plugins/rhsbl
plugins/sender_permitted_from plugins/sender_permitted_from
@ -186,7 +185,7 @@ t/plugin_tests/ident/geoip
t/plugin_tests/ident/p0f t/plugin_tests/ident/p0f
t/plugin_tests/rcpt_ok t/plugin_tests/rcpt_ok
t/plugin_tests/relay t/plugin_tests/relay
t/plugin_tests/require_resolvable_fromhost t/plugin_tests/resolvable_fromhost
t/plugin_tests/sender_permitted_from t/plugin_tests/sender_permitted_from
t/plugin_tests/spamassassin t/plugin_tests/spamassassin
t/plugin_tests/virus/clamdscan t/plugin_tests/virus/clamdscan

8
README
View File

@ -123,7 +123,7 @@ interest in various "hooks" provided by the qpsmtpd core engine.
At least one plugin MUST allow or deny the RCPT command to enable At least one plugin MUST allow or deny the RCPT command to enable
receiving mail. The "rcpt_ok" is one basic plugin that does receiving mail. The "rcpt_ok" is one basic plugin that does
this. Other plugins provide extra functionality related to this; for this. Other plugins provide extra functionality related to this; for
example the require_resolvable_fromhost plugin described above. example the resolvable_fromhost plugin described above.
=head1 Configuration files =head1 Configuration files
@ -157,12 +157,6 @@ Normal ip based DNS blocking lists ("RBLs"). For example:
spamsources.fabel.dk spamsources.fabel.dk
=item require_resolvable_fromhost
If this file contains anything but a 0 on the first line, envelope
senders will be checked against DNS. If an A or a MX record can't be
found the mail command will return a soft rejection (450).
=item spool_dir =item spool_dir
If this file contains a directory, it will be the spool directory If this file contains a directory, it will be the spool directory

View File

@ -34,7 +34,7 @@ check_earlytalker
count_unrecognized_commands 4 count_unrecognized_commands 4
relay relay
require_resolvable_fromhost resolvable_fromhost
rhsbl rhsbl
dnsbl dnsbl

View File

@ -1,3 +0,0 @@
1
# use 0 to disable; anything else to enable.

View File

@ -140,9 +140,9 @@ evaluate the efficacy and listing policies of a DNSBL before using it.
See also C<dnsbl_allow> and C<dnsbl_rejectmsg> in the documentation of the See also C<dnsbl_allow> and C<dnsbl_rejectmsg> in the documentation of the
C<dnsbl> plugin C<dnsbl> plugin
=item require_resolvable_fromhost =item resolvable_fromhost
Plugin: F<require_resolvable_fromhost> Plugin: F<resolvable_fromhost>
Reject sender addresses where the MX is unresolvable, i.e. a boolean value Reject sender addresses where the MX is unresolvable, i.e. a boolean value
is the only value in this file. If the MX resolves to something, reject the is the only value in this file. If the MX resolves to something, reject the

View File

@ -235,7 +235,7 @@ Arguments for this hook are
# $sender: an Qpsmtpd::Address object for # $sender: an Qpsmtpd::Address object for
# sender of the message # sender of the message
Example plugins for the C<hook_mail> are F<require_resolvable_fromhost> Example plugins for the C<hook_mail> are F<resolvable_fromhost>
and F<badmailfrom>. and F<badmailfrom>.
=head2 hook_rcpt_pre =head2 hook_rcpt_pre

View File

@ -25,7 +25,7 @@ various I<hooks> provided by the qpsmtpd core engine.
At least one plugin B<must> allow or deny the B<RCPT> command to enable At least one plugin B<must> allow or deny the B<RCPT> command to enable
receiving mail. The F<check_relay> plugin is the standard plugin for this. receiving mail. The F<check_relay> plugin is the standard plugin for this.
Other plugins provide extra functionality related to this; for example the Other plugins provide extra functionality related to this; for example the
F<require_resolvable_fromhost> plugin. F<resolvable_fromhost> plugin.
=head2 Loading Plugins =head2 Loading Plugins