Pārlūkot izejas kodu

Check mail on janus, not iapetus.

Colin Powell 5 gadi atpakaļ
vecāks
revīzija
0491612360
3 mainītis faili ar 10 papildinājumiem un 17 dzēšanām
  1. 4 11
      bin/.bin/checkmail.sh
  2. 5 5
      mail/.config/alot/config
  3. 1 1
      mail/.mbsyncrc

+ 4 - 11
bin/.bin/checkmail.sh

@@ -1,14 +1,7 @@
 #!/bin/sh
 
-STATE=`nmcli networking connectivity`
-
-if [ $STATE = 'full' ]
-then
-	afew --m --new
-	mbsync -a
-	notmuch new
-	afew --tag --new
-	exit 0
-fi
-echo "No internet connection"
+afew --m --new
+mbsync -a
+notmuch new
+afew --tag --new
 exit 0

+ 5 - 5
mail/.config/alot/config

@@ -55,15 +55,15 @@ thread_subject= oldest
 
 [accounts]
   
-  [[timberwyck]]
+  [[unblink]]
     realname = Colin Powell
-    address = colin@timberwyckfarm.com
+    address = colin@unbl.ink
     gpg_key = 7B405BE1
     sign_by_default = True
     type = sendmail
-    sendmail_command = msmtp --account=timberwyck -t
-    draft_box = maildir:///home/powellc/Mail/colin@timberwyckfarm.com/Drafts
-    sent_box = maildir:///home/powellc/Mail/colin@timberwyckfarm.com/Sent
+    sendmail_command = msmtp --account=unblink -t
+    draft_box = maildir:///home/powellc/Mail/colin@unbl.ink/Drafts
+    sent_box = maildir:///home/powellc/Mail/colin@unbl.ink/Sent
 
 
 [bindings]

+ 1 - 1
mail/.mbsyncrc

@@ -84,7 +84,7 @@ Host imap.gmail.com
 User colin.powell@15five.com
 PassCmd "pass 15five/mbsync"
 SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
+CertificateFile /usr/local/share/certs/ca-root-nss.crt
 Port 993
 
 IMAPStore 15five-remote