On Wed, Aug 23, 2017 at 02:03:06PM +0200, Stephan Bosch wrote:
Op 22-8-2017 om 13:03 schreef Darac Marjal:
On Tue, Aug 22, 2017 at 01:55:45PM +0300, Aki Tuomi wrote:
On 22.08.2017 13:37, Darac Marjal wrote:
Hello all,
Hopefully this is something fairly simple.
I've been trying to set up the Sieve Antispam system as detailed at https://wiki2.dovecot.org/HowTo/AntispamWithSieve, but at the moment, whenever I change mailboxes I get the following message logged:
Aug 22 09:30:45 remy dovecot: imap(darac@darac.org.uk): Error: imapsieve: mailbox INBOX: Failed to read /shared/imapsieve/script mailbox attribute
and my script does not run when I move files between folders.
My sieve files are chmod'ed 0644 and the shell script used to pipe into spamassassin is 0755, so it *should* work, shouldn't it? Is there something I've missed?
Can you show doveconf -n and your sieve scripts?
Looks like you didn't configure Dovecot for use of the IMAP METADATA extension. That is a prerequisite for providing IMAPSIEVE support to your users.
Excellent. Yes, that seems to have fixed it. Thank you.
The main missing configuration is the mail_attribute_dict setting.
The error message you got was very unhelpful. That is fixed now:
https://github.com/dovecot/pigeonhole/commit/dc20a45fae8c5e402d1493847c38d72...
Regards,
Stephan.
-- For more information, please reread.