[Rspamd-Users] settings.conf sections and rcpt/from
r.seffner at seffner-schlesier.de
Thu Dec 9 14:36:26 UTC 2021
I have to reopen this thread ;-(
> Set a priority for your "match recipient" rule (ie. section1) and set a
> higher priority for the rules with special handling (section2).
Now there is:
/etc/rspamd/settings.conf with inlude-merge /etc/rspamd/local.d/settings.conf
id = "someID";
priority = high;
from = "@domain.tld";
rcpt = "@domain.tld";
want_spam = yes;
and include-merge /etc/rspamd/local.d/more_settings.conf
id = "someotherID";
priority = low;
rcpt = "user at domain.tld";
add_header = 8.0;
rewrite_subject = 8.0;
I would like that mail form somebody @domain.tld to somebody @domain.tld get no scores, no subject rewriting BUT mail from somebody at anyotherdomain.tld to somebody @domain.tld will be scored an subject rewritten from 8.0.
What happens is that mail form somebody at domain.tld to user at domain.tld is scored and subject is rewritten with scores from 8.0.
What did I understand the wrong way? How to solve my task?
Mit freundlichen Grüßen
More information about the Users