Create Both Expunge Both SyncState * IMAPStore ryankes-remote Host mail.higherlearning.eu Port 993 User ryan@ryankes.eu PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine mail.higherlearning.eu login ryan@ryankes.eu/ {print $NF}'" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt MaildirStore ryankes-local Subfolders Verbatim Path ~/.local/share/mail/ryankes/ Inbox ~/.local/share/mail/ryankes/INBOX Flatten . Channel ryankes-all Master :ryankes-remote: Slave :ryankes-local: Patterns INBOX* Trash Drafts Sent Archive Spam Group ryankes Channel ryankes-all # End profile IMAPStore gmail-remote Host imap.gmail.com Port 993 User alrayyes@gmail.com PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login alrayyes@gmail.com/ {print $NF}'" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt MaildirStore gmail-local Subfolders Verbatim Path ~/.local/share/mail/gmail/ Inbox ~/.local/share/mail/gmail/INBOX Flatten . Channel gmail-inbox Master :gmail-remote: Slave :gmail-local: Patterns "INBOX" Channel gmail-sent Master :gmail-remote:"[Gmail]/Sent Mail" Slave :gmail-local:Sent Channel gmail-drafts Master :gmail-remote:"[Gmail]/Drafts" Slave :gmail-local:Drafts Channel gmail-spam Master :gmail-remote:"[Gmail]/Spam" Slave :gmail-local:Spam Channel gmail-trash Master :gmail-remote:"[Gmail]/Trash" Slave :gmail-local:Trash Channel gmail-archive Master :gmail-remote:"[Gmail]/All Mail" Slave :gmail-local:Archive # Get all the channels together into a group. Group gmail Channel gmail-inbox Channel gmail-sent Channel gmail-drafts Channel gmail-spam Channel gmail-trash Channel gmail-archive # End profile IMAPStore andthensome-remote Host imap.gmail.com Port 993 User ryan@andthensome.nl PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login ryan@andthensome.nl/ {print $NF}'" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt MaildirStore andthensome-local Subfolders Verbatim Path ~/.local/share/mail/andthensome/ Inbox ~/.local/share/mail/andthensome/INBOX Flatten . Channel andthensome-inbox Master :andthensome-remote: Slave :andthensome-local: Patterns "INBOX" Channel andthensome-sent Master :andthensome-remote:"[Gmail]/Sent Mail" Slave :andthensome-local:Sent Channel andthensome-drafts Master :andthensome-remote:"[Gmail]/Drafts" Slave :andthensome-local:Drafts Channel andthensome-spam Master :andthensome-remote:"[Gmail]/Spam" Slave :andthensome-local:Spam Channel andthensome-trash Master :andthensome-remote:"[Gmail]/Trash" Slave :andthensome-local:Trash Channel andthensome-archive Master :andthensome-remote:"[Gmail]/All Mail" Slave :andthensome-local:Archive # Get all the channels together into a group. Group andthensome Channel andthensome-inbox Channel andthensome-sent Channel andthensome-drafts Channel andthensome-spam Channel andthensome-trash Channel andthensome-archive # End profile