[Rspamd-Users] Whitelisting sender domains
jens.friedrichs at uni-leipzig.de
Tue Apr 27 07:27:55 UTC 2021
I would suggest not to use -1000 score points to whitelist.
All mails would be learned as ham.
type = "from";
filter = "email:domain"
map = "file://$LOCAL_CONFDIR/maps.d/sender_whitelist.map";
action = "no_action";
expression = "( SENDER_ADDRESS_WHITELIST | SENDER_DOMAIN_WHITELIST )";
This would whitelist all mails from the domains in the list. And not get learned as ham.
And to be safe from possible virus attacks:
action = "reject";
message = "INSERT YOUR TEXT HERE";
expression = GROUP_VIRUS_REJECT
require_action = ["no action", "greylist", "reject", "add header", "rewrite subject"]; < makes the force_action a post_filter and overwrites the pre_filter (WHITELIST_SENDER_SPAM)
But all in all I would not suggest to use whitelists. It is always a better idea to solve the problem 😊
Von: Users <users-bounces at lists.rspamd.com> Im Auftrag von FredZ via Users
Gesendet: Dienstag, 27. April 2021 08:44
An: User questions <users at lists.rspamd.com>
Cc: fred.zinsli at shooter.co.nz
Betreff: [Extern] [Rspamd-Users] Whitelisting sender domains
Firstly: I have little to no working knowledge of RSPAMD. So please be patient with me.
I am attempting to whitelist sender domains.
What I have to date.
type = "from";
filter = "email:domain";
map = "/etc/rspamd/local.d/whitelist.sender.domain.map";
score = -1000.0
Obviously whitelisteddomain.tld and whitelisted.domaon.tld are the actual domains I want whitelisted.
However this doesn't seem to be working as emails from the domains in the list are still being marked as spam.
rspamd ver = 2.7
OS = Debian Buster
Your comments would be most helpful.
Users mailing list
Users at lists.rspamd.com
More information about the Users