[Dovecot] Failing: doveadm sync <--remote host--> dsync mirror

Timo Sirainen tss at iki.fi
Sun Mar 4 13:35:04 EET 2012


On 4.3.2012, at 13.31, Michael Grimm wrote:

> That doesn't work in my ssh setup, because I'm using a different ssh port and thus have to run:
> 
> 	ssh -p 1234 vmail at remote-host.tld
> 
> Sorry, I should have mentioned that before.
> 
> In your other mail about 'dsync replication' you refer to a config option:
> #dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -l%{lock_timeout} -n%{namespace}
> 
> Would that allow for ssh options to be set?

Yes.

>> doveadm sync -f -u test remote:vmail at host
> 
> See above regarding ssh options.

So this works by changing the dsync_remote_cmd.

>>> Now, I will stick to 2.1.x because syncing is done without loss of mails (after 10 days of testing).
>>> The only inconvenience remaining is reappearing of deleted and "undeletable" mail. But it seems that 
>>> I'm the only one reporting that. How could I help to debug this issue?
>> 
>> Is anything else besides Dovecot modifying the mailboxes? Especially deleting mails? No cronjobs or
>> other scripts that "rm" mails?
> 
> No. Only dovecot is allowed to deliver mail (lmtp). Sieve's 'copy:' and 'fileinto' are used as well.
> But no scripts or such are used to remove mail. I'm running mdbox only. 

By "undeletable" do you mean you have mails that always come back after expunging them? I'd like to get dovecot.index and dovecot.index.log files from those mailboxes from both servers, they don't contain any sensitive information.


More information about the dovecot mailing list