qmail_deliverable: remove fail prefix from SMTP er

prefix should only be logged, not emitted during SMTP
This commit is contained in:
Matt Simerson 2013-03-11 00:25:28 -04:00
parent b37a0462ae
commit 30b7662a63

View File

@ -182,7 +182,7 @@ sub rcpt_handler {
$self->log(LOGINFO, "pass, bouncesaying with program"), $k++ if $rv == 0x13; $self->log(LOGINFO, "pass, bouncesaying with program"), $k++ if $rv == 0x13;
if ( $rv == 0x14 ) { if ( $rv == 0x14 ) {
my $s = $transaction->sender->address; my $s = $transaction->sender->address;
return (DENY, "fail, mailing lists do not accept null senders") return (DENY, "mailing lists do not accept null senders")
if ( ! $s || $s eq '<>'); if ( ! $s || $s eq '<>');
$self->log(LOGINFO, "pass, ezmlm list"); $k++; $self->log(LOGINFO, "pass, ezmlm list"); $k++;
}; };