configuration/mbsyncrc

53 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-01-07 10:06:19 +01:00
# Accounts {{{
IMAPAccount gmail
Host "imap.gmail.com"
User "felix.vanderjeugt@gmail.com"
PassCmd "gpg -u Noctua -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'"
SSLType "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
# }}} Accounts
# Remote Stores {{{
IMAPStore gmail-remote
Account "gmail"
# }}}
# Local Stores {{{
MaildirStore gmail-local
2015-01-24 18:27:26 +01:00
Path "/mnt/lexicon/Mail/gmail/"
Inbox "/mnt/lexicon/Mail/gmail/Inbox"
2015-01-07 10:06:19 +01:00
# }}}
# Channels {{{
Channel gmail-inbox
Master ":gmail-remote:"
Slave ":gmail-local:"
Create "Slave"
Pattern "INBOX"
#Expunge "Slave"
SyncState "*"
Channel gmail-sent
Master ":gmail-remote:[Google Mail]/Sent Mail"
Slave ":gmail-local:Sent"
Create "Slave"
#Expunge "Slave"
SyncState "*"
Channel gmail-trash
Master ":gmail-remote:[Google Mail]/Bin"
Slave ":gmail-local:Trash"
Create "Slave"
SyncState "*"
# }}}
# Groups {{{
Group gmail
Channel "gmail-inbox"
Channel "gmail-sent"
Channel "gmail-trash"
# }}}
# vim: foldmethod=marker