[Logwatch-Devel] [PATCH] sendmail: did not issue MAIL/EXPN...

Marcus Better marcus at better.se
Tue Sep 5 01:48:56 MST 2006


This message may be issued during connection to MSP-v4 also.

Note that the names of the daemons are configurable and it may be better not
to match the specific MSP/MTA name at all.

--- sendmail    2006-09-05 10:45:42.000000000 +0200
+++ sendmail    2006-09-05 10:45:44.000000000 +0200
@@ -774,7 +774,7 @@
    } elsif ( ( $User, $Host ) = $ThisLine =~ /^invalid domain name \((.*)\)
from (.*)/ ) {
       $DomainErrors{$Host}{$User . " (invalid domain name)"}++;
    # file=srvrsmtp.c, LogLevel>5, LOG_INFO
-   } elsif ( ( $Host ) = ($ThisLine =~ /(.*) (\(may be forged\) )?did not
issue MAIL\/EXPN\/VRFY\/ETRN during connection to ((?:TLS)?M[TS]A
Daemon0)/) ) {
+   } elsif ( ( $Host ) = ($ThisLine =~ /(.*) (\(may be forged\) )?did not
issue MAIL\/EXPN\/VRFY\/ETRN during connection to ((?:TLS)?M[TS][AP]
Daemon0)/) ) {
       # we test if they previously sent junk, because the connection is
expected to fail
       if ($CommandUnrecognized{$QueueID}) {
          $CommandUnrecognized{$QueueID} =
$CommandUnrecognized{$QueueID} . "    ... and then exited without
communicating\n";




More information about the Logwatch-Devel mailing list