IMAPAccount plom # Address to connect to Host mail.plomlompom.com User plom # For some reason, mbsync doesn't accept a PassCmd output beyond 79 chars, # therefore the pw in ~/.authinfo should not be longer than that. PassCmd "cat ~/.authinfo | cut -d' ' -f8-" SSLType IMAPS AuthMechs LOGIN IMAPStore core-remote Account plom MaildirStore core-local # The trailing "/" is important Path ~/mail/maildir/ Inbox ~/mail/inbox/ Channel core Master :core-remote: Slave :core-local: Patterns * # Automatically create missing mailboxes, both locally and on the server Create Both # Save the synchronization state files in the relevant directory SyncState * # If a mail is marked T ("Trashed") or deleted, remove it for real everywhere Expunge Both