[Rspamd-Users] Save email address as Spam in RSPAMD
Nihad @ RSPAMD maillist
rspamd-mlist-user-qa at eminovic.ba
Wed Nov 24 08:38:50 UTC 2021
Not sure if that is correct way of doing this, as they can change email and you still get spam. :)
In your place, i would look at symbols and see if there is a symbol you can use to block mails from them, based on content or other variables.
But if you still wish to… you can use below multimap.conf part...
BLACKLIST_SENDER {
type = "from";
filter = "email";
map = "/etc/rspamd/local.d/maps.d/blacklist.sender.map";
score = 12.0;
action = "reject";
message = "Requested action not taken: mailbox unavailable";
regexp = true;
}
and ‘blacklist.sender.map' should contains email address. one per line. it also accepts regex.
this will add symbol BLACKLIST_SENDER and score it 12.0… so if all other symbols fails, this email would have 12.0 spam score, but will also reject email.
if you wish to have another action on message..
you can find more action on https://rspamd.com/doc/modules/multimap.html#map-filters
• accept - accept the message (no action)
• add header or add_header - add a header to the message
• rewrite subject or rewrite_subject - change the subject
• greylist - greylist the message
• reject - drop the message
/Nihad
On 24 Nov 2021, 09.18 +0100, Stefan Harbich <stefan.harbich at harnet.de>, wrote:
> Hi there,
>
> how can I get the following email address
> "support at quadlockcase.com"
> mark as spam?
>
> Greetings from Stefan Harbich
>
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
More information about the Users
mailing list