summaryrefslogtreecommitdiff
path: root/.offlineimap/offlineimaprc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-01-04 16:53:45 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-01-04 16:53:45 +0000
commit314ae0959031e336468c9d4ca774554d6fbb6244 (patch)
tree8c396480070a803fae163c9d2a3c59314a0d601a /.offlineimap/offlineimaprc
parent69c1c3e6cdd5d003c900f4163e3ad35146cfe413 (diff)
Change names of identities mutt
Diffstat (limited to '.offlineimap/offlineimaprc')
-rw-r--r--.offlineimap/offlineimaprc40
1 files changed, 18 insertions, 22 deletions
diff --git a/.offlineimap/offlineimaprc b/.offlineimap/offlineimaprc
index 154eb8a..759e39e 100644
--- a/.offlineimap/offlineimaprc
+++ b/.offlineimap/offlineimaprc
@@ -1,26 +1,25 @@
[general]
ui = ttyui
pythonfile = /home/urbain/.offlineimap.py
-accounts = Imperial, Main, Informal, Private
+accounts = Work, Main, Informal, Personal
maxsyncaccounts = 4
-[Account Imperial]
-localrepository = Imperial-Local
-remoterepository = Imperial-Remote
-autorefresh = 10
+[Account Work]
+localrepository = Work-Local
+remoterepository = Work-Remote
-[Repository Imperial-Local]
+[Repository Work-Local]
type = Maildir
-localfolders = ~/.mail/Imperial
+localfolders = ~/.mail/Work
status_backend = sqlite
-nametrans = lambda folder : {'Imperial' : 'INBOX', 'Imperial/sent' : 'Sent Items', 'Imperial/drafts' : 'Drafts', 'Imperial/bin' : 'Deleted Items'}.get(folder, folder)
+nametrans = lambda folder : {'Work' : 'INBOX', 'Work/sent' : 'Sent Items', 'Work/drafts' : 'Drafts', 'Work/bin' : 'Deleted Items'}.get(folder, folder)
-[Repository Imperial-Remote]
+[Repository Work-Remote]
type = IMAP
remotehost = outlook.office365.com
remoteuser = uv113@ic.ac.uk
remotepasseval = mailpasswd('imperial/u.vaes13@imperial.ac.uk')
-nametrans = lambda folder : {'INBOX' : 'Imperial', 'Sent Items' : 'Imperial/sent', 'Drafts' : 'Imperial/drafts', 'Deleted Items' : 'Imperial/bin'}.get(folder, folder)
+nametrans = lambda folder : {'INBOX' : 'Work', 'Sent Items' : 'Work/sent', 'Drafts' : 'Work/drafts', 'Deleted Items' : 'Work/bin'}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX', 'Sent Items', 'Drafts', 'Deleted Items']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
realdelete = no
@@ -29,7 +28,6 @@ maxconnections = 3
[Account Main]
localrepository = Main-Local
remoterepository = Main-Remote
-autorefresh = 10
[Repository Main-Local]
type = Maildir
@@ -50,7 +48,6 @@ maxconnections = 3
[Account Informal]
localrepository = Informal-Local
remoterepository = Informal-Remote
-autorefresh = 10
[Repository Informal-Local]
type = Maildir
@@ -68,23 +65,22 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt
realdelete = no
maxconnections = 3
-[Account Private]
-localrepository = Private-Local
-remoterepository = Private-Remote
-autorefresh = 10
+[Account Personal]
+localrepository = Personal-Local
+remoterepository = Personal-Remote
-[Repository Private-Local]
+[Repository Personal-Local]
type = Maildir
-localfolders = ~/.mail/Private
+localfolders = ~/.mail/Personal
status_backend = sqlite
-nametrans = lambda folder : {'Private' : 'INBOX', 'Private/sent' : 'Sent', 'Private/drafts' : 'Drafts', 'Private/bin' : 'Trash'}.get(folder, folder)
+nametrans = lambda folder : {'Personal' : 'INBOX', 'Personal/sent' : 'Sent', 'Personal/drafts' : 'Drafts', 'Personal/bin' : 'Trash'}.get(folder, folder)
-[Repository Private-Remote]
+[Repository Personal-Remote]
type = IMAP
remotehost = imap.openmailbox.org
remoteuser = urbain.p.vaes@openmailbox.org
remotepasseval = mailpasswd("openmailbox/urbain.p.vaes@openmailbox.org")
-nametrans = lambda folder : {'INBOX' : 'Private', 'Sent' : 'Private/sent', 'Drafts' : 'Private/drafts', 'Trash' : 'Private/bin'}.get(folder, folder)
+nametrans = lambda folder : {'INBOX' : 'Personal', 'Sent' : 'Personal/sent', 'Drafts' : 'Personal/drafts', 'Trash' : 'Personal/bin'}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Drafts', 'Trash']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
realdelete = no
@@ -92,7 +88,7 @@ maxconnections = 3
[mbnames]
enabled = yes
-filename = ~/.mutt/mailboxes
+filename = ~/.mutt/mailboxes.offlineimap
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "