IMAPAccount riseup # Address to connect to Host imap.riseup.net User gigavinyl@riseup.net # To store the password in an encrypted file use PassCmd instead of Pass PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.password-store/riseup.net.gpg" # # Use SSL SSLType IMAPS # The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section. #CertificateFile /etc/ssl/certs/ca-certificates.crt #CertificateFile ~/.cert/imap.gmail.com.pem #CertificateFile ~/.cert/Equifax_Secure_CA.pem IMAPStore riseup-remote Account riseup MaildirStore riseup-local Subfolders Verbatim # The trailing "/" is important Path ~/mail/riseup/ Inbox ~/mail/riseup/Inbox Channel riseup Master :riseup-remote: Slave :riseup-local: # Exclude everything under the internal [Gmail] folder, except the interesting folders Patterns * # Or include everything #Patterns * # Automatically create missing mailboxes, both locally and on the server Create Both # Save the synchronization state files in the relevant directory SyncState *