aboutsummaryrefslogtreecommitdiffstats
path: root/isync/.mbsyncrc
blob: b8b3e0cd1b4776d3eb0a6d8ec927fee7a30c7dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
IMAPAccount gmail
# Address to connect to
Host imap.gmail.com
User ymherklotz@gmail.com
PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.config/.yann --batch --yes -d ~/.authgmail.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

IMAPAccount imperial
Host outlook.office365.com
Port 993
User ymh15@ic.ac.uk
PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.config/.yann --batch --yes -d ~/.authimperial.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPAccount mailbox
Host imap.mailbox.org
Port 993
User ymherklotz@mailbox.org
PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.config/.yann --batch --yes -d ~/.authmail.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore gmail-remote
Account gmail

IMAPStore imperial-remote
Account imperial

IMAPStore mailbox-remote
Account mailbox

MaildirStore gmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox

MaildirStore imperial-local
Subfolders Verbatim
Path ~/.mail/imperial/
Inbox ~/.mail/imperial/Inbox

MaildirStore mailbox-local
Subfolders Verbatim
Path ~/.mail/mailbox/
Inbox ~/.mail/mailbox/Inbox

Channel gmail
Master :gmail-remote:
Slave :gmail-local:
Patterns "[Gmail]/Sent Mail" "[Gmail]/Drafts" "[Gmail]/Trash" INBOX MyArchive
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
MaxMessages 100
ExpireUnread no
Expunge Both

Channel imperial
Master :imperial-remote:
Slave :imperial-local:
Patterns "Sent Items" Archive1 "Deleted Items" INBOX Drafts
Create Both
SyncState *
MaxMessages 100
ExpireUnread no
Expunge Both

Channel mailbox
Master :mailbox-remote:
Slave :mailbox-local:
Patterns *
Create Both
SyncState *
MaxMessages 100
ExpireUnread no
Expunge Both