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