1653b47cadb9

revert oirc
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Jul 2013 00:49:26 -0400
parents ab2b8355f812
children ea3fd4a6795a
branches/tags (none)
files offlineimaprc

Changes

--- a/offlineimaprc	Thu Jul 18 00:17:35 2013 -0400
+++ b/offlineimaprc	Thu Jul 18 00:49:26 2013 -0400
@@ -1,18 +1,54 @@
 [general]
 ui = TTY.TTYUI
-accounts = Simple
+accounts = SteveLosh
 pythonfile=~/.mutt/offlineimap.py
 fsync = False
 
-# [Account SteveLosh]
-# localrepository = SteveLosh-Local
-# remoterepository = SteveLosh-Remote
+[Account SteveLosh]
+localrepository = SteveLosh-Local
+remoterepository = SteveLosh-Remote
+status_backend = sqlite
+postsynchook = notmuch new
+
+[Repository SteveLosh-Local]
+type = Maildir
+localfolders = ~/.mail/steve-stevelosh.com
+nametrans = lambda folder: {'drafts':  '[Gmail]/Drafts',
+                            'sent':    '[Gmail]/Sent Mail',
+                            'flagged': '[Gmail]/Starred',
+                            'trash':   '[Gmail]/Trash',
+                            'archive': '[Gmail]/All Mail',
+                            }.get(folder, folder)
+
+[Repository SteveLosh-Remote]
+maxconnections = 1
+type = Gmail
+remoteuser = steve@stevelosh.com
+remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com")
+realdelete = no
+nametrans = lambda folder: {'[Gmail]/Drafts':    'drafts',
+                            '[Gmail]/Sent Mail': 'sent',
+                            '[Gmail]/Starred':   'flagged',
+                            '[Gmail]/Trash':     'trash',
+                            '[Gmail]/All Mail':  'archive',
+                            }.get(folder, folder)
+folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
+                                             'Nagios',
+                                             'Django',
+                                             'Flask',
+                                             '[Gmail]/Important',
+                                             '[Gmail]/Spam',
+                                             ]
+
+# [Account Simple]
+# localrepository = Simple-Local
+# remoterepository = Simple-Remote
 # status_backend = sqlite
 # postsynchook = notmuch new
 # 
-# [Repository SteveLosh-Local]
+# [Repository Simple-Local]
 # type = Maildir
-# localfolders = ~/.mail/steve-stevelosh.com
+# localfolders = ~/.mail/simple
 # nametrans = lambda folder: {'drafts':  '[Gmail]/Drafts',
 #                             'sent':    '[Gmail]/Sent Mail',
 #                             'flagged': '[Gmail]/Starred',
@@ -20,11 +56,11 @@
 #                             'archive': '[Gmail]/All Mail',
 #                             }.get(folder, folder)
 # 
-# [Repository SteveLosh-Remote]
+# [Repository Simple-Remote]
 # maxconnections = 1
 # type = Gmail
-# remoteuser = steve@stevelosh.com
-# remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com")
+# remoteuser = sjl@simple.com
+# remotepasseval = get_keychain_pass(account="sjl@simple.com", server="imap.gmail.com")
 # realdelete = no
 # nametrans = lambda folder: {'[Gmail]/Drafts':    'drafts',
 #                             '[Gmail]/Sent Mail': 'sent',
@@ -33,42 +69,6 @@
 #                             '[Gmail]/All Mail':  'archive',
 #                             }.get(folder, folder)
 # folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
-#                                              'Nagios',
-#                                              'Django',
-#                                              'Flask',
 #                                              '[Gmail]/Important',
 #                                              '[Gmail]/Spam',
 #                                              ]
-
-[Account Simple]
-localrepository = Simple-Local
-remoterepository = Simple-Remote
-status_backend = sqlite
-postsynchook = notmuch new
-
-[Repository Simple-Local]
-type = Maildir
-localfolders = ~/.mail/simple
-nametrans = lambda folder: {'drafts':  '[Gmail]/Drafts',
-                            'sent':    '[Gmail]/Sent Mail',
-                            'flagged': '[Gmail]/Starred',
-                            'trash':   '[Gmail]/Trash',
-                            'archive': '[Gmail]/All Mail',
-                            }.get(folder, folder)
-
-[Repository Simple-Remote]
-maxconnections = 1
-type = Gmail
-remoteuser = sjl@simple.com
-remotepasseval = get_keychain_pass(account="sjl@simple.com", server="imap.gmail.com")
-realdelete = no
-nametrans = lambda folder: {'[Gmail]/Drafts':    'drafts',
-                            '[Gmail]/Sent Mail': 'sent',
-                            '[Gmail]/Starred':   'flagged',
-                            '[Gmail]/Trash':     'trash',
-                            '[Gmail]/All Mail':  'archive',
-                            }.get(folder, folder)
-folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
-                                             '[Gmail]/Important',
-                                             '[Gmail]/Spam',
-                                             ]