IMAPAccount io
Host mail.vanrenterghem.io
User frederik@vanrenterghem.io
-PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.io.asc"
+PassCmd "pass mail.vanrenterghem.io/frederik@vanrenterghem.io"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
Account io
MaildirStore io-local
-Path ~/.mail/io/
-Inbox ~/.mail/io/Inbox
-
-Channel io-default
-Master :io-remote:
-Slave :io-local:Inbox
-
-Channel io-sent
-Master :io-remote:"Sent"
-slave :io-local:sent
-
-Channel io-trash
-Master :io-remote:"Trash"
-slave :io-local:trash
-
-Channel io-archive
-Master :io-remote:"Archive"
-slave :io-local:archive
-
-Channel io-junk
-Master :io-remote:"Junk"
-slave :io-local:junk
+Path ~/Mail/mail.vanrenterghem.io/frederik/
+Inbox ~/Mail/mail.vanrenterghem.io/frederik/Inbox
+Channel io
+Far :io-remote:
+Near :io-local:
+Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Automatically delete messages on either side if they are found deleted on the other.
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
-
-Group io
-Channel io-default
-Channel io-trash
-Channel io-archive
-Channel io-sent
-Channel io-junk
-
-IMAPAccount biz
-Host imap.gmail.com
-User frederik@vanrenterghem.biz
-PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.biz.asc"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore biz-remote
-Account biz
-
-MaildirStore biz-local
-Subfolders Verbatim
-Path ~/.mail/biz/
-Inbox ~/.mail/biz/Inbox
-
-Channel biz
-Master :biz-remote:
-Slave :biz-local:
-# Exclude everything under the internal [Gmail] folder, except the interesting folders
-Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
-# Or include everything
-#Patterns *
-
-Channel biz-sent
-Master :biz-remote:"[Gmail]/Verzonden berichten"
-Slave :biz-local:sent
-Create Slave
-
-# Automatically create missing mailboxes, both locally and on the server
-Create Both
-# Save the synchronization state files in the relevant directory
-SyncState *
-
-Group biz
-Channel biz
-Channel biz-sent