blob: 319593cfd701d7cd1a6d60dc66072167b184c3ab (
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
|
# -*- Mode: Conf -*-
[general]
accounts = LukeShu
[Account LukeShu]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = ~/Maildir
sep = .
folderfilter = lambda foldername: not re.search('(Trash|Del|-old|Draft)', foldername)
# transforms local -> remote
nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^'+re.escape('%(sep)s'), '', foldername))
[Repository Remote]
type = IMAP
ssl = yes
cert_fingerprint = 700d84baa7e852240178dc2de18e7e528a2854df
remotehost = imap.mail.yahoo.com
remoteuser = lukeshu@sbcglobal.net
folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername)
# transforms remote -> local
# we must assume that sep=/ on the remote IMAP server.
nametrans = lambda foldername: '/'+re.sub('^Inbox$', '', foldername)
|