From 810c7710f016f452e6aeec39be6bcde24b586c1f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 21 Aug 2018 14:38:20 -0400 Subject: full msmtprc compatibility added --- autoconf/msmtprc_header | 6 ++++++ autoconf/msmtprc_profile | 7 +++++++ autoconf/mutt_profile | 1 - 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 autoconf/msmtprc_header create mode 100644 autoconf/msmtprc_profile (limited to 'autoconf') diff --git a/autoconf/msmtprc_header b/autoconf/msmtprc_header new file mode 100644 index 0000000..8040e03 --- /dev/null +++ b/autoconf/msmtprc_header @@ -0,0 +1,6 @@ +defaults +auth on +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.msmtp.log + diff --git a/autoconf/msmtprc_profile b/autoconf/msmtprc_profile new file mode 100644 index 0000000..0ec99d0 --- /dev/null +++ b/autoconf/msmtprc_profile @@ -0,0 +1,7 @@ + +account $title +host $smtp +port $sport +from $login +user $login +passwordeval "gpg -d --quiet --for-your-eyes-only --no-tty ~/.config/mutt/credentials/$title.gpg | sed -e '$a\'" diff --git a/autoconf/mutt_profile b/autoconf/mutt_profile index 3b4622b..a96c93a 100644 --- a/autoconf/mutt_profile +++ b/autoconf/mutt_profile @@ -2,7 +2,6 @@ # muttrc file for account $title set realname = "$realname" set from = "$fulladdr" -set smtp_url = "smtp://$login@$smtp:$sport/" set sendmail = "/usr/bin/msmtp -a $title" set folder = "~/.mail/$title" set header_cache = ~/.config/mutt/accounts/$title/cache/headers -- cgit v1.2.3