From 597d13addc66291c51ae7ba1161f3d124ad6d370 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 5 Feb 2016 00:19:20 +0100 Subject: mutt: add support for archlinux.org email MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- mutt/demize@archlinux.org.muttrc | 4 ++++ mutt/johannes@kyriasis.com.muttrc | 4 ++++ mutt/muttrc | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 mutt/demize@archlinux.org.muttrc create mode 100644 mutt/johannes@kyriasis.com.muttrc 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 'goobook -c "$XDG_CONFIG_HOME/goobookrc" add complete-query +# Sending email +macro generic "A" ":source \"$XDG_CONFIG_HOME\"/mutt/demize@archlinux.org.muttrc" +macro generic "K" ":source \"$XDG_CONFIG_HOME\"/mutt/johannes@kyriasis.com.muttrc" + + # Sync email macro index O 'mbsync -c "$XDG_CONFIG_HOME/mbsyncrc" theos' \ '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 -- cgit v1.2.3-70-g09d2