diff options
author | Vasil Zlatanov <v@skozl.com> | 2017-09-30 15:55:01 +0100 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2017-09-30 15:55:01 +0100 |
commit | 0acc2b9fb6df46ea7f45464e80437384a3fb43ac (patch) | |
tree | 8706dc45b13d72a5cf7fc412e5592d0dd158b8ce /Mail | |
parent | 9438385bc07ff962a3fab981e678d9b289d9a59a (diff) | |
download | dotfiles-0acc2b9fb6df46ea7f45464e80437384a3fb43ac.tar.gz dotfiles-0acc2b9fb6df46ea7f45464e80437384a3fb43ac.tar.bz2 dotfiles-0acc2b9fb6df46ea7f45464e80437384a3fb43ac.zip |
Add macros to change sender address
Diffstat (limited to 'Mail')
-rw-r--r-- | Mail/msmtprc | 3 | ||||
-rw-r--r-- | Mail/muttrc | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/Mail/msmtprc b/Mail/msmtprc index 6b02734..19ea47a 100644 --- a/Mail/msmtprc +++ b/Mail/msmtprc @@ -14,9 +14,10 @@ port 587 protocol smtp auth on from vasil.zlatanov15@imperial.ac.uk -user vasil.zlatanov15@imperial.ac.uk +user vz215@ic.ac.uk tls on tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt account bitmessage host mail.bitmessage.ch diff --git a/Mail/muttrc b/Mail/muttrc index 2f5cba3..cdbcc05 100644 --- a/Mail/muttrc +++ b/Mail/muttrc @@ -3,7 +3,7 @@ source ~/.mutt/crypto.rc #LocalMail config set mbox_type = Maildir -set sendmail = /usr/local/bin/msmtpq +set sendmail = msmtp set folder = ~/.mail/ set spoolfile = "+dove/Inbox" @@ -82,6 +82,16 @@ bind browser,pager \Cy previous-line bind index \Ce next-line bind index \Cy previous-line +# Change from address +bind index F noop +macro index Fi \ + ":set sendmail='msmtp -a imperial'; set from='vasil.zlatanov15@imperial.ac.uk<enter>" \ + ":set from to vasil.zlatanov15@imperial.ac.uk" + +macro index Fd \ + "set sendmail='msmtp'; set sendmail='v@skozl.com'<enter>" \ + "set from to v@skozl.com' + bind index d noop macro index dd \ "<save-message>+dove/Trash<enter>" \ |