# Mbsync config IMAPAccount gmail Host imap.gmail.com User akasroua@gmail.com PassCmd "pass mail/gmail" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPStore gmail-remote Account gmail MaildirStore gmail-local Subfolders Verbatim # The trailing "/" is important Path ~/.mail/gmail/ Inbox ~/.mail/gmail/Inbox/ Channel sync-gmail-default Master :gmail-remote: Slave :gmail-local: Channel sync-gmail-sent Master :gmail-remote:"[Gmail]/Sent Mail" Slave :gmail-local:sent Channel sync-gmail-trash Master :gmail-remote:"[Gmail]/Bin" Slave :gmail-local:trash Channel sync-gmail-junk Master :gmail-remote:"[Gmail]/Spam" Slave :gmail-local:junk # Get all the channels together into a group. Group gmail Channel sync-gmail-default Channel sync-gmail-sent Channel sync-gmail-trash Channel sync-gmail-junk Create Both Expunge Both SyncState * IMAPAccount uni Host correo.ugr.es User akasroua@correo.ugr.es PassCmd "pass mail/uni" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPStore uni-remote Account uni MaildirStore uni-local Subfolders Verbatim # The trailing "/" is important Path ~/.mail/uni/ Inbox ~/.mail/uni/INBOX/ Channel uni-default Master :uni-remote: Slave :uni-local: Channel uni-sent Master :uni-remote:"Sent" Slave :uni-local:sent Channel uni-trash Master :uni-remote:"Trash" Slave :uni-local:trash Channel uni-archive Master :uni-remote:"BUZONdeEntradaUGR" Slave :uni-local:archive # Get all the channels together into a group. Group uni Channel uni-default Channel uni-sent Channel uni-trash Channel uni-archive Create Both Expunge Both SyncState *