Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
- # suit to get started fast.
- [general]
- pythonfile = ~/.mutt/offlineimap.py
- accounts = c42,gmail,umn,hdonnay,physics,xanhmag
- maxsyncaccounts = 4
- fsync = false
- socktimeout = 20
- #ui = basic
- [mbnames]
- enabled = yes
- filename = ~/.mutt/automailboxes
- header = "mailboxes "
- peritem = "+%(accountname)s/%(foldername)s"
- sep = " "
- footer = "\n"
- [Account gmail]
- localrepository = Local-gmail
- remoterepository = Remote-gmail
- status_backend = sqlite
- autorefresh = 5
- quick = 10
- [Account umn]
- localrepository = Local-umn
- remoterepository = Remote-umn
- status_backend = sqlite
- autorefresh = 5
- quick = 10
- [Account physics]
- localrepository = Local-physics
- remoterepository = Remote-physics
- status_backend = sqlite
- autorefresh = 5
- quick = 10
- [Account hdonnay]
- localrepository = Local-hdonnay
- remoterepository = Remote-hdonnay
- status_backend = sqlite
- autorefresh = 5
- quick = 10
- [Account xanhmag]
- localrepository = Local-xanhmag
- remoterepository = Remote-xanhmag
- status_backend = sqlite
- autorefresh = 5
- quick = 10
- [Account c42]
- localrepository = Local-c42
- remoterepository = Remote-c42
- status_backend = sqlite
- autorefresh = 1
- quick = 1
- presynchook = imapfilter
- postsynchook = imapfilter -c ~/.imapfilter/notify.config.lua
- [Repository Local-gmail]
- type = Maildir
- localfolders = ~/.mail/gmail
- [Repository Local-umn]
- type = Maildir
- localfolders = ~/.mail/umn
- [Repository Local-physics]
- type = Maildir
- localfolders = ~/.mail/physics
- [Repository Local-c42]
- type = Maildir
- localfolders = ~/.mail/c42
- [Repository Local-hdonnay]
- type = Maildir
- localfolders = ~/.mail/hdonnay
- [Repository Local-xanhmag]
- type = Maildir
- localfolders = ~/.mail/xanhmag
- [Repository Remote-gmail]
- type = Gmail
- remotehost = imap.gmail.com
- remoteuser = hdonnay@gmail.com
- remotepasseval = keyring.get_password("email","hdonnay@gmail.com")
- ssl = yes
- realdelete = no
- nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
- re.sub ('sent_mail', 'sent',
- re.sub ('starred', 'flagged',
- re.sub (' ', '_', foldername.lower()))))
- folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
- [Repository Remote-umn]
- type = Gmail
- remotehost = imap.gmail.com
- remoteuser = donna029@umn.edu
- remotepasseval = keyring.get_password("email","donna029@umn.edu")
- ssl = yes
- realdelete = no
- nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
- re.sub ('sent_mail', 'sent',
- re.sub ('starred', 'flagged',
- re.sub (' ', '_', foldername.lower()))))
- folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
- [Repository Remote-physics]
- type = IMAP
- remotehost = mail.physics.umn.edu
- remoteuser = hank
- remotepasseval = keyring.get_password("email","hank@physics.umn.edu")
- maxconnections = 4
- ssl = yes
- nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
- folderfilter = lambda foldername: not re.search('^user\.sysadm\..+', foldername)
- [Repository Remote-c42]
- type = IMAP
- remotehost = mail.code42.com
- remoteuser = hdonnay
- remotepasseval = keyring.get_password("email","hank@code42.com")
- maxconnections = 4
- ssl = yes
- [Repository Remote-hdonnay]
- type = Gmail
- remotehost = imap.gmail.com
- remoteuser = hank@hdonnay.com
- remotepasseval = keyring.get_password("email","hank@hdonnay.com")
- ssl = yes
- realdelete = no
- nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
- re.sub ('sent_mail', 'sent',
- re.sub ('starred', 'flagged',
- re.sub (' ', '_', foldername.lower()))))
- folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
- [Repository Remote-xanhmag]
- type = IMAP
- remotehost = cynic.xanhmag.com
- remoteuser = hank
- remotepasseval = keyring.get_password("email","hank@xanhmag.com")
- maxconnections = 4
- ssl = yes
- nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
Add Comment
Please, Sign In to add comment