summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-02-26 14:22:50 +0100
committerErich Eckner <git@eckner.net>2021-02-26 14:22:50 +0100
commit8892b0cf5076dc6498d1226b2565747030dd91cd (patch)
tree2abdecba41b12e5b87b5798c1261a1830376b3f1
parenta72763126c1760e5d9a0db8c805acb24fb93f1f9 (diff)
downloadlogwatch-overrides-8892b0cf5076dc6498d1226b2565747030dd91cd.tar.xz
courier: remove "port=" info
-rw-r--r--courier3
1 files changed, 3 insertions, 0 deletions
diff --git a/courier b/courier
index dc6cc46..730ef63 100644
--- a/courier
+++ b/courier
@@ -442,6 +442,9 @@ while (defined($ThisLine = <STDIN>)) {
$ThisLine = $';
my ( $From ,$To, $Msg ) = (undef, undef, undef);
+ if ( $ThisLine =~ /^port=[^,]*,/ ) {
+ $ThisLine = $';
+ }
if ( $ThisLine =~ /^ident=[^,]*,/ ) {
$ThisLine = $';
}