Hi,

I'm trying figure out how to get the behavior I want out of mbsync. 
What I want is to have the \Deleted flag synchronized from my local
maildir to the remote imap server.  But I do not want the emails to be
ever expunged automatically, I want it to be only me who does the expunging.


So, Expunge None seems to be what I want.  Using mutt with set
maildir_trash=yes, when I delete an email, it gets the T flag, which
gets synchronized to the IMAP server, which I can see with an IMAP
client.  If I then expunge manually, the email is gone from the server,
but when I sync again, mbsync does not remove it locally.  That email is
now only local.  I'm not sure what I am doing wrong exactly, and how I
can get the local message to be deleted.


I use this configuration:

SyncState *
Expunge None
CopyArrivalDate yes
Sync All
Create both
Remove Slave

IMAPAccount mat@mail
Host mail
Port 143
User mat
SSLType STARTTLS
SSLVersions TLSv1.2
CertificateFile ~/.isync.certs

IMAPStore abso
Account mat@mail
UseNamespace no

MaildirStore mail
Path ~/mail/
SubFolders Verbatim

Channel abso
Master :abso:INBOX
Slave :mail:abso

Channel abso_all
Master :abso:INBOX
Slave :mail:abso
Patterns /* !/*/19* !/*/20*

-- 
Mathieu Arnold

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
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

Reply via email to