summaryrefslogtreecommitdiffstats
path: root/.offlineimaprc
blob: d00c000736d4c2d75234cf278a8da45fb6f0cd90 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# -*- mode: conf-unix; eval: (git-auto-commit-mode 1); -*-

[general]
# NOTE: cronjob calls the quiet UI with -u
ui         = TTYUI
accounts   = ryuslash.org,gmail,arch,aethon,ninthfloor
pythonfile = ~/.offlineimap.py

[Account arch]
localrepository  = arch-local
remoterepository = arch-remote

[Account gmail]
localrepository  = gmail-local
remoterepository = gmail-remote
postsynchook = mu index --muhome=~/.mu/gmail --maildir=~/documents/mail/gmail

[Account iactor]
localrepository  = iactor-local
remoterepository = iactor-remote

[Account aethon]
localrepository = aethon-local
remoterepository = aethon-remote
postsynchook = mu index --muhome=~/.mu/aethon --maildir=~/documents/mail/aethon

[Account ninthfloor]
localrepository = ninthfloor-local
remoterepository = ninthfloor-remote
postsynchook = mu index --muhome=~/.mu/ninthfloor --maildir=~/documents/mail/ninthfloor

[Account ryuslash.org]
localrepository = ryuslash.org-local
remoterepository = ryuslash.org-remote
postsynchook = mu index --muhome=~/.mu/ryuslash --maildir=~/documents/mail/ryuslash.org

[Repository arch-local]
type         = Maildir
localfolders = ~/documents/mail/arch

[Repository gmail-local]
type         = Maildir
localfolders = ~/documents/mail/gmail

[Repository iactor-local]
type         = Maildir
localfolders = ~/documents/mail/iactor

[Repository aethon-local]
type         = Maildir
localfolders = ~/documents/mail/aethon

[Repository ninthfloor-local]
type         = Maildir
localfolders = ~/documents/mail/ninthfloor

nametrans = lambda folder: folder.lower()

[Repository ryuslash.org-local]
type         = Maildir
localfolders = ~/documents/mail/ryuslash.org

[Repository arch-remote]
type           = Gmail
remoteusereval = getuser("imap.google.com-arch")
remotepasseval = getpassword("imap.google.com-arch")
realdelete     = no

nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))

[Repository gmail-remote]
type           = Gmail
remoteusereval = getuser("imap.google.com")
remotepasseval = getpassword("imap.google.com")
realdelete     = no

nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*(Drafts|Concepten)$', 'drafts', re.sub('.*(Sent Mail|Verzonden berichten)$', 'sent', re.sub('.*(Starred|Met ster)$', 'flagged', re.sub('.*(Trash|Prullenbak)$', 'trash', re.sub('.*(All Mail|Alle berichten)$', 'archive', folder))))))

[Repository iactor-remote]
type           = IMAP
remotehost     = mail.iactor.nl
remoteusereval = getuser("mail.iactor.nl")
remotepasseval = getpassword("mail.iactor.nl")

[Repository aethon-remote]
type           = Gmail
remoteusereval = getuser("imap.google.com-aethon")
remotepasseval = getpassword("imap.google.com-aethon")
realdelete     = no

nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))

[Repository ninthfloor-remote]
type           = IMAP
remotehost     = ninthfloor.org
remoteusereval = getuser("ninthfloor.org")
remotepasseval = getpassword("ninthfloor.org")

nametrans = lambda folder: folder.capitalize()

[Repository ryuslash.org-remote]
type           = IMAP
remotehost     = imap.alwaysdata.com
remoteusereval = getuser("imap.alwaysdata.com")
remotepasseval = getpassword("imap.alwaysdata.com")