Hi Christian,
> I want to scan all messages received by Getmail. What's the preferred way
> to achieve <
http://www.dict.cc/englisch-deutsch/achieve.html> this?
Rspamd works best on the MX. It could work with downloaded mail but
would require tuning (stuff like SPF may not work correctly & is best
deactivated).
> I could reinject the messages with sendmail to Postfix and include rmilter.
You could use rspamc in LDA mode. Or MTA integration is another fine
possibility (Rmilter works with Sendmail too).
> But local mails are whitelisted by default and I couldn't use the reject
> feature anymore.
You could set `spamd { whitelist = ; }` in `rmilter.conf.local` to see
that mail from the localhost is scanned. Rspamd disables some checks
(SPF among others) for the localhost, this is fine.
You should *not* reject downloaded mail as you will generate backscatter.
Best,
-AL.