NethServer Version: 7.6.1810
I’ve got difficulties coming with spam messages coming from several similar domains like
I’ve tried to learn the Rspamd with these messages, but probably due to the changing number in the domain name these messages are still passing through. So I’ve started to learn myself, how to configure Rspamd manually with the intention to blacklist domains with wildcards like
But I haven’t got too far, because when I started the testing with just adding a normal (non-wildcard) domain of an public freemail provider (atlas.cz) to the blacklist
updated the filter with
and sent a mail from that domain, the mail went through.
X-Spamd-Result: default: False [1.46 / 20.00];
IP_SCORE(1.16)[asn: 6830(4.81), country: AT(0.96)];
RECEIVED_SPAMHAUS_PBL(0.00)[126.96.36.199.zen.spamhaus.org : 127.0.0.11];
RCVD_IN_DNSWL_LOW(-0.10)[188.8.131.52.list.dnswl.org : 127.0.5.1];
ASN(0.00)[asn:6830, ipnet:184.108.40.206/17, country:AT];
So my questions are:
- how to configure rspamd to respect the blacklist /etc/rspamd/blacklist_from_domains.map
- how to add domains with wildcards to the blacklist, if possible
I would appreciate any advice on that.
Thank you very much.