Hello, I have a custom script which moves messages around maildirs according to certain tags from notmuch. This worked fine until I've turned on expunging. Now once a message is moved to a different maildir it's deleted when mbsync runs, which is of course not what I want.
Here's an example from the logs of what happens when I move a message between maildirs: > mv -- > /home/seschwar/mail/sesch...@gmail.com/INBOX/cur/1504521006.19210_21.epiphron,U=60561:2, > /home/seschwar/mail/sesch...@gmail.com/[Google Mail]/.All > Mail/cur/1504522800.8869_1.epiphron:2, As you can see my script follows the note from the RECOMMENDATIONS section of mbsync's manual page: > When using the more efficient default UID mapping scheme, it > is important that the MUA renames files when moving them > between Maildir folders. Here's my ~/.mbsyncrc: > IMAPAccount sesch...@gmail.com > User sesch...@gmail.com > PassCmd "pass show imap://seschwar%40gmail....@imap.gmail.com" > Host imap.gmail.com > Port 993 > SSLType IMAPS > > IMAPStore remote-sesch...@gmail.com > Account sesch...@gmail.com > > MaildirStore local-sesch...@gmail.com > Inbox ~/mail/sesch...@gmail.com/INBOX > Path ~/mail/sesch...@gmail.com/ > > Channel sesch...@gmail.com > Master :remote-sesch...@gmail.com: > Slave :local-sesch...@gmail.com: > Pattern "INBOX" * > Create Both > Expunge Both > Remove Both > Sync All > SyncState * Is my script doing something wrong or did I mis-configure mbsync? The problem not only happens with Gmail, but with other IMAP servers as well. Thanks in advance, Sebastian ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel