dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit e434f23b77fc6f037d57cf8a18f6c73b1dfab393
parent cdb913e5f8293621d266918c8dde4511c5a55135
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  8 Jan 2019 17:41:12 +0100

Clean-up offlineimap configuration

Diffstat:
Mlinks/.offlineimaprc | 324+------------------------------------------------------------------------------
1 file changed, 1 insertion(+), 323 deletions(-)

diff --git a/links/.offlineimaprc b/links/.offlineimaprc @@ -6,19 +6,12 @@ [general] # List of accounts to be synced, separated by a comma. -#accounts = riseup,geomail -accounts = adamsgaard,riseup,geomail,gmail,princeton -# Suppress nothing but errors -#ui = quiet +accounts = adamsgaard,geomail,princeton ui = ttyui -#ui = blinkenlights -#pythonfile=~/.mutt/offlineimap.py pythonfile=~/.mutt/offlineimap-password-store.py -# Controls how many accounts may be synced simultaneously maxsyncaccounts = 10 [mbnames] -# Generate a muttrc fragment containing the mailboxes offlineimap syncs enabled = yes filename = ~/.mutt/mailboxes header = "mailboxes " @@ -26,355 +19,40 @@ peritem = "+%(accountname)s/%(foldername)s" sep = " " footer = "\n" -[Account riseup] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = riseup-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = riseup-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite -#presynchook = imapfilter -t ~/.mutt/cert.pem -c ~/.imapfilter/riseup.lua -postsynchook = notmuch new - -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - -[Repository riseup-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = ~/mail/riseup - -[Repository riseup-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = IMAP -remotehost = mail.riseup.net -remoteuser = andersd -#remotepasseval = get_keychain_pass(account="andersd", server="mail.riseup.net") -remotepasseval = get_pass("andersd@riseup.net") -ssl = yes -#cert_fingerprint = 92471a2f5f1082cc2752f308e0c5631a43f14af3 -sslcacertfile=/etc/ssl/cert.pem -#folderfilter = lambda folder: folder not in ['Drafts'] - -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - - [Account geomail] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. localrepository = geomail-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. remoterepository = geomail-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite postsynchook = notmuch new -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - [Repository geomail-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. type = Maildir -# Where should the mail be placed? localfolders = ~/mail/geomail [Repository geomail-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. type = IMAP remotehost = imap.au.dk remoteuser = au217756 -#remotepasseval = get_keychain_pass(account="au217756", server="imap.au.dk") remotepasseval = get_pass("anders.damsgaard@geo.au.dk") ssl = yes -#cert_fingerprint = 702e90054bdc1cc1c63e109e9bde434c654fc3bf -#sslcacertfile=/usr/local/etc/openssl/cert.pem sslcacertfile=/etc/ssl/cert.pem folderfilter = lambda folder: not re.search('NFIT-Import|U&APg-nsket e-mail|cosmo-server|geo07kej|Suggested Contacts|Noter|Opgaver|Journal|Slettet post|archive|Kalender|Kontaktpersoner|RSS Feeds', folder) -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - - -[Account ucsd] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = ucsd-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = ucsd-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite -postsynchook = notmuch new - -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - -[Repository ucsd-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = ~/mail/ucsd - -[Repository ucsd-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = IMAP -remotehost = mail.ucsd.edu -remoteuser = adamsgaard -remotepasseval = get_keychain_pass(account="adamsgaard", server="mail.ucsd.edu") -ssl = yes -#cert_fingerprint = ec083b38e0a1942725d301d120893c1014701062 -#sslcacertfile=/usr/local/etc/openssl/cert.pem -sslcacertfile=/etc/ssl/cert.pem -#folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18'] - -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - - - -[Account gmail] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = gmail-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = gmail-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite -postsynchook = notmuch new - -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - -[Repository gmail-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = ~/mail/gmail -nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', - 'sent': '[Gmail]/Sent Mail', - 'flagged': '[Gmail]/Starred', - 'trash': '[Gmail]/Trash', - 'archive': '[Gmail]/All Mail', - }.get(folder, folder) - -[Repository gmail-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = Gmail -remoteuser = andersdc@gmail.com -#remotepasseval = get_keychain_pass(account="andersdc@gmail.com", server="imap.gmail.com") -remotepasseval = get_pass("andersdc@gmail.com") -#auth_mechanisms = LOGIN -realdelete = no -nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', - 'sent': '[Gmail]/Sent Mail', - 'flagged': '[Gmail]/Starred', - 'trash': '[Gmail]/Trash', - 'archive': '[Gmail]/All Mail', - }.get(folder, folder) -folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important', '[Gmail]/Spam'] -#cert_fingerprint = c1a3bb1a8617af4a28ee2e0cd494533c3cd70bf8 -#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87 -ssl=true -# install openssl from homebrew -#sslcacertfile=/usr/local/etc/openssl/cert.pem -#sslcacertfile=/etc/ssl/cert.pem -sslcacertfile=/etc/ssl/certs/ca-certificates.crt -ssl_version=tls1_2 - -#folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18'] - -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - - - -[Account icloud] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = icloud-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = icloud-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite -postsynchook = notmuch new - -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - -[Repository icloud-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = ~/mail/icloud - -[Repository icloud-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = IMAP -remotehost = imap.mail.me.com -remoteuser = a.damsgaard -remotepasseval = get_keychain_pass(account="a.damsgaard", server="imap.mail.me.com") -auth_mechanisms = PLAIN -ssl = yes -cert_fingerprint = 653087783af6e38b439b275bacba12777bdee9d1 -#folderfilter = lambda folder: folder not in ['Drafts'] - - [Account princeton] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. localrepository = princeton-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. remoterepository = princeton-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite postsynchook = notmuch new -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - [Repository princeton-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. type = Maildir -# Where should the mail be placed? localfolders = ~/mail/princeton [Repository princeton-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. type = IMAP remotehost = exchangeimap.princeton.edu remoteuser = andersd remotepasseval = get_pass("andersd@princeton.edu") ssl = yes -#cert_fingerprint = 0855b2039ba7540c2f53f186bfc34fde80468fad -#sslcacertfile=/usr/local/etc/openssl/cert.pem sslcacertfile=/etc/ssl/cert.pem -#folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18'] - -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - -[Account noaa] -# Identifier for the local repository; e.g. the maildir to be synced via IMAP. -localrepository = noaa-local -# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. -remoterepository = noaa-remote -# Status cache. Default is plain, which eventually becomes huge and slow. -#status_backend = sqlite -#presynchook = imapfilter -t ~/.mutt/cert.pem -c ~/.imapfilter/noaa.lua -postsynchook = notmuch new - -# Minutes between syncs -#autorefresh = 5 -# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the -# only changes were to IMAP flags -#quick = 10 - -[Repository noaa-local] -# Currently, offlineimap only supports maildir and IMAP for local repositories. -type = Maildir -# Where should the mail be placed? -localfolders = ~/mail/noaa -nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', - 'sent': '[Gmail]/Sent Mail', - 'flagged': '[Gmail]/Starred', - 'trash': '[Gmail]/Trash', - 'archive': '[Gmail]/All Mail', - }.get(folder, folder) - -[Repository noaa-remote] -# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. -type = Gmail -remoteuser = anders.damsgaard@noaa.gov -remotepasseval = get_pass("anders.damsgaard@noaa.gov") -auth_mechanisms = LOGIN -realdelete = no -nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', - 'sent': '[Gmail]/Sent Mail', - 'flagged': '[Gmail]/Starred', - 'trash': '[Gmail]/Trash', - 'archive': '[Gmail]/All Mail', - }.get(folder, folder) -folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important'] -#cert_fingerprint = c1a3bb1a8617af4a28ee2e0cd494533c3cd70bf8 -#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87 -ssl=true -# install openssl from homebrew -#sslcacertfile=/usr/local/etc/openssl/cert.pem -sslcacertfile=/etc/ssl/cert.pem - -#folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18'] - -# Instead of closing the connection once a sync is complete, offlineimap will -# send empty data to the server to hold the connection open. A value of 60 -# attempts to hold the connection for a minute between syncs (both quick and -# autorefresh).This setting has no effect if autorefresh and holdconnectionopen -# are not both set. -#keepalive = 60 -# OfflineIMAP normally closes IMAP server connections between refreshes if -# the global option autorefresh is specified. If you wish it to keep the -# connection open, set this to true. This setting has no effect if autorefresh -# is not set. -#holdconnectionopen = yes - [Account adamsgaard] localrepository = adamsgaard-local