aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:19:20 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:20:02 +0100
commit597d13addc66291c51ae7ba1161f3d124ad6d370 (patch)
tree61721058e7dba1e32702346f95386f7249123df3
parentb71d17eb7ea919c4b9b8d0645e1843d55776634d (diff)
downloaddotfiles-597d13addc66291c51ae7ba1161f3d124ad6d370.tar.xz
mutt: add support for archlinux.org email
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-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