switching courier/maildrop to dovecot/sieve rules
For performance reasons I just flipped a (Centos 6.4 x64 / ISPConfig 22.214.171.124) server from Courier to Dovecot. All the necessary folder changes were made, along with the server configuration System >> Server Config >> Server >> Mail and selecting Dovecot with Sieve.
Everything is working as expected, all clients and webmail users see all folders in correct places, etc. however users with mail filter rules seem to have a problem.
It seems that the .sieve ruleset initially written is structured for maildrop NOT sieve. Therefore I see parse errors such as:-
line 12: error: unexpected character(s) starting with '`'.
If I DISABLE then ENABLE the rule within ispconfig then it is written in the correct format and mail is filtered correctly.
Is this expected behaviour having to do this when flippng from one to the other?
Example is the following rule. Opened up .sieve file and inspected this which is showing in the logs as failing:-
Thanks for ISPConfig
Seems as if you switched without using the courier to dovecot conversion script. There are several threads here in the orum that describe how to migrate a server from courier to dovecot.
Ok, more research suggests I used a "generic" courier >> dovecot migration script and not one targeted for ISPConfig and thus missed out the mail filters.
I have actually found simply editing the rule and saving (without disabling/re-enabling) will cause it to be rewritten in correct sieve format, so thats something.
Just out of interest I see on the roadmap an item aimed at "resync rules", is there anything already I might be able to run to get all the rules rewritten in one go?
|All times are GMT +2. The time now is 02:44.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.