courier to dovecot migration

Alex La al-dovecot at none.at
Tue Oct 1 10:46:40 EEST 2019


Hi.

Am 30.09.19 um 13:07 schrieb tovises via dovecot:
>>
>> On 30.9.2019 13.40, tovises wrote:
>>>>
>>>>> On 30 Sep 2019, at 13.13, tovises via dovecot <dovecot at dovecot.org>
>>>>> wrote:
>>>>> WOW! - amazing quickly, I'm really grateful.
>>>>>
>>>>> I was using: -u tovis imapc: nusi but still something wrong.
>>>>> Patstebin: https://pastebin.com/tH4wzJka
>>>>> The most relevant part (I think) is:
>>>>> dsync-local(tovis)<rAJmCUTTkV0IBAAAVty4BQ>: Error: read(remote)
>>>>> failed:
>>>>> EOF (version not received)
>>>>> doveadm(tovis): Fatal: execvp(imapc:) failed: No such file or
>>>>> directory
>>>>>
>>>>> What I have missed (doveadm trying to execute something but what).
>>>>> Any suggestion?
>>>> try:
>>>>
>>>> doveadm -D -o imapc_user=tovis -o pop3c_user=tovis -o
>>>> imapc_password=<password> -o pop3c_password=<password> backup -u tovis
>>>> -R
>>>> imapc:
>>>>
>>>> Sami
>>>>
>>>>
>>>>
>>> Hello Sami!
>>> This was the previous version, but if it could help:
>>> https://pastebin.com/3X3BKinB
>>>
>>> One more question, isa it possible, that I do not need
>>> pop3c_user/pop3c_password?
>>> I do not have pop3 server on remote server, I have only IMAP.
>>>
>>> Sincerely
>>>   tovis
>>>
>>>
>> You don't need it, then.  And you do not need the pop3_uidl_migration
>> plugin either, then.
>>
>> Your paste indicates that your config / command line is missing
>> imapc_host setting, so add to your config file
>>
>> imapc_host=nusi # or the fqdn name
>>
>> Aki
>>
> Tath's help! But something still missing :(
> 
> $ sudo doveadm -D -o imapc_user=tovis -o imapc_password=<password> -o
> imapc_host=nusi -R -u tovis imapc:
> 
> Exited with messages (excerption - too many private information exposed):
> 
> dsync(tovis): Debug: brain M: Mailbox INBOX.threatposts:
> local=00000000000000000000000000000000/0/0,
> remote=a557d4d9d858c0ceceef5cd10a973bdc/0/1: mailbox not selectable yet
> dsync(tovis): Debug: brain M: Mailbox INBOX.todo:
> local=00000000000000000000000000000000/0/0,
> remote=891e2fe9dc8874c0a19e496acf802566/0/1: mailbox not selectable yet
> dsync(tovis): Debug: brain M: Deleting mailbox 'INBOX' (GUID
> 2e829f01d5cc915dd103000056dcb805): UIDVALIDITY changed (1454614013 ->
> 1569836245)
> dsync(tovis): Error: Mailbox INBOX sync: mailbox_delete failed: INBOX
> can't be deleted.
> dsync(tovis): Debug: brain S: Remote mailbox tree: INBOX
> guid=2e829f01d5cc915dd103000056dcb805 uid_validity=1569836245 uid_next=2
> subs=no last_change=0 last_subs=0
> dsync(tovis): Debug: imapc(nusi:143): Disconnected
> 
> I was trying to add " -o mail_fsync=never backup" option, but it doesn't
> help. Why even trying to delete a folder such INBOX?
> Option "backup" must be "copy" not synchronize.
> I was check ~/Maildir for dovecot on localhost but no changes - the debug
> output of doveadm gives several hundred output rows such as:
> sync(tovis): Debug: brain M: Mailbox INBOX.lists.openwrt:
> local=00000000000000000000000000000000/0/0,
> remote=bc99ab2a6d9557ef23628f0ba159ee3c/0/1: mailbox not selectable yet
> (This seem to be the academic horse - Hungarian proverb for every where
> something wrong/sick)
> Any suggestion?

I'm on the same task to migrate from one server to another and got exact the
same message.

With some searching I found this answer from aki.
https://dovecot.org/pipermail/dovecot/2016-January/102988.html

As the mailbox on the new server is empty I removed the Maildir and the backup
works as expected so far.

My versions are

# 2.2.36.4 (baf9232c1): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.24.2 (aaba65b7)
# OS: Linux 3.10.0-1062.1.1.el7.x86_64 x86_64 CentOS Linux release 7.7.1908 (Core)

> Sincerely
>   tovis

Regards
Aleks


More information about the dovecot mailing list