On 2018-09-02 14:48:28 (+0100),
dp.ma...@gmail.com wrote:
> My questions are as below.
> 1) In the History I noticed few transaction alert mails from my bank
> being rejected. How do I make the rspamd learn those as HAM from the
> History (like the feature in mailwatch on Mailscanner/spamassassin)?
> 2) Since mails are not stored locally and getting delivered elsewhere
> - how do I get some mails learned as SPAM?
In both cases, you'll have to feed the mesages to rspamc. You can run
rspamc on remote machines (with authentication).
The easiest way to do this if you use IMAP, is to let Sieve take care of
it. You can tell Sieve to run rspamc when a message moves from Junk to
INBOX (or another mailbox) or in the other around. Instructions for
doing this with Dovecot are here:
https://wiki2.dovecot.org/HowTo/AntispamWithSieve
There is an example for Rspamd on that wiki page.
> It would be a great feature if the mails are cached locally for few
> days and a learn feature (like mailwatch) were offered which would be
> make the spam learning super efficient.
For busy installations, that would require a lot of storage on the
Rspamd servers. There would also be privacy implications if you're
scanning email for others.
(The webui already has privacy implications, caching entire emails in
addition to header header information would not improve matters.)
Philip
--
Philip Paeps
Senior Reality Engineer
Ministry of Information