diff options
Diffstat (limited to '.offlineimaprc')
-rw-r--r-- | .offlineimaprc | 54 |
1 files changed, 21 insertions, 33 deletions
diff --git a/.offlineimaprc b/.offlineimaprc index a18fe9d..b5c711c 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -1,9 +1,14 @@ [general] ui = ttyui -accounts = Fastmail +accounts = Migadu pythonfile=~/.mutt/offlineimap.py fsync = False +[Account Migadu] +localrepository = MigaduLocal +remoterepository = MigaduRemote +postsynchook = notmuch new + [Account Fastmail] localrepository = FMLocal remoterepository = FMRemote @@ -21,7 +26,6 @@ nametrans = lambda folder: {'drafts': 'INBOX.Drafts', 'recipes': 'INBOX.Recipes', 'bookmarks': 'INBOX.Bookmarks', 'quickbridge': 'INBOX.quickbridge', - }.get(folder, folder) @@ -49,34 +53,18 @@ nametrans = lambda folder: {'INBOX.Drafts': 'drafts', 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") +[Repository MigaduRemote] +maxconnections = 1 +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +ssl_versions = tls1_2 +type = IMAP +remotehost = imap.migadu.com +remoteport = 993 +remoteuser = sng@luxagraf.net +ssl = yes +remotepasseval = get_password("sng@luxagraf.net") +folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Trash', 'Bookmarks', 'Archive', 'Drafts'] + +[Repository MigaduLocal] +type = Maildir +localfolders = ~/mail/migadu |