13 lines
737 B
Diff
13 lines
737 B
Diff
diff -up logwatch-7.3.6/scripts/services/postfix.pom logwatch-7.3.6/scripts/services/postfix
|
|
--- logwatch-7.3.6/scripts/services/postfix.pom 2007-05-14 19:27:27.000000000 +0200
|
|
+++ logwatch-7.3.6/scripts/services/postfix 2008-01-28 11:50:51.000000000 +0100
|
|
@@ -2163,7 +2163,7 @@ sub cleanhostreply($ $ $ $) {
|
|
#print "HOSTREPLY: \"$hostreply\"\n";
|
|
if (($host,$r1) = ($hostreply =~ /host (\S+) said: $re_DSN[\- ]"?(.*)"?$/o)) {
|
|
# Strip recipient address from host's reply - we already have it in $recip.
|
|
- $r1 =~ s/[<(]?$recip[>)]?\W*//ig;
|
|
+ $r1 =~ s/[<(]?\Q$recip\E[>)]?\W*//ig;
|
|
|
|
# Strip and capture "in reply to XYZ command" from host's reply
|
|
if ($r1 =~ s/\s*[(]?(in reply to .* command)[)]?//) {
|