From: Michael Orlitzky Date: Wed, 15 Apr 2020 12:04:02 +0000 (-0400) Subject: Ignore postscreen "BDAT/DATA without valid RCPT" lines. X-Git-Tag: 1.40.04~8 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=postfix-logwatch.git;a=commitdiff_plain;h=891b5ce1780e10cd94d230efacf6e8b5cb33a931 Ignore postscreen "BDAT/DATA without valid RCPT" lines. Postscreen now emits a notice when clients send BDAT or DATA prematurely (after postscreen rejects the recipient): DATA without valid RCPT from [192.168.0.1]:48580 These are merely informational, since the connection was rejected for some other reason, so this commit ignores them. --- diff --git a/postfix-logwatch b/postfix-logwatch index 648ba7a..1b89ad6 100644 --- a/postfix-logwatch +++ b/postfix-logwatch @@ -4359,7 +4359,8 @@ sub postfix_postscreen { $line =~ /discarding EHLO keywords: / or $line =~ /: discard_mask / or $line =~ /: sq=\d+ cq=\d+ event/ or - $line =~ /: replacing command "/ + $line =~ /: replacing command "/ or + $line =~ /^(DATA|BDAT) without valid RCPT/ );