Skip to content

Commit

Permalink
better Mailup check
Browse files Browse the repository at this point in the history
  • Loading branch information
bigio committed May 1, 2021
1 parent 521393d commit 5681cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Esp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ sub esp_mailup_check {

my $rulename = $pms->get_current_eval_rule_name();

# All Mailup emails have the X-CSA-Complaints header set to whitelist[email protected]
# All Mailup emails have the X-CSA-Complaints header set to *[email protected]
my $xcsa = $pms->get("X-CSA-Complaints", undef);
if((not defined $xcsa) or ($xcsa !~ /complaints\@eco\.de/)) {
if((not defined $xcsa) or ($xcsa !~ /\-complaints\@eco\.de/)) {
return;
}
# All Mailup emails have the X-Abuse header that must match
Expand Down

0 comments on commit 5681cd8

Please sign in to comment.