From 9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72 Mon Sep 17 00:00:00 2001 From: Andrey Igoshin Date: Sat, 21 Apr 2018 01:16:15 +0300 Subject: [Minor] Processing another messages sources --- utils/cgp_rspamd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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; } -- cgit v1.2.3