]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Processing another messages sources 2192/head
authorAndrey Igoshin <ai@vsu.ru>
Fri, 20 Apr 2018 22:16:15 +0000 (01:16 +0300)
committerAndrey Igoshin <ai@vsu.ru>
Fri, 20 Apr 2018 22:16:15 +0000 (01:16 +0300)
utils/cgp_rspamd.pl

index 6851e6dd4583f40f4b21889868b8bb307458a55b..986c0804ede644ee9fe2b87345980e1465225fbc 100644 (file)
@@ -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;
             }