support local config and extra accts, store pwd

Sun, 08 May 2016 02:26:05 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 08 May 2016 02:26:05 -0400
changeset 300
774a66f904a6
parent 299
0258fafac928
child 301
d555b7f5628d

support local config and extra accts, store pwd

.mutt/roomag/config file | annotate | diff | comparison | revisions
.mutt/roomag/passwords.gpg file | annotate | diff | comparison | revisions
.muttrc file | annotate | diff | comparison | revisions
--- a/.mutt/roomag/config
+++ b/.mutt/roomag/config
@@ -1,5 +1,7 @@
 # vim: ft=muttrc
 
+source "gpg -d ~/.mutt/roomag/passwords.gpg |"
+
 set folder    = imaps://mhoward@ramdas.roomag.org/
 set spoolfile = "+INBOX"
 set record    = "+Sent"
new file mode 100644
--- /dev/null
+++ b/.mutt/roomag/passwords.gpg
@@ -0,0 +1,18 @@
+-----BEGIN PGP MESSAGE-----
+Version: GnuPG v2
+
+hQINA3tmUmawPYWLEAf4vYbrEsalOAFfnt69wG4wE6SmUWFwMYnwKVo6l56BiIbM
+I6JrKNq/PhieGTEK/QcEXGPjTp6dcsVimHRPmk67a0M6+TFbGTe4iEhOuW9GkJk3
+ieVi8R1Mn9zHjgnIjyXu0+OdVnCBQdhCpZ7YI0yuup5srm2Ml9iVacYxaJpRiw3U
+FJPzttDPH9hV9iN3xctuSIzmv/VyEN3GXgruI2OlFDRtbVjxQHQnv7idLNKMMtDm
+l3c2PzD7CqIFY44F8J1ZCO5yxh1U9vpA4QHHcwEvB5D2Z7SbsVWvwIR0O89MgHS8
+kp0PNNRxGPz8vRI8jMh1uYDUza9BvsYufyUJmM/yB/oCUQ5qC3oKrpBlnYxgkxSv
+Rj4mt7GsCNvAq9nG3lojcobVf8kcIK+7LFgdwuT+WP9e7mjBZZCqULacPajdYU+y
+MfaXJ9C+K8pVvrB+FRU+dybrmn7D5vk6PXS8ERR+aXWlYJIoYwuS3OAQ5f/KCoa0
+w6VJwg/LqkwZYYsWl4To3UKMe6fEYuHhXBFr4JDQqOaTWheLk7ONRRcoqGkfiSJv
+xiB6DWbNj/UAnkJ+xOpBYmePy2woOHEtISUVP7YCLyYNTh6zz1hlu47ZFKoR+OT5
+PsWgJwF7rTuiAjsulhLPLVtjzpITHt8HSxQ1y7jRWlLZe5OAwwvRYpDnF6ji3eCN
+0lwBHWBZk2rdqSWcGqkqUg/sZwEhK4SZ3RW46VU9JUTSQwPfZc9s8fzGZ3ZmKRTo
+r88PseDOwNrDSkxHHR6WsmAWAopA4CA4mJpcehxh+0jOQXddpoXNTRe84YsVdQ==
+=/nM4
+-----END PGP MESSAGE-----
--- a/.muttrc
+++ b/.muttrc
@@ -1,6 +1,10 @@
 # IMAP
 source ~/.mutt/roomag/config
 
+macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/roomag/config<enter><change-folder>!<enter>'
+
+source `F=$HOME/.mutt/local; if [ ! -s "$F" ]; then F=/dev/null;fi;echo "$F"`
+
 unset imap_passive
 set imap_idle             = yes
 set imap_check_subscribed = yes

mercurial