[EXT] doveadm backup from gmail with imapc

Sami Ketola sami.ketola at dovecot.fi
Fri Apr 10 15:13:14 EEST 2020



> On 10 Apr 2020, at 14.07, Ben Mulvihill <ben.mulvihill at gmail.com> wrote:
> 
> 

last answer from gmail:

> 1586513176.126970 1944 OK Success


last commands send by dovecot:

> 1586513175.951965 1944 UID FETCH
> 99624,99627,99628,99629,99631,99632,99633,99634,99635,99636,99637,99639
> ,99640,99641,99642,99643,99644,99645,99646,99647,99648 (X-GM-MSGID)
> 1586513176.127109 1945 LIST "" "*"


So gmail hangs and never gives response to the last LIST command.

Fetcing  X-GM-MSGID is related to POP3 UIDLs. If you don't care about POP3 and gmail labels you can remove gmail-migration from imapc_features.

also you can try to set imapc_cmd_timeout to some low value like 10s to make dovecot to reconnect in case gmail hangs. Default is to wait for 5 mins.

Sami




More information about the dovecot mailing list