aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAndrey Igoshin <ai@vsu.ru>2018-04-21 01:16:15 +0300
committerAndrey Igoshin <ai@vsu.ru>2018-04-21 01:16:15 +0300
commit9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72 (patch)
tree420592df4eb3b57b3850508fb4b7314144481ab7 /utils
parent7f0966b5fbb77ed821a302b1f467c5d6d864a76e (diff)
downloadrspamd-9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72.tar.gz
rspamd-9a07f09cd2b4be173db72fcf6fdfe9c70cf41e72.zip
[Minor] Processing another messages sources
Diffstat (limited to 'utils')
-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;
}