Am 11.07.2020 um 13:22 schrieb Vitalii:
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.
perhaps this help
getmail should use /usr/lib/dovecot/deliver
https://blog.sys4.de/abholdienst-fur-mail-de.html
and/or imapsync is your friend
https://blog.sys4.de/mail-migration-mit-imapsync-de.html
-- [*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein