Greeting
I've managed to backup my emails from external email server via dsync and imapc: protocol like this:
doveadm -Dv -o imapc_user='user@gmail.com' -o imapc_password="pass" -o imapc_host=imap.gmail.com backup -R -u duke@ejoom.com imapc:
taken from https://wiki.dovecot.org/Migration/Dsync
I wish to do regular syncing of 5min interval to substitute 'getmail' program.
When I repeat the command It doesn't download all the attachments(!good) but It seems that at retrieve all the the GUIDs and UIDs(!bad) again that take quite long considering 30K emails. The question is how to speed it up and retrieve only new emails? Does anyone have a solution for regular synchronization? What is the best way?
Logs look like this: https://gist.githubusercontent.com/vnagara/87e0da1b21b51f68fd74270b3ec653b3/...
It wrights that "Mailboxes are equal" but still verifies all the UIDs again.
Thanks.