From: Andrey Igoshin Date: Fri, 20 Apr 2018 22:16:15 +0000 (+0300) Subject: [Minor] Processing another messages sources X-Git-Tag: 1.7.4~55^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72;p=rspamd.git [Minor] Processing another messages sources --- diff --git a/utils/cgp_rspamd.pl b/utils/cgp_rspamd.pl index 6851e6dd4..986c0804e 100644 --- a/utils/cgp_rspamd.pl +++ b/utils/cgp_rspamd.pl @@ -201,7 +201,7 @@ sub rspamd_scan { elsif ( $elt =~ /^R\s[^<]*(<[^>]*>).*$/ ) { push @rcpts, $1; } - elsif ( $elt =~ /^S (?:<([^>]+)>)?\s*S.*\[(.+)\]/ ) { + elsif ( $elt =~ /^S (?:<([^>]+)> )?(?:SMTP|HTTPU?|AIRSYNC|XIMSS) \[([0-9a-f.:]+)\]/ ) { if ($1) { $user = $1; }