aboutsummaryrefslogtreecommitdiff
path: root/Mail/muttrc
diff options
context:
space:
mode:
Diffstat (limited to 'Mail/muttrc')
-rw-r--r--Mail/muttrc12
1 files changed, 11 insertions, 1 deletions
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>" \