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/[email protected]/INBOX/cur/1504521006.19210_21.epiphron,U=60561:2, > /home/seschwar/mail/[email protected]/[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 [email protected] > User [email protected] > PassCmd "pass show imap://seschwar%[email protected]" > Host imap.gmail.com > Port 993 > SSLType IMAPS > > IMAPStore [email protected] > Account [email protected] > > MaildirStore [email protected] > Inbox ~/mail/[email protected]/INBOX > Path ~/mail/[email protected]/ > > Channel [email protected] > Master :[email protected]: > Slave :[email protected]: > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/isync-devel
