summaryrefslogtreecommitdiff
path: root/offlineimaprc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-22 09:09:35 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-22 09:09:35 +0100
commitd720c439a60218423537472f626397ad5d0c5a3d (patch)
tree5313fc303367bb130c3a1d65980d3075fe5191a3 /offlineimaprc
parent75e12e3502e0f1ef72228e1794f9f80634c70c91 (diff)
change of the gitignore
Diffstat (limited to 'offlineimaprc')
-rw-r--r--offlineimaprc102
1 files changed, 102 insertions, 0 deletions
diff --git a/offlineimaprc b/offlineimaprc
new file mode 100644
index 0000000..15d95bb
--- /dev/null
+++ b/offlineimaprc
@@ -0,0 +1,102 @@
+[general]
+ui = ttyui
+pythonfile = /home/urbain/.offlineimap.py
+accounts = Imperial, Main, Hotmail, Gmail
+maxsyncaccounts = 4
+
+[Account Imperial]
+localrepository = Imperial-Local
+remoterepository = Imperial-Remote
+autorefresh = 10
+
+[Repository Imperial-Local]
+type = Maildir
+localfolders = ~/.mail/Imperial
+status_backend = sqlite
+nametrans = lambda folder : {'Imperial' : 'INBOX'}.get(folder, folder)
+
+[Repository Imperial-Remote]
+type = IMAP
+remotehost = exchange.imperial.ac.uk
+remoteuser = uv113
+remotepasseval = mailpasswd("imperial")
+ssl = yes
+nametrans = lambda folder : {'INBOX' : 'Imperial'}.get(folder, folder)
+folderfilter = lambda folder: folder in ['INBOX']
+Sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Account Main]
+localrepository = Main-Local
+remoterepository = Main-Remote
+autorefresh = 10
+
+[Repository Main-Local]
+type = Maildir
+localfolders = ~/.mail/Main
+status_backend = sqlite
+nametrans = lambda folder : {'Main' : 'INBOX', 'Sent' : '[Gmail]/Sent Mail', 'Drafts' : '[Gmail]/Drafts'}.get(folder, folder)
+
+[Repository Main-Remote]
+type = Gmail
+remoteuser = urbain.p.vaes
+remotepasseval = mailpasswd("main")
+realdelete = no
+maxconnections = 3
+nametrans = lambda folder : {'INBOX' : 'Main', '[Gmail]/Sent Mail' : 'Sent', '[Gmail]/Drafts' : 'Drafts'}.get(folder, folder)
+folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts']
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+
+[Account Hotmail]
+localrepository = Hotmail-Local
+remoterepository = Hotmail-Remote
+autorefresh = 10
+
+[Repository Hotmail-Local]
+type = Maildir
+localfolders = ~/.mail/Hotmail
+status_backend = sqlite
+nametrans = lambda folder : {'Hotmail' : 'Inbox'}.get(folder, folder)
+
+[Repository Hotmail-Remote]
+type = IMAP
+ssl = yes
+remotehost = imap-mail.outlook.com
+remoteport = 993
+remoteuser = urbainvaes@hotmail.com
+remotepasseval = mailpasswd("hotmail")
+realdelete = no
+maxconnections = 3
+nametrans = lambda folder : {'Inbox' : 'Hotmail'}.get(folder, folder)
+folderfilter = lambda folder: folder in ['Inbox']
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Account Gmail]
+localrepository = Gmail-Local
+remoterepository = Gmail-Remote
+autorefresh = 10
+
+[Repository Gmail-Local]
+type = Maildir
+localfolders = ~/.mail/Gmail
+status_backend = sqlite
+nametrans = lambda folder : {'Gmail' : 'INBOX'}.get(folder, folder)
+
+[Repository Gmail-Remote]
+type = Gmail
+remoteuser = urbainvaes90
+remotepasseval = mailpasswd("gmail")
+realdelete = no
+maxconnections = 3
+nametrans = lambda folder: {'INBOX' : 'Gmail'}.get(folder, folder)
+folderfilter = lambda folder: folder in ['INBOX']
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+
+[mbnames]
+enabled = yes
+filename = ~/.mutt/mailboxes
+header = "mailboxes "
+peritem = "+%(accountname)s/%(foldername)s"
+sep = " "
+footer = "\n"