summaryrefslogtreecommitdiff
path: root/.offlineimaprc
blob: 35e81667ef5ac81c7bf9f647af9e950ddec0bea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[general]
accounts = LukeShu

[Account LukeShu]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/Maildir
nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^\.', '', foldername))
folderfilter = lambda foldername: not re.search('(Trash|Del|-old|Draft)', foldername)

[Repository Remote]
type = IMAP
ssl = yes
remotehost = imap.mail.yahoo.com
remoteuser = lukeshu@sbcglobal.net
nametrans = lambda foldername: re.sub('^\.Inbox$', '', "."+foldername)
folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername)