RSPAMD 3.5.2
Using the multimap module I am rejecting certain email addresses via a blacklist:
multimap.conf
blacklisted_addresses {
description = "Blacklisted addresses";
type = "from";
prefilter = true;
filter = "email";
map = "/${LOCAL_CONFDIR}/local.d/blocked_addresses.map";
action = "reject";
symbol = "BLACKLISTED_ADDRESS";
regexp = "false";
}
In blocked_addresses.map
I have a list of email addresses, one per line.
I put my own email address in there to test and this worked without any issue. I can see the blacklist working and I got a rejected email back from the mail server:
Error:
554 5.7.1 Matched map: BLACKLISTED_ADDRESS
However, other email addresses are able to get through. Here is one example where I'm trying to reject marketing emails from Amazon.
Can someone please explain this behaviour? How can I debug this further?