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

[Account LukeShu]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/Maildir
nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^\.', '', foldername))

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