If async/require_resolvable_fromhost is used, then mail from the null
sender is rejected.
Please check the attached patch: the second part of the plugin will
DECLINE if the first part declined too because of the null sender.
Thank you,
Radu Greab
=== plugins/async/require_resolvable_fromhost
==================================================================
--- plugins/async/require_resolvable_fromhost (revision 111)
+++ plugins/async/require_resolvable_fromhost (local)
@@ -51,7 +51,7 @@
return DECLINED
if ( $self->qp->connection->notes('whitelistclient') );
- if (!$transaction->notes('resolvable_fromhost')) {
+ if ( $sender ne "<>" && !$transaction->notes('resolvable_fromhost') ) {
# default of temp_resolver_failed is DENYSOFT
return Qpsmtpd::DSN->temp_resolver_failed(
"Could not resolve " . $sender->host );