https://bugs.contribs.org/show_bug.cgi?id=11170
--- Comment #1 from John Crisp <[email protected]> ---
This error is due to missing code in dovecot.conf
It seems we are on Pigeonhole 0.4
After a lot of reading around I found these pages:
https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe
Replaced by:
https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms
https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/
https://doc.dovecot.org/configuration_manual/spam_reporting/
So I added this as a test (after about 350 different attempts)
--- dovecot.conf.old 2020-11-12 15:43:53.329017726 +0100
+++ dovecot.conf 2020-11-12 16:23:03.569117808 +0100
@@ -134,3 +134,27 @@
mail_plugins = $mail_plugins sieve
}
+
+protocol imap {
+ mail_plugins = $mail_plugins imap_sieve
+}
+
+plugin {
+ sieve_plugins = sieve_imapsieve sieve_extprograms
+
+ # From elsewhere to Spam folder
+ imapsieve_mailbox1_name = Spam
+ imapsieve_mailbox1_causes = COPY
+ imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
+
+ # From Spam folder to elsewhere
+ imapsieve_mailbox2_name = *
+ imapsieve_mailbox2_from = Spam
+ imapsieve_mailbox2_causes = COPY
+ imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
+
+ sieve_pipe_bin_dir = /usr/lib/dovecot/sieve
+
+ sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
+}
+
service dovecot restart
Then run this - no more errors.
/usr/bin/sievec /usr/libexec/dovecot/sieve/
But this is probably not correct as I think we should be using the scripts we
already have here:
/usr/libexec/dovecot/sieve/report-ham.sieve
/usr/libexec/dovecot/sieve/report-spam.sieve
So I then modified the above and that seems to start without errors.
No idea how to test it from here - I know there is sieve-test but beyond that I
have absolutely no idea.
Be grateful for some assistance.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/