This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Minor] Support multiple recipients in CGP module
tags/1.7.4
Vsevolod Stakhov
6 years ago
parent
7d2447448c
commit
833b11676e
1 changed files
with
1 additions
and
3 deletions
Split View
Show Diff Stats
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;
Write
Preview
Loading…
Cancel
Save