Browse Source

[Minor] Support multiple recipients in CGP module

tags/1.7.4
Vsevolod Stakhov 6 years ago
parent
commit
833b11676e
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      utils/cgp_rspamd.pl

+ 1
- 3
utils/cgp_rspamd.pl View File

@@ -205,9 +205,7 @@ sub rspamd_scan {
if ( scalar(@rcpts) > 0 ) {

# XXX: Anyevent cannot parse headers with multiple values
foreach (@rcpts) {
$headers->{Rcpt} = $_;
}
$headers->{Rcpt} = join(',', @rcpts);
}
if ($ip) {
$headers->{IP} = $ip;

Loading…
Cancel
Save