Just a (potentially stupid) idea, what does Patterns "[Gmail]/All Mail"
refer to? You only have this pattern in Master but not in Slave. What happens in such cases? Could this be the issue? Best wishes, Marton On Sat, Jun 20, 2020 at 11:05:01PM +0100, Hubert Behaghel wrote: > Hi, > > See below my config. It's the same I use on 2 different machines. When I > look at my archive folder on both machines, everything that's on one machine > isn't on the other and vice-versa. I am not sure how it's possible as it > conflicts with my understanding of IMAP. I was expecting that everything > would be kept in sync everywhere. > > I have also tried to mark all the messages on one machine's archive unread > then sync with server in an attempt to force the other machine to fetch > them. It didn't work. I then tried to figure if Sync setup ReNew could help > with that but couldn't really understand its intent. > > What am I missing? > > Thank you. > > -- > Hubert > > My Config: > > # preserve sync status within Maildir/ > SyncState * > > IMAPAccount gmail > # Address to connect to > Host imap.gmail.com > User behag...@gmail.com > # To store the password in an encrypted file use PassCmd instead of Pass > PassCmd XXXsomethingXXX > # > # Use SSL > SSLType IMAPS > AuthMechs LOGIN > # The following line should work. If get certificate errors, uncomment the > two following lines and read the "Troubleshooting" section. > #CertificateFile /etc/ssl/certs/ca-certificates.crt > > IMAPStore gmail-remote > Account gmail > > MaildirStore gmail-local > Subfolders Verbatim > # The trailing "/" is important > Path ~/Maildir/gmail/ > Inbox ~/Maildir/gmail/INBOX > > Channel gmail-inbox > Master :gmail-remote: > Slave :gmail-local: > Patterns "INBOX" > # Or include everything > Create Both > Expunge Both > # makes sure the date of the arrival stays the same > # when you move messages around. > # Without this option, moving a message to another folder > # will reset the date of the message. > CopyArrivalDate yes > Sync All > > # channels to rename locally google weird folder names > Channel gmail-all > Master :gmail-remote:"[Gmail]/All Mail" > Slave :gmail-local:archive > Patterns "[Gmail]/All Mail" > Create Both > Expunge Both > CopyArrivalDate yes > Sync All > > Channel gmail-sent > Master :gmail-remote:"[Gmail]/Sent Mail" > Slave :gmail-local:sent > Patterns "[Gmail]/Sent Mail" > Create Both > Expunge Both > CopyArrivalDate yes > Sync All > > Channel gmail-starred > Master :gmail-remote:"[Gmail]/Starred" > Slave :gmail-local:starred > Patterns "[Gmail]/Starred" > Create Both > Expunge Both > CopyArrivalDate yes > Sync All > > # groups put together channels, so that we can invoke > # mbsync on a group to sync all channels > Group gmail > Channel gmail-inbox > Channel gmail-sent > # Channel gmail-trash > Channel gmail-all > Channel gmail-starred > > > > _______________________________________________ > isync-devel mailing list > isync-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/isync-devel _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel