commit 5e6d06b8df33239f61225fef53dafcedfc55cb3e
parent 8b807f77ae8ee5ccc737ba86b9b05723f4010308
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 23 Feb 2016 13:40:26 -0800
remove unused credentials, add ucsd folder
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -4,6 +4,7 @@ set my_realname = "Anders Damsgaard"
# Password file (e.g. pass.txt) should be in the form:
# NFIT password
# Gmail password
+# UCSD password
# Encrypt it using `gpg -o ~/.sec/pass.gpg -e pass.txt`.
# Delete the plaintext pass.txt afterwards, e.g. `shred pass.txt && rm pass.txt`.
set my_tmp_secret = `gpg -o ~/.sec/.tmp -d ~/.sec/pass.gpg`
@@ -18,6 +19,11 @@ set my_riseup_user = "andersd"
set my_riseup_email = "andersd@riseup.net"
set my_riseup_pass = `awk '/Riseup/ {print $2}' ~/.sec/.tmp`
+# UCSD credentials
+set my_riseup_user = "adamsgaard"
+set my_riseup_email = "adamsgaard@ucsd.edu"
+set my_riseup_pass = `awk '/UCSD/ {print $2}' ~/.sec/.tmp`
+
# Remove temporary password file
set my_del=`rm -f ~/.sec/.tmp`
@@ -39,6 +45,10 @@ folder-hook geomail 'set \
from=$my_nfit_email\
sendmail = "/usr/bin/msmtp -a geomail"'
+folder-hook ucsd 'set \
+ from=$my_ucsd_email\
+ sendmail = "/usr/bin/msmtp -a ucsd"'
+
# Cache files
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
@@ -120,6 +130,7 @@ macro index M "T.*\n;WN" "Mark all messages as read"
# Macros to change between inboxes
macro index \\1 "<change-folder>=riseup/INBOX/<enter>" "Go to Riseup inbox"
macro index \\2 "<change-folder>=geomail/INBOX/<enter>" "Go to Geomail inbox"
+macro index \\3 "<change-folder>=ucsd/INBOX/<enter>" "Go to UCSD inbox"
macro index A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it"
macro pager A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it"