[Rspamd-Users] How to configure rspamd to never reject email?
list+rspamd at gcore.biz
Sat Mar 28 11:18:36 UTC 2020
> I'm migrating from dspam (which is no longer maintained) to rspamd, and I'm running into a few issues.
> My setup is a private mail server running dovecot and postfix. Unlike most public mail servers, it does not receive mail directly from the internet. Most email is retrieved with fetchmail from various external mailboxes. Thus, features like rejecting mail or greylisting makes no sense, because the mail has already been accepted elsewhere. How can I disable them? Basically I want to configure rspamd to only add headers and never reject any email. The headers are needed to move spam to the junk folder with a sieve script.
Try the following: create or edit
reject = 99; # Reject when reaching this score
greylist = 98; # Apply greylisting when reaching this score
add_header = 5.1; # Add header when reaching this score
rewrite_subject = 5.2; # in case you want this
subject = "[SPAM] %s"; # ...
Then restart rspamd.
Watch your logs and check the spam scores. I've seen mails with 50 points but so far none over 90.
More information about the Users