86 lines
1.9 KiB
Plaintext
86 lines
1.9 KiB
Plaintext
# ------------------------------------------------------------------------------
|
|
# gmail - ianonavy@gmail.com
|
|
# ------------------------------------------------------------------------------
|
|
IMAPAccount gmail
|
|
Host imap.gmail.com
|
|
User ianonavy@gmail.com
|
|
PassCmd "pass mbsync"
|
|
SSLType IMAPS
|
|
SSLVersions TLSv1.2
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
|
|
IMAPStore gmail-remote
|
|
Account gmail
|
|
|
|
MaildirStore gmail-local
|
|
# The trailing "/" is important
|
|
Path ~/.mail/gmail/
|
|
Inbox ~/.mail/gmail/Inbox
|
|
|
|
Channel sync-gmail-default
|
|
Master :gmail-remote:
|
|
Slave :gmail-local:
|
|
# Select some mailboxes to sync
|
|
Patterns "INBOX" "Banking"
|
|
Create Both
|
|
SyncState *
|
|
|
|
Channel sync-gmail-archived
|
|
Master :gmail-remote:"[Gmail]/All Mail"
|
|
Slave :gmail-local:Archived
|
|
Create Slave
|
|
SyncState *
|
|
|
|
Channel sync-gmail-sent
|
|
Master :gmail-remote:"[Gmail]/Sent Mail"
|
|
Slave :gmail-local:Sent
|
|
Create Slave
|
|
SyncState *
|
|
|
|
Channel sync-gmail-spam
|
|
Master :gmail-remote:"[Gmail]/Spam"
|
|
Slave :gmail-local:Spam
|
|
Create Slave
|
|
SyncState *
|
|
|
|
Channel sync-gmail-trash
|
|
Master :gmail-remote:"[Gmail]/Trash"
|
|
Slave :gmail-local:Trash
|
|
Create Slave
|
|
SyncState *
|
|
|
|
# Get all the channels together into a group.
|
|
Group gmail
|
|
Channel sync-gmail-default
|
|
Channel sync-gmail-archived
|
|
Channel sync-gmail-sent
|
|
Channel sync-gmail-spam
|
|
Channel sync-gmail-trash
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# school - ianaval@wpi.edu
|
|
# ------------------------------------------------------------------------------
|
|
IMAPAccount school
|
|
Host exchange.wpi.edu
|
|
User ianaval@wpi.edu
|
|
PassCmd "pass WPI_Email"
|
|
SSLType IMAPS
|
|
SSLVersions TLSv1 TLSv1.1 TLSv1.2
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
|
|
IMAPStore school-remote
|
|
Account school
|
|
|
|
MaildirStore school-local
|
|
# The trailing "/" is important
|
|
Path ~/.mail/school/
|
|
Inbox ~/.mail/school/Inbox
|
|
|
|
Channel school
|
|
Master :school-remote:
|
|
Slave :school-local:
|
|
# Select some mailboxes to sync
|
|
Patterns *
|
|
Create Both
|
|
SyncState *
|