aboutsummaryrefslogtreecommitdiff
path: root/.offlineimaprc
blob: b9eed515c1d15d1be65ae7111a94a4332336d265 (plain) (blame)
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
85
86
87
# Sample minimal config file.  Copy this to ~/.offlineimaprc and edit to
# suit to get started fast.

[general]
metadata = ~/.offlineimap
accounts = QueensU, GMAIL
pythonfile=~/.offlineimap.py
# EIMEAR
maxsyncaccounts = 2

#### GMAIL Account Settings
[Account GMAIL]
localrepository = LocalGmail
remoterepository = RemoteGmail
autorefresh = 20
quick = 10
presynchook = imapfilter -c /home/ryan/.imapfilter/config.lua
postsynchook = imapfilter -c /home/ryan/.imapfilter/config.lua && /home/ryan/bin/run-mailcheck && notmuch new
foldersort = mycmp

[Repository LocalGmail]
#type = Maildir    
#localfolders = ~/.maildb/GMAIL 
#restoreatime = no  
type = IMAP
remotehost = localhost
remoteuser = ryan
remotepass = LOCAL_PASS

[Repository RemoteGmail]
foldersort = lambda x, y: cmp(x, y)
type = Gmail
remoteuser = ryanakca@gmail.com
remotepass = GMAIL_PASS
spamfolder = [Google Mail]/Spam
trashfolder = [Google Mail]/Bin
realdelete = no
folderfilter = lambda foldername: foldername not in ['[Google Mail]/All Mail']
#folderfilter = lambda foldername: foldername in ['INBOX']

##### QueensU mail
[Account QueensU]
localrepository = LocalGmail
remoterepository = RemoteQueensU
autorefresh = 20
quick = 10
# presynchook = imapfilter
foldersort = lamba x, y: cmp(x, y)
postsynchook = /home/ryan/bin/run-mailcheck

[Repository RemoteQueensU]
nametrans = lambda foldername: 'QueensU.' + foldername
foldersort = lambda x, y: cmp(y, x)
type = IMAP
remoteuser = 9rak
remotehost = mail.queensu.ca
remotepass = QUEENSU_PASS

[Account EIMEAR]
localrepository = LocalEimear
remoterepository = RemoteEimear
foldersort = lambda x, y: cmp(x, y)

[Repository LocalEimear]
type = IMAP
remotehost = localhost
remoteuser = ryan
remotepass = LOCAL_PASS

[Repository RemoteEimear]
foldersort = lambda x, y: cmp(x, y)
type = IMAP
remotehost = ryanak.ca
remoteuser = ryan
remotepass = LOCAL_PASS
ssl = yes

[mbnames]
enabled = no
filename = .muttrc.mailboxes
header = "mailboxes "
peritem = "+%(foldername)s"
sep = " "
footer = "\n"

[ui.Curses.Blinkenlights]
statuschar = %