aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-12-14 08:43:50 -0500
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-12-14 08:43:50 -0500
commitd27e4a8ff0570cc07317bf49c8dd3a9e42a869ec (patch)
tree52fbf154a7cee71ac8328367034271dd0e889ba6
parentAdded enru command (diff)
Fix from fields
-rw-r--r--.mutt/accounts.rc29
-rw-r--r--.muttrc4
2 files changed, 9 insertions, 24 deletions
diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc
index 45adbd6..59551fa 100644
--- a/.mutt/accounts.rc
+++ b/.mutt/accounts.rc
@@ -24,13 +24,7 @@ set spoolfile = 'imaps://9rak@mail.queensu.ca/Inbox';\
set imap_passive = 'no'"
send-hook . \
-"set from = 'Ryan Kavanagh <ryanakca@kubuntu.org>';\
-set envelope_from_address = 'Ryan Kavanagh <ryanakca@kubuntu.org>';\
-set use_from = yes;\
-set use_envelope_from = 'yes';\
-my_hdr From: ryanakca@kubuntu.org;\
-my_hdr Reply-To: ryanakca@kubuntu.org;\
-my_hdr Return-Path: ryanakca@kubuntu.org;\
+"set from = ryanakca@kubuntu.org;\
set sendmail='MSMTP_PATH';\
unset smtp_url;\
unset smtp_pass;\
@@ -39,13 +33,7 @@ set spoolfile = '=INBOX';\
set postponed = '=[Google Mail]/Drafts'"
folder-hook . \
-"set from = 'Ryan Kavanagh <ryanakca@kubuntu.org>';\
-set envelope_from_address = 'Ryan Kavanagh <ryanakca@kubuntu.org>';\
-set use_from = yes;\
-set use_envelope_from = 'yes';\
-my_hdr From: ryanakca@kubuntu.org;\
-my_hdr Reply-To: ryanakca@kubuntu.org;\
-my_hdr Return-Path: ryanakca@kubuntu.org;\
+"set from = ryanakca@kubuntu.org;\
set sendmail='MSMTP_PATH';\
unset smtp_url;\
unset smtp_pass;\
@@ -61,12 +49,7 @@ set status_format = '-%r-MAIN: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? D
folder-hook .*[Qq]ueens[uU].* \
"unhook send-hook;\
-set envelope_from_address = 'ryan.kavanagh@queensu.ca';\
-set from = 'ryan.kavanagh@queensu.ca';\
-my_hdr From: ryan.kavanagh@queensu.ca;\
-my_hdr Reply-To: ryan.kavanagh@queensu.ca;\
-my_hdr Return-Path: ryan.kavanagh@queensu.ca;\
-set use_envelope_from = 'yes';\
+set from = ryan.kavanagh@queensu.ca;\
unset sendmail;
set smtp_url="smtps://9rak@mail.queensu.ca:465/";\
set smtp_pass = 'QUEENSU_PASS';\
@@ -90,8 +73,8 @@ macro index <F12> "cimaps://imap.gmail.com/INBOX<enter>"
macro index <F11> "cimap://localhost/INBOX<enter>"
macro index <F10> "cimaps://mail.queensu.ca/Inbox<enter>"
-macro compose <F2> '<enter-command>set sendmail="MSMTP_PATH -a ubuntu"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from>Ryan Kavanagh <ryanakca@ubuntu.com><enter><edit-reply-to>ryanakca@ubuntu.com<enter><edit-fcc><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from Ubuntu account"
-macro compose <F3> '<enter-command>set sendmail="MSMTP_PATH"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from>Ryan Kavanagh <ryanakca@kubuntu.org><enter><edit-reply-to>ryanakca@kubuntu.org<enter><edit-fcc><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from Kubuntu account"
-macro compose <F4> '<enter-command>unset sendmail<enter><edit-from>Ryan Kavanagh <ryan.kavanagh@queensu.ca><enter><edit-reply-to>ryan.kavanagh@queensu.ca<enter><edit-fcc>=QueensU.Sent<enter><enter-command>set postponed="=QueensU.Drafts"<enter><enter-command>set smtp_url="smtps://9rak@mail.queensu.ca:465/"<enter><enter-command>set smtp_pass="QUEENSU_PASS"<enter><enter-command>set record="=QueensU.Sent"<enter>' "Sent mail from Queen's account"
+macro compose <F2> '<enter-command>set sendmail="MSMTP_PATH -a ubuntu"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from>Ryan Kavanagh <ryanakca@ubuntu.com><enter><edit-fcc><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from Ubuntu account"
+macro compose <F3> '<enter-command>set sendmail="MSMTP_PATH"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from>Ryan Kavanagh <ryanakca@kubuntu.org><enter><edit-fcc><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from Kubuntu account"
+macro compose <F4> '<enter-command>unset sendmail<enter><edit-from>Ryan Kavanagh <ryan.kavanagh@queensu.ca><enter><edit-fcc>=QueensU.Sent<enter><enter-command>set postponed="=QueensU.Drafts"<enter><enter-command>set smtp_url="smtps://9rak@mail.queensu.ca:465/"<enter><enter-command>set smtp_pass="QUEENSU_PASS"<enter><enter-command>set record="=QueensU.Sent"<enter>' "Sent mail from Queen's account"
set certificate_file = '~/.mutt/certs/certificates'
diff --git a/.muttrc b/.muttrc
index 2fc7c7a..241d246 100644
--- a/.muttrc
+++ b/.muttrc
@@ -1,6 +1,8 @@
set realname = 'Ryan Kavanagh' # default: ''
+set use_from = yes
+set use_envelope_from = yes
set reverse_name
-alternates "ryanakca@gmail\.com|ryanakca@kubuntu\.org|ryanakca@ubuntu\.com|9rak@queensu\.ca|ryan\.kavanagh@queensu\.ca"
+alternates "ryanakca@gmail\.com|ryanakca@kubuntu\.org|ryanakca@ubuntu\.com|9rak@queensu\.ca|ryan\.kavanagh@queensu\.ca|rak@debian\.org"
set crypt_autosign = yes # default: no
set crypt_replysign = yes # default: no