How to disable custom rule for authenticated users? #4810
-
I want to replace the subject for e-mail that contains unmatched links (phishing) and possible spoofing. To do that I created a custom rules in
I discovered that all the outgoing e-mails (authenticated users) are filtered by rspamd. This is fine to prevent spam on a compromised system/account. But I want to disable my custom rules from authenticated users. I can do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Symbols can be conditionally disabled using settings module. # local.d/settings.conf
authed_users {
authenticated = yes;
apply {
groups_disabled = ["force_actions"]; # this group exists as of Rspamd 3.8.x
# symbols_disabled = ["FORCE_ACTION_PHISHING", "FORCE_ACTION_SPOOFING"]; # pre Rspamd 3.8.x
}
} |
Beta Was this translation helpful? Give feedback.
-
It works. Thank you. But I would like to have more control. Instead disabling all the actions, would be nice to disable just a custom rule or rules. By the way, why this option is not documented? |
Beta Was this translation helpful? Give feedback.
-
See
This is a name for the group, it can be anything |
Beta Was this translation helpful? Give feedback.
Symbols can be conditionally disabled using settings module.