commit d11ccfd75552c5328dc790632f90fefd9768a493
parent 8cf1b05336853c0b00d3e3652291e20b1fc37ed2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 7 Dec 2018 21:46:26 +0100
Update cert paths and use xdg-open
Diffstat:
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/links/.mailcap b/links/.mailcap
@@ -1,5 +1,5 @@
# HTML
-text/html; cp %s ~/.mutt/tmp.html && open ~/.mutt/tmp.html && sleep 3 && rm ~/.mutt/tmp.html; test=test -n "$DISPLAY"
+text/html; cp %s ~/.mutt/tmp.html && xdg-open ~/.mutt/tmp.html && sleep 3 && rm ~/.mutt/tmp.html; test=test -n "$DISPLAY"
text/html; w3m -I %{charset} -T text/html; copiousoutput; needsterminal
text/plain; cat %s; copiousoutput
diff --git a/links/.offlineimaprc b/links/.offlineimaprc
@@ -57,7 +57,7 @@ remoteuser = andersd
remotepasseval = get_pass("andersd@riseup.net")
ssl = yes
#cert_fingerprint = 92471a2f5f1082cc2752f308e0c5631a43f14af3
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+sslcacertfile=/etc/ssl/cert.pem
#folderfilter = lambda folder: folder not in ['Drafts']
# Instead of closing the connection once a sync is complete, offlineimap will
@@ -103,7 +103,8 @@ remoteuser = au217756
remotepasseval = get_pass("anders.damsgaard@geo.au.dk")
ssl = yes
#cert_fingerprint = 702e90054bdc1cc1c63e109e9bde434c654fc3bf
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+#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
@@ -148,7 +149,8 @@ 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=/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
@@ -211,7 +213,8 @@ folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail
#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87
ssl=true
# install openssl from homebrew
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+#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']
@@ -291,7 +294,8 @@ remoteuser = andersd
remotepasseval = get_pass("andersd@princeton.edu")
ssl = yes
#cert_fingerprint = 0855b2039ba7540c2f53f186bfc34fde80468fad
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+#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
@@ -352,7 +356,8 @@ folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail
#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87
ssl=true
# install openssl from homebrew
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+#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']
@@ -385,5 +390,6 @@ remotehost = imap.fastmail.com
remoteuser = anders@adamsgaard.dk
remotepasseval = get_pass("anders@adamsgaard.dk-imap")
ssl = yes
-sslcacertfile=/usr/local/etc/openssl/cert.pem
+#sslcacertfile=/usr/local/etc/openssl/cert.pem
+sslcacertfile=/etc/ssl/cert.pem