# 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 Far :gmail-remote: Near :gmail-local: Create Both Expunge Both SyncState * Channel sync-gmail-sent Far :gmail-remote:"[Gmail]/Sent Mail" Near :gmail-local:sent Create Both Expunge Both SyncState * Channel sync-gmail-trash Far :gmail-remote:"[Gmail]/Bin" Near :gmail-local:trash Create Both Expunge Both SyncState * Channel sync-gmail-junk Far :gmail-remote:"[Gmail]/Spam" Near :gmail-local:junk Create Both Expunge Both SyncState * # 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 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 Far :uni-remote: Near :uni-local: Create Both Expunge Both SyncState * Channel uni-sent Far :uni-remote:"Sent" Near :uni-local:sent Create Both Expunge Both SyncState * Channel uni-trash Far :uni-remote:"Trash" Near :uni-local:trash Create Both Expunge Both SyncState * Channel uni-archive Far :uni-remote:"BUZONdeEntradaUGR" Near :uni-local:archive Create Both Expunge Both SyncState * # Get all the channels together into a group. Group uni Channel uni-default Channel uni-sent Channel uni-trash Channel uni-archive