> *What I want to happen:* ham goes to Inbox, spam goes into Junk.
> Preferably all should get a header to report spamminess statistics.
> Eventually I want to discard/reject based on spamminess but to start I
> want to be able to look for false positives.
>
> *What has happened:* my spam count has gone from about 1000/day to
> something more like 20/day. Which is wonderful except that the spam
> messages are apparently all being rejected. None are going into my Junk
> mailbox. Ham messages /are/ getting through.
>
> I've been looking at the logs (in /var/log/rspamd/rspamd.log,
> /var/log/mail.err, /var/log/
mail.info, /var/log/mail.log,
> /var/log/mail.warn, and /var/log/syslog) to try to trace what's
> happening. It appears to me that spam is being discarded prior to
> getting to Dovecot.
>
> from /var/log/syslog
>
> postfix/cleanup[7322]: 3B68E3FEDA: milter-reject: END-OF-MESSAGE from
> unknown[216.105.171.79]: 5.7.1 Spam message rejected;
>
> From /etc/postfix/
main.cf:
>
> smtpd_milters = inet:localhost:11332
> milter_protocol = 6
> milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
> # skip mail without checks if something goes wrong
> milter_default_action = accept
>
> That seems like the most likely place this is going askew so I won't go
> into anything further. I do have other error messages (regarding
> report-ham) but that seems like a separate topic for downstream. (On the
> other hand, maybe I'm reading too much into that "milter-reject" message
> and my problem is downstream).
>
> Any suggestions of where else I ought to be looking are appreciated, as
> well as any pointers of misunderstandings I've made obvious.
>
> Thank you for your time,
>
Please post some Rspamd logs.
If you do not want emails that are considered spam with a score above 15
(default) to be deleted but moved to spam, you can create or edit the
/etc/rspamd/override.d/metrics.conf file as following:
actions {
add_header = 6;
greylist = 4;
}