Glad I poked around on the list today!
Thanks to all for the suggestions about integration with dspam.
I'll definitely have to look into this, as I rely on moving messages to a specific folder with various IMAP clients to retrain dspam false positives and negatives.
A quick pair of questions:
Does Dovecot support the IMAP "MOVE" command at this time?
If so, what is the syntax for "COPY or MOVE" for the _causes variables?
I did see messages from 2011 discussing it, but nothing since.
While the script looks like it could be modified for use with dspam (with the great suggestions from others on the list), it has the same problem as "antispam" with bulk moves being serialized and tying of the client until they complete. I'll probably have to break down and look into using FreeBSD's auditd to trigger the actions and then de-queue the successfully processed messages.
Sieve doesn't look like it can handle asynchronous processing, but I'd certainly be interested if I'm missing something there. One less thing to configure and maintain!
Jeff
On 2/12/17 5:52 AM, Aki Tuomi wrote:
On February 10, 2017 at 10:06 AM Aki Tuomi aki.tuomi@dovecot.fi wrote:
Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome.
https://wiki.dovecot.org/HowTo/AntispamWithSieve
Aki Tuomi Dovecot oy Hi everyone,
thank you all for your feedback, questions and comments. We have upgraded the documentation based on this, including information how to exclude Trash folder in ham script.
Aki