modoboa-amavis
modoboa-amavis copied to clipboard
A way to bulk-learn spam
I am using Modoboa as a UI to a filtering mail server, where the final delivery is made on another server. I would like to have a way to submit spam email, ideally via a web interface API call, to mark it as spam.
I can train people to move things into a specific imap folder, and run a script to upload those spam messages periodically, to properly train their filter.
Also, bootstrapping may be nice -- I have the last 40,000 spam messages, for instance.
@skandragon Can you describe the use case of this API a bit more please?
The use case is for people to move things to a "this is spam" folder, and have some system process take them and submit them. This way, people do not need to go to the UI to provide feedback on spam (and ham most likely) to get the benefits of a well trained bayesian filter.
If you're using dovecot, I think you can already do that using dovecot-antispam plugin and spamc (the spamassassin client).
Otherwise, an API could indeed be useful.