Hi!

I recently migrated from offlineimap to mbsync, which works better in
many ways, but has a strange behaviour probably due to wrong
configuration I did: I have several computers with an gmail account
setup and, whenever I delete a message from computer A, it doesn't gets
deleted on computer B, showing up on the box with the "old" flag set.

The .mbsyncrc file follows.  Because the trash folder needs name
translation, it is set in another channel.  To speed up retrieving of
e-mails, I call "mbsync Gmail-default" every 3 minutes and "mbsync -a"
every 30 minutes.

Can you please help me?  Thanks!

mbsync -v
isync 1.1.1


# IMAP config
IMAPAccount Gmail
Host imap.gmail.com
User m...@comes.here
Pass password_comes_here
UseIMAPS yes

IMAPStore Gmail-Remote
Account Gmail

# Local config
MaildirStore Gmail-Local
Path ~/Mail
Inbox ~/Mail/INBOX

# Channel for all normal folders
Channel Gmail-default
Master :Gmail-Remote:
Slave :Gmail-Local:
Patterns * !"[Gmail]*"
Create Slave
SyncState *

# Channel for Trash folder (performs name translation)
Channel Gmail-trash
Master :Gmail-Remote:"[Gmail]/Trash"
Slave :Gmail-Local:trash
Create Slave
SyncState *

# Group all channels together
Group Gmail
Channel Gmail-default
Channel Gmail-trash

-- 
Silas

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to