diff options
author | Erich Eckner <git@eckner.net> | 2021-02-26 14:22:50 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-02-26 14:22:50 +0100 |
commit | 8892b0cf5076dc6498d1226b2565747030dd91cd (patch) | |
tree | 2abdecba41b12e5b87b5798c1261a1830376b3f1 | |
parent | a72763126c1760e5d9a0db8c805acb24fb93f1f9 (diff) | |
download | logwatch-overrides-8892b0cf5076dc6498d1226b2565747030dd91cd.tar.xz |
courier: remove "port=" info
-rw-r--r-- | courier | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -442,6 +442,9 @@ while (defined($ThisLine = <STDIN>)) { $ThisLine = $'; my ( $From ,$To, $Msg ) = (undef, undef, undef); + if ( $ThisLine =~ /^port=[^,]*,/ ) { + $ThisLine = $'; + } if ( $ThisLine =~ /^ident=[^,]*,/ ) { $ThisLine = $'; } |