]> git.donarmstrong.com Git - mail.git/blob - .offlineimaprc
726f5afd0d9a65d5a862bd72d741291ac102c8d6
[mail.git] / .offlineimaprc
1 [general]
2 #accounts = Inbox, Lists, Bugs, Spam
3 accounts = Inbox, Bugs, Lists, Spam, Jobs
4 #accounts = Bugs
5 # sync three accounts at once
6 #maxsyncaccounts = 7
7 ui = Blinkenlights
8
9
10 [Account Inbox]
11 localrepository = LocalInbox
12 remoterepository = RemoteInbox
13
14 [Repository LocalInbox]
15 type = Maildir
16 localfolders = ~/Mail
17
18 [Repository RemoteInbox]
19 type = IMAP
20 remotehost = linnode.donarmstrong.com
21 remoteuser = don
22 ssl = yes
23 createfolders = False
24 folderfilter = lambda foldername: not re.search('(^(lists|bugs|jobs|archives|spam|customflags)|/\.)', foldername)
25 preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap'
26
27
28 [Account Lists]
29 localrepository = LocalLists
30 remoterepository = RemoteLists
31
32 [Repository LocalLists]
33 type = Maildir
34 localfolders = ~/Mail/lists
35
36 [Repository RemoteLists]
37 type = IMAP
38 createfolders = False
39 remotehost = linnode.donarmstrong.com
40 remoteuser = don
41 ssl = yes
42 #reference = Mail
43 ## Trims off the preceeding Mail on all the folder names.
44 nametrans = lambda foldername: \
45             re.sub('^lists.?', '', foldername)
46 # Yeah, you have to mention the Mail dir, even though it
47 # would seem intuitive that reference would trim it.
48 folderfilter = lambda foldername: not re.search('(^(oftc|archives|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|buildd|spam|outbox|bugs|postponed|customflags|Trash))', foldername)
49 preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap'
50
51 [Account Bugs]
52 localrepository = LocalBugs
53 remoterepository = RemoteBugs
54
55 [Repository LocalBugs]
56 type = Maildir
57 localfolders = ~/Mail/bugs
58
59 [Repository RemoteBugs]
60 type = IMAP
61 createfolders = False
62 remotehost = linnode.donarmstrong.com
63 remoteuser = don
64 ssl = yes
65 #reference = Mail
66 ## Trims off the preceeding Mail on all the folder names.
67 nametrans = lambda foldername: \
68             re.sub('^bugs.?', '', foldername)
69 # Yeah, you have to mention the Mail dir, even though it
70 # would seem intuitive that reference would trim it.
71 folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|buildd|spam|outbox|archives|postponed|customflags|Trash))', foldername)
72
73 preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap'
74
75
76
77 [Account Spam]
78 localrepository = LocalSpam
79 remoterepository = RemoteSpam
80
81 [Repository LocalSpam]
82 type = Maildir
83 localfolders = ~/Mail/spam
84
85 [Repository RemoteSpam]
86 type = IMAP
87 createfolders = False
88 remotehost = linnode.donarmstrong.com
89 remoteuser = don
90 ssl = yes
91 #reference = Mail
92 ## Trims off the preceeding Mail on all the folder names.
93 nametrans = lambda foldername: \
94             re.sub('^spam.?', '', foldername)
95 # Yeah, you have to mention the Mail dir, even though it
96 # would seem intuitive that reference would trim it.
97 folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|bugs|buildd|outbox|archives|postponed|customflags|Trash))', foldername)
98
99 preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap'
100
101 [Account Jobs]
102 localrepository = LocalJobs
103 remoterepository = RemoteJobs
104
105 [Repository LocalJobs]
106 type = Maildir
107 localfolders = ~/Mail/jobs
108 createfolders = False
109
110 [Repository RemoteJobs]
111 type = IMAP
112 remotehost = linnode.donarmstrong.com
113 remoteuser = don
114 ssl = yes
115 createfolders = False
116
117
118 folderfilter = lambda foldername: not re.search('(^(oftc|lists|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|bugs|buildd|outbox|archives|postponed|customflags))', foldername)
119
120 preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap'