Best practice for getting sieve scripts replicated?
Stephan Bosch
stephan at rename-it.nl
Fri May 15 11:03:00 UTC 2015
On 5/14/2015 9:32 PM, Michael Grimm wrote:
> On 14.05.2015, at 19:21, Stephan Bosch <stephan at rename-it.nl> wrote:
> On 5/14/2015 2:46 PM, Michael Grimm wrote:
>>> I do have replication between two servers running, and mail is replicated without any issues.
>>> I do have sieve running at both servers without any issues.
>>>
>>> But replication of sieve scripts doesn't work as "expected":
>>>
>>> Whenever I do modify my default script und upload it via "doveadm sieve put -u abc -a default < default" it becomes uploaded to the home directory of user abc as expected, but it will not be replicated to the partner server.
>>>
>>> Whenever I do deactivate the default script by "doveadm sieve deactivate -u abc", followed by a deletion "doveadm sieve delete -u abc default" plus subsequent upload of the script "doveadm sieve put -u abc -a default < default", replication takes place instantly.
>>>
>>> Questions: Is a modification of a sieve script supposed to be triggered the latter way? Or am I doing it the wrong way?
>>
>> That smells like a bug. What is your configuration (dovecot -n)? This
>> should also show the versions of the packages you have installed.
> Sorry, I should thought about providing more before :-( Sorry, again.
>
> Feel free to ask for potential tests from my site.
I had to setup my own replication (I usually only test with manual dsync
invocation). Still, I cannot reproduce your problem: replication occurs
instantly. Our setups aren't very different, with the exception that I
installed two Dovecot instances on one server with replication
configured between them.
Do your logs show anything strange? What do your logs show when you
enable mail_debug=yes?
What do the doveadm commands show when the -D option is added?
Is your configuration completely equal at both servers (except of course
for the configured replication peer)?
Regards,
Stephan.
More information about the dovecot
mailing list