muttrc now dynamic?

This commit is contained in:
Hunter Haugen 2010-12-21 13:56:59 -08:00
parent 8a666c127b
commit 678cd48786
2 changed files with 30 additions and 17 deletions

28
.muttrc.sh Executable file
View file

@ -0,0 +1,28 @@
#!/bin/sh
if [ x$HOST = xcz ] ; then
echo 'set imap_user="hunter@puppetlabs.com"'
#set imap_pass="password"
#set smtp_url="smtp://hunter.haugen@smtp.gmail.com:587/"
echo 'set folder="imaps://imap.gmail.com:993"'
echo 'set spoolfile="+INBOX"'
#set postponed="+[Gmail]/Drafts"
#set record="+[Gmail]/Sent Mail"
else
# IMAP
echo 'set imap_user="hunner"'
#set imap_pass="password"
# SMTP
echo 'set smtp_url="smtp://mailhost.cecs.pdx.edu:587/"'
#set ssl_min_dh_prime_bits=512
#set smtp_pass="password"
echo 'set from="hunner@cat.pdx.edu"'
echo 'set realname="Hunter Haugen"'
# Folders
echo 'set folder="imaps://mailhost.cecs.pdx.edu:993"'
echo 'set spoolfile="+INBOX"'
fi