aboutsummaryrefslogtreecommitdiffstats
path: root/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'mutt')
-rw-r--r--mutt/demize@archlinux.org.muttrc4
-rw-r--r--mutt/johannes@kyriasis.com.muttrc4
-rw-r--r--mutt/muttrc7
3 files changed, 14 insertions, 1 deletions
diff --git a/mutt/demize@archlinux.org.muttrc b/mutt/demize@archlinux.org.muttrc
new file mode 100644
index 0000000..9312d3b
--- /dev/null
+++ b/mutt/demize@archlinux.org.muttrc
@@ -0,0 +1,4 @@
+set from = "demize@archlinux.org"
+set sendmail = "nymeria-sendmail"
+
+# vim: ft=muttrc
diff --git a/mutt/johannes@kyriasis.com.muttrc b/mutt/johannes@kyriasis.com.muttrc
new file mode 100644
index 0000000..ac66f3b
--- /dev/null
+++ b/mutt/johannes@kyriasis.com.muttrc
@@ -0,0 +1,4 @@
+set from = "johannes@kyriasis.com"
+set sendmail = "msmtp --file $XDG_CONFIG_HOME/msmtprc -a theos"
+
+# vim: ft=muttrc
diff --git a/mutt/muttrc b/mutt/muttrc
index d3ed01f..369176a 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -96,11 +96,16 @@ macro index,pager A '<pipe-message>goobook -c "$XDG_CONFIG_HOME/goobookrc" add<r
'add the sender address to Google contacts'
bind editor <Tab> complete-query
+# Sending email
+macro generic "<Esc>A" ":source \"$XDG_CONFIG_HOME\"/mutt/demize@archlinux.org.muttrc<return>"
+macro generic "<Esc>K" ":source \"$XDG_CONFIG_HOME\"/mutt/johannes@kyriasis.com.muttrc<return>"
+
+
# Sync email
macro index O '<shell-escape>mbsync -c "$XDG_CONFIG_HOME/mbsyncrc" theos<return>' \
'run mbsync to sync all mail'
-set sendmail = "/usr/bin/msmtp --file $XDG_CONFIG_HOME/msmtprc -a theos"
+set sendmail = "msmtp --file $XDG_CONFIG_HOME/msmtprc -a theos"
set sendmail_wait = 0
set copy = yes