2017-04-14 11:11:33 -07:00
|
|
|
########################################
|
|
|
|
# gmail.com
|
|
|
|
########################################
|
|
|
|
IMAPAccount gmail
|
|
|
|
Host imap.gmail.com
|
|
|
|
User hlissner@gmail.com
|
|
|
|
PassCmd "pass email/gmail.com | head -n1"
|
|
|
|
Port 993
|
|
|
|
AuthMechs LOGIN
|
|
|
|
SSLType IMAPS
|
|
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
|
|
# CertificateFile /usr/local/etc/openssl/cert.pem # MacOS
|
|
|
|
|
|
|
|
##
|
|
|
|
# Remote
|
|
|
|
IMAPStore gmail-remote
|
|
|
|
Account gmail
|
|
|
|
|
|
|
|
# Local
|
|
|
|
MaildirStore gmail-local
|
|
|
|
Path ~/.mail/gmail.com/
|
|
|
|
Inbox ~/.mail/gmail.com/Inbox
|
|
|
|
|
|
|
|
## Connections
|
|
|
|
Channel gmail-all
|
|
|
|
Master :gmail-remote:"[Gmail]/All Mail"
|
|
|
|
Slave :gmail-local:"All Mail"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel gmail-inbox
|
|
|
|
Master :gmail-remote:"INBOX"
|
|
|
|
Slave :gmail-local:"Inbox"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel gmail-drafts
|
|
|
|
Master :gmail-remote:"[Gmail]/Drafts"
|
|
|
|
Slave :gmail-local:"Drafts"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel gmail-sent
|
|
|
|
Master :gmail-remote:"[Gmail]/Sent Mail"
|
|
|
|
Slave :gmail-local:"Sent Mail"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel gmail-trash
|
|
|
|
Master :gmail-remote:"[Gmail]/Trash"
|
|
|
|
Slave :gmail-local:"Trash"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
## Groups
|
|
|
|
Group gmail
|
|
|
|
Channel gmail-all
|
|
|
|
Channel gmail-inbox
|
|
|
|
Channel gmail-drafts
|
|
|
|
Channel gmail-sent
|
|
|
|
Channel gmail-trash
|
|
|
|
|
|
|
|
|
|
|
|
# ########################################
|
|
|
|
# # lissner.net
|
|
|
|
# ########################################
|
|
|
|
IMAPAccount lissner
|
|
|
|
Host imap.gmail.com
|
|
|
|
User henrik@lissner.net
|
|
|
|
PassCmd "pass email/lissner.net | head -n1"
|
|
|
|
Port 993
|
|
|
|
AuthMechs LOGIN
|
|
|
|
SSLType IMAPS
|
|
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
|
|
# CertificateFile /usr/local/etc/openssl/cert.pem # MacOS
|
|
|
|
|
|
|
|
IMAPStore lissner-remote
|
|
|
|
Account lissner
|
|
|
|
|
|
|
|
MaildirStore lissner-local
|
|
|
|
Path ~/.mail/lissner.net/
|
|
|
|
Inbox ~/.mail/lissner.net/Inbox
|
|
|
|
|
|
|
|
## Connections
|
|
|
|
Channel lissner-all
|
|
|
|
Master :lissner-remote:"[Gmail]/All Mail"
|
|
|
|
Slave :lissner-local:"All Mail"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel lissner-inbox
|
|
|
|
Master :lissner-remote:"INBOX"
|
|
|
|
Slave :lissner-local:"Inbox"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel lissner-drafts
|
|
|
|
Master :lissner-remote:"[Gmail]/Drafts"
|
|
|
|
Slave :lissner-local:"Drafts"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel lissner-sent
|
|
|
|
Master :lissner-remote:"[Gmail]/Sent Mail"
|
|
|
|
Slave :lissner-local:"Sent Mail"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
Channel lissner-trash
|
|
|
|
Master :lissner-remote:"[Gmail]/Trash"
|
|
|
|
Slave :lissner-local:"Trash"
|
2017-04-18 15:01:05 -07:00
|
|
|
Create Slave
|
2017-04-14 11:11:33 -07:00
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
# ## Groups
|
|
|
|
Group lissner
|
|
|
|
Channel lissner-all
|
|
|
|
Channel lissner-inbox
|
|
|
|
Channel lissner-drafts
|
|
|
|
Channel lissner-sent
|
|
|
|
Channel lissner-trash
|