From eafd1477f6a1344b75a927d374880eec05d37629 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 25 Mar 2020 10:32:13 +0000 Subject: [PATCH] Changes to mutt config --- mutt/{ => .config/mutt}/mailcap | 0 mutt/{ => .config/mutt}/muttrc | 23 ++++++++++++++++++++++- mutt/.config/mutt/work-email.secret | Bin 0 -> 179 bytes 3 files changed, 22 insertions(+), 1 deletion(-) rename mutt/{ => .config/mutt}/mailcap (100%) rename mutt/{ => .config/mutt}/muttrc (89%) create mode 100644 mutt/.config/mutt/work-email.secret diff --git a/mutt/mailcap b/mutt/.config/mutt/mailcap similarity index 100% rename from mutt/mailcap rename to mutt/.config/mutt/mailcap diff --git a/mutt/muttrc b/mutt/.config/mutt/muttrc similarity index 89% rename from mutt/muttrc rename to mutt/.config/mutt/muttrc index 03f2e521..b9d6f49f 100644 --- a/mutt/muttrc +++ b/mutt/.config/mutt/muttrc @@ -3,6 +3,20 @@ set header_cache = ~/.cache/mutt +# This file should include +# imap_user, imap_pass, realname and from +source ~/.config/mutt/work-email.secret + +set folder = "imap://127.0.0.1:1143/" +set spoolfile = +INBOX +mailboxes = +INBOX + +set use_from = yes + +set smtp_url="smtp://$imap_user:$imap_pass@127.0.0.1:1025" + +set ssl_force_tls = no +set ssl_starttls = no set sort = threads set sort_aux = reverse-last-date-received @@ -14,7 +28,7 @@ set include # include message in replies set editor = "vim +':set textwidth=0'" set include = yes set new_mail_command = "notify-send 'New Email'" -set sendmail = "/home/jonathan/.bin/emails/send-from-mutt" +#set sendmail = "/home/jonathan/.bin/emails/send-from-mutt" set edit_headers=yes @@ -25,6 +39,13 @@ alternative_order text/plain text/enriched text/html macro attach 'V' "cat >~/.cache/mutt/mail.html && qutebrowser ~/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html" + +bind index R imap-fetch-mail + + +set query_command = "/home/jonathan/Contacts/lookup | grep '%s'" + + # Formatting # Default index colors: diff --git a/mutt/.config/mutt/work-email.secret b/mutt/.config/mutt/work-email.secret new file mode 100644 index 0000000000000000000000000000000000000000..1087c6c320119858c3fe4b6838ffb1248be41a7a GIT binary patch literal 179 zcmV;k08IY?M@dveQdv+`0BA?TuK%1In%@6;<=~XmJ)*_Orh3i^lnZlLLCDVb&aY&HGy4J+T3$rTHgtp*`(_h5>6CZgiSX!ok zhr<~7=MVm$Dg>#KJcyCuQ=Dw5&SXt~Z_Q%xNVneF!vOk^$keIG%^N6fu!9!|fbMuL ho@)T@&~Yy_ivcM9CpJ`dG7P1vpB5qBL)IRP=RTysTTB1| literal 0 HcmV?d00001