]> git.donarmstrong.com Git - mail.git/blob - .offlineimaprc
0f7581fc0e05d2ef395f13280ec4ea435a3d36d0
[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 = 3
7 ui = Curses.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 = rzlab.ucr.edu
21 remoteuser = don
22 ssl = yes
23
24 folderfilter = lambda foldername: not re.search('(^(lists|bugs|jobs|archives|spam|customflags)|/\.)', foldername)
25
26 preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
27
28
29 [Account Lists]
30 localrepository = LocalLists
31 remoterepository = RemoteLists
32
33 [Repository LocalLists]
34 type = Maildir
35 localfolders = ~/Mail/lists
36
37 [Repository RemoteLists]
38 type = IMAP
39 remotehost = rzlab.ucr.edu
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|bdo_role|spam|outbox|bugs|postponed|customflags))', foldername)
49 preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /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 remotehost = rzlab.ucr.edu
62 remoteuser = don
63 ssl = yes
64 #reference = Mail
65 ## Trims off the preceeding Mail on all the folder names.
66 nametrans = lambda foldername: \
67             re.sub('^bugs.?', '', foldername)
68 # Yeah, you have to mention the Mail dir, even though it
69 # would seem intuitive that reference would trim it.
70 folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|bdo_role|spam|outbox|archives|postponed|customflags))', foldername)
71
72 preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
73
74
75
76 [Account Spam]
77 localrepository = LocalSpam
78 remoterepository = RemoteSpam
79
80 [Repository LocalSpam]
81 type = Maildir
82 localfolders = ~/Mail/spam
83
84 [Repository RemoteSpam]
85 type = IMAP
86 remotehost = rzlab.ucr.edu
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|bdo_role|bugs|outbox|archives|postponed|customflags))', foldername)
96
97 preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
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 = rzlab.ucr.edu
110 remoteuser = don
111 ssl = yes
112
113
114 folderfilter = lambda foldername: not re.search('(^(oftc|lists|INBOX|TODO|bdo_role|spam|bugs|outbox|archives|postponed|customflags))', foldername)
115
116 preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'