[Rspamd-Users] Rejecting TLDs

Katharina Knuth katharina.knuth at icloud.com
Wed May 3 11:57:40 UTC 2023


Hello, how can I reject different top level domains?

I try that

#multimap.conf

DENY_SENDER_TLD {
       type = "from";
       filter = "email:domain";
       map = "${LOCAL_CONFDIR}/local.d/denytld.map";
       action = "reject";
       regexp = true;
       description = "Blacklist map for SUSPICIOUS_TLD";
       message = "Suspicious TLD rejected";
}

#denytld.map
..
/.*\.jp$/
/.*\.za$/
/.*\.su$/
/.*\.net$/

But unfortunately that doesn’t work.
it would be nice if someone could help me.
Thank you.

Rspamd daemon version 1.8.1 - Debian 10.13

-- 
freundliche Grüße,
Sincerely yours,

Katharina Knuth


More information about the Users mailing list