summaryrefslogtreecommitdiff
path: root/.offlineimaprc
blob: b5c711c0ca9c3cf139b239fdfa3be1f8ad265532 (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
[general]
ui = ttyui
accounts = Migadu
pythonfile=~/.mutt/offlineimap.py
fsync = False

[Account Migadu]
localrepository = MigaduLocal
remoterepository = MigaduRemote
postsynchook = notmuch new

[Account Fastmail]
localrepository = FMLocal
remoterepository = FMRemote
postsynchook = notmuch new

[Repository FMLocal]
type = Maildir
localfolders = ~/mail/fastmail
nametrans = lambda folder: {'drafts':  'INBOX.Drafts',
                            'trash':   'INBOX.Trash',
                            'sent':   'INBOX.Sent Items',
                            'starred': 'INBOX.Starred',
                            'archive': 'INBOX.Archive',
                            'darktable': 'INBOX.Darktable',
                            'recipes': 'INBOX.Recipes',
                            'bookmarks': 'INBOX.Bookmarks',
                            'quickbridge': 'INBOX.quickbridge',
                            }.get(folder, folder)


[Repository FMRemote]
maxconnections = 1
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl_versions = tls1_2
type = IMAP
remotehost = mail.messagingengine.com
remoteport = 993
remoteuser = luxagraf@fastmail.fm
ssl = yes
remotepasseval = get_password("fastmail.com")

#realdelete = no
nametrans = lambda folder: {'INBOX.Drafts': 'drafts',
                            'INBOX.Sent Items': 'sent',
                            'INBOX.Bookmarks': 'bookmarks',
                            'INBOX.Archive': 'archive',
                            'INBOX.Starred': 'starred',
                            'INBOX.Darktable': 'darktable',
                            'INBOX.Recipes': 'recipes',
                            'INBOX.Trash': 'trash',
                            }.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX.Drafts', 'INBOX.Starred', 'INBOX.Sent Items', 'INBOX.barcode', 'INBOX', 'INBOX.Trash', 'INBOX.Bookmarks', 'INBOX.Archive']


[Repository MigaduRemote]
maxconnections = 1
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl_versions = tls1_2
type = IMAP
remotehost = imap.migadu.com
remoteport = 993
remoteuser = sng@luxagraf.net
ssl = yes
remotepasseval = get_password("sng@luxagraf.net")
folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Trash', 'Bookmarks', 'Archive', 'Drafts']

[Repository MigaduLocal]
type = Maildir
localfolders = ~/mail/migadu