[general] ui = ttyui pythonfile = /home/urbain/.offlineimap.py accounts = Imperial, Main, Gmail, openmailbox 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 = outlook.office365.com remoteuser = uv113@ic.ac.uk remotepasseval = mailpasswd("imperial") ssl = yes port = 993 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', '[Gmail]/Bin' : 'Bin'}.get(folder, folder) folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts', '[Gmail]/Bin'] 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 [Account openmailbox] localrepository = openmailbox-Local remoterepository = openmailbox-Remote autorefresh = 10 [Repository openmailbox-Local] type = Maildir localfolders = ~/.mail/openmailbox status_backend = sqlite nametrans = lambda folder : {'Free' : 'INBOX'}.get(folder, folder) [Repository openmailbox-Remote] type = IMAP remotehost = imap.openmailbox.org remoteuser = urbain.p.vaes@openmailbox.org remotepasseval = mailpasswd("openmailbox") nametrans = lambda folder: {'INBOX' : 'Free'}.get(folder, folder) folderfilter = lambda folder: folder in ['INBOX'] sslcacertfile = /etc/ssl/certs/ca-certificates.crt realdelete = no [mbnames] enabled = yes filename = ~/.mutt/mailboxes header = "mailboxes " peritem = "+%(accountname)s/%(foldername)s" sep = " " footer = "\n"