Skip to content

Commit

Permalink
Merge pull request #172 from stephdl/Fix5940
Browse files Browse the repository at this point in the history
Same symbol for domain|sub.domain WL|BL NethServer/dev#5940
  • Loading branch information
stephdl committed Dec 6, 2019
2 parents e23a329 + d19020f commit c52bee8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FROM_SUBDOMAINS_WHITELIST {
action = "accept";
filter = "email:domain";
description = "Accept SMTP sender by exact domain name";
symbol = "FROM_SUBDOMAINS_WHITELIST";
symbol = "FROM_DOMAINS_WHITELIST";
}

#whitelist the domains of senders
Expand Down Expand Up @@ -75,7 +75,7 @@ FROM_SUBDOMAINS_BLACKLIST {
type = "from";
filter = "email:domain";
description = "Reject SMTP sender by exact domain name";
symbol = "FROM_SUBDOMAINS_BLACKLIST";
symbol = "FROM_DOMAINS_BLACKLIST";
}

#blacklist the domains of senders
Expand All @@ -99,7 +99,7 @@ TO_SUBDOMAINS_WHITELIST {
action = "accept";
filter = "email:domain";
description = "Accept SMTP recipient by exact domain name";
symbol = "TO_SUBDOMAINS_WHITELIST";
symbol = "TO_DOMAINS_WHITELIST";
}

#whitelist the domain of recipients
Expand Down
2 changes: 1 addition & 1 deletion filter/etc/rspamd/local.d/force_actions.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ rules {
REJECT_FROM_BLACKLIST {
action = "reject";
message = "Sender email address rejected";
expression = "FROM_BLACKLIST | FROM_SUBDOMAINS_BLACKLIST | FROM_DOMAINS_BLACKLIST";
expression = "FROM_BLACKLIST | FROM_DOMAINS_BLACKLIST";
}
}

0 comments on commit c52bee8

Please sign in to comment.