diff options
author | luxagraf <sng@luxagraf.net> | 2020-02-16 13:23:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-02-16 13:23:56 -0500 |
commit | cd507c92f617d4a8a3f7bb0b43e425491ef7184d (patch) | |
tree | 42144ef0f35b91e7955f570c5ecc4bcec3c4d780 /.offlineimaprc |
initial commit of dotfiles
Diffstat (limited to '.offlineimaprc')
-rw-r--r-- | .offlineimaprc | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/.offlineimaprc b/.offlineimaprc new file mode 100644 index 0000000..a18fe9d --- /dev/null +++ b/.offlineimaprc @@ -0,0 +1,82 @@ +[general] +ui = ttyui +accounts = Fastmail +pythonfile=~/.mutt/offlineimap.py +fsync = False + +[Account Fastmail] +localrepository = FMLocal +remoterepository = FMRemote +postsynchook = notmuch new + +[Repository FMLocal] +type = Maildir +localfolders = ~/mail/fastmail +nametrans = lambda folder: {'drafts': 'INBOX.Drafts', + 'trash': 'INBOX.Trash', + 'sent': 'INBOX.Sent Items', + 'starred': 'INBOX.Starred', + 'archive': 'INBOX.Archive', + 'darktable': 'INBOX.Darktable', + 'recipes': 'INBOX.Recipes', + 'bookmarks': 'INBOX.Bookmarks', + 'quickbridge': 'INBOX.quickbridge', + + }.get(folder, folder) + + +[Repository FMRemote] +maxconnections = 1 +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +ssl_versions = tls1_2 +type = IMAP +remotehost = mail.messagingengine.com +remoteport = 993 +remoteuser = luxagraf@fastmail.fm +ssl = yes +remotepasseval = get_password("fastmail.com") + +#realdelete = no +nametrans = lambda folder: {'INBOX.Drafts': 'drafts', + 'INBOX.Sent Items': 'sent', + 'INBOX.Bookmarks': 'bookmarks', + 'INBOX.Archive': 'archive', + 'INBOX.Starred': 'starred', + 'INBOX.Darktable': 'darktable', + 'INBOX.Recipes': 'recipes', + 'INBOX.Trash': 'trash', + }.get(folder, folder) +folderfilter = lambda folder: folder in ['INBOX.Drafts', 'INBOX.Starred', 'INBOX.Sent Items', 'INBOX.barcode', 'INBOX', 'INBOX.Trash', 'INBOX.Bookmarks', 'INBOX.Archive'] + + +#[Account Condemail] +#localrepository = CondeLocal +#remoterepository = CondeRemote +#postsynchook = notmuch new +# +#[Repository CondeLocal] +#type = Maildir +#localfolders = ~/mail/condemail +##nametrans = lambda folder: {'drafts': 'INBOX.Drafts', +## 'trash': 'INBOX.Trash', +## 'sent': 'INBOX.Sent Items', +## 'starred': 'INBOX.Starred', +## 'archive': 'INBOX.Archive', +## 'darktable': 'INBOX.Darktable', +## 'recipes': 'INBOX.Recipes', +## 'bookmarks': 'INBOX.Bookmarks', +## 'quickbridge': 'INBOX.quickbridge', +## +## }.get(folder, folder) +# +# +#[Repository CondeRemote] +#maxconnections = 1 +#sslcacertfile = /etc/ssl/certs/ca-certificates.crt +#type = Gmail +#ssl_version=tls1_2 +#remotehost = imap.gmail.com +#remoteport = 993 +#remoteuser = scott_gilbertson3@condenast.com +#ssl = yes +#remotepasseval = get_password("condemail") |