aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-21 12:21:03 +0100
committerGitHub <noreply@github.com>2018-04-21 12:21:03 +0100
commit5342274afaa2c632564446a4a4731593b911e90d (patch)
tree9a240852aad4ad6d28ce48d8eaca862c64328dd1
parent7be00864abb8fc203b5f5c93386e1d6465524183 (diff)
parent9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72 (diff)
downloadrspamd-5342274afaa2c632564446a4a4731593b911e90d.tar.gz
rspamd-5342274afaa2c632564446a4a4731593b911e90d.zip
Merge pull request #2192 from andy-igoshin/master
[Minor] Processing another messages sources
-rw-r--r--utils/cgp_rspamd.pl2
1 files changed, 1 insertions, 1 deletions
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;
}