Check mail on janus, not iapetus.
This commit is contained in:
@ -1,14 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
STATE=`nmcli networking connectivity`
|
afew --m --new
|
||||||
|
mbsync -a
|
||||||
if [ $STATE = 'full' ]
|
notmuch new
|
||||||
then
|
afew --tag --new
|
||||||
afew --m --new
|
|
||||||
mbsync -a
|
|
||||||
notmuch new
|
|
||||||
afew --tag --new
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "No internet connection"
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -55,15 +55,15 @@ thread_subject= oldest
|
|||||||
|
|
||||||
[accounts]
|
[accounts]
|
||||||
|
|
||||||
[[timberwyck]]
|
[[unblink]]
|
||||||
realname = Colin Powell
|
realname = Colin Powell
|
||||||
address = colin@timberwyckfarm.com
|
address = colin@unbl.ink
|
||||||
gpg_key = 7B405BE1
|
gpg_key = 7B405BE1
|
||||||
sign_by_default = True
|
sign_by_default = True
|
||||||
type = sendmail
|
type = sendmail
|
||||||
sendmail_command = msmtp --account=timberwyck -t
|
sendmail_command = msmtp --account=unblink -t
|
||||||
draft_box = maildir:///home/powellc/Mail/colin@timberwyckfarm.com/Drafts
|
draft_box = maildir:///home/powellc/Mail/colin@unbl.ink/Drafts
|
||||||
sent_box = maildir:///home/powellc/Mail/colin@timberwyckfarm.com/Sent
|
sent_box = maildir:///home/powellc/Mail/colin@unbl.ink/Sent
|
||||||
|
|
||||||
|
|
||||||
[bindings]
|
[bindings]
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Host imap.gmail.com
|
|||||||
User colin.powell@15five.com
|
User colin.powell@15five.com
|
||||||
PassCmd "pass 15five/mbsync"
|
PassCmd "pass 15five/mbsync"
|
||||||
SSLType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /usr/local/share/certs/ca-root-nss.crt
|
||||||
Port 993
|
Port 993
|
||||||
|
|
||||||
IMAPStore 15five-remote
|
IMAPStore 15five-remote
|
||||||
|
|||||||
Reference in New Issue
Block a user