doveadm backup gmail using imapc

List list at airstreamcomm.net
Fri Dec 5 17:28:15 UTC 2014


I am trying to sync a gmail inbox with dovecot 2.2.10 using the 
following config:

imapc_host = 64.233.171.108
imapc_user = %u
imapc_master_user = master
imapc_password = secret
imapc_features = rfc822.size
imapc_features = $imapc_features fetch-headers
mail_prefetch_count = 20

# If the old IMAP server uses INBOX. namespace prefix, set:
#imapc_list_prefix = INBOX

# for SSL:
imapc_port = 993
imapc_ssl = imaps
#imapc_ssl_ca_dir = /etc/ssl
imapc_ssl_verify = no

And the doveadm command:

doveadm -D -o imapc_user=test at domain.tld -o imapc_password=password 
backup -R -x '\All' -x '\Flagged' -x '\Important' -u test at domain.tld imapc:

I am getting the error:

dsync(test at domain.tld: Error: Mailbox INBOX sync: mailbox_delete failed: 
INBOX can't be deleted.

What I really want to do is just sync Gmail's inbox, drafts, sent, 
trash/archive, and spam folders to my new system.  Is this possible 
using imapc?




More information about the dovecot mailing list