[Rspamd-Users] Methods of ignoring local sent/received system emails
Michael Grimm
trashcan at ellael.org
Tue Jul 2 18:59:36 UTC 2024
Cody Millard via Users <users at lists.rspamd.com> wrote:
> Occasionally, the summary contains information that is being recognized as spam and thus the subject is re-written with ***SPAM***.
>
> How could I configure rspamd so that internal emails from root/cronjob are ignored?
I do use the multimap module for that. Have a look at https://rspamd.com/doc/modules/multimap.html#pre-filter-maps
# local.d/multimap.conf
IP_WHITELIST {
type = "ip";
map = "/tmp/ip.map";
prefilter = true;
action = "accept";
}
Put your IPs used for cronjob mailing into /tmp/ip.map like:
10.10.10.1
10.20.20.0/24
HTH,
Michael
More information about the Users
mailing list