[Logwatch-Devel] [PATCH] sendmail: domain does not resolve

Marcus Better marcus at better.se
Tue Sep 5 01:51:23 MST 2006


This may be generated by check_rcpt as well.

--- sendmail
+++ sendmail    2006-09-05 10:50:15.000000000 +0200
@@ -680,7 +680,7 @@
    } elsif ( ($User) = ($ThisLine =~ /^--- 553 5(?:\.\d){2} (.*)\.\.\.
Hostname required$/) ) {
       $DomainErrors{$Msgs{$QueueID}{"Relay"}}{$User . " (missing)"}++;
    # file: sendmail.cf
-   } elsif ( ($User, $RelayHost) = ($ThisLine =~ /^ruleset=check_mail,
arg1=(.*), relay=(.*), reject=451\s*[\d.]*\s*Domain of sender address .*
does not resolve/) ) {
+   } elsif ( ($User, $RelayHost) = ($ThisLine =~ /^ruleset=check_(mail
rcpt), arg1=(.*), relay=(.*), reject=451\s*[\d.]*\s*Domain of sender
address .* does not resolve/) ) {
    # I don't think we should include this, because it is a temporary error
    #   $DomainErrors{$RelayHost}{$User . ": (does not resolve)"}++;
    # file: sendmail.cf




More information about the Logwatch-Devel mailing list