From 450c76b09a70daa6137b081ed9b7d57355d4fb80 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 20 Aug 2024 07:50:16 +0200 Subject: emacs: drastically simplify my email setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of having a myriad of accounts, let's set up only two of them, which are the actual ones I use on mu4e. This gets rid of hacks I did to keep some of the accounts floating, while also dropping some shenanigans like signatures which were never really relevant. With all of this off loaded from Emacs, the msmtp configuration also gets simplified, and I took the chance to tweak further some of the defaults. Signed-off-by: Miquel Sabaté Solà --- .config/msmtp/config | 42 ++++++------------------------------------ 1 file changed, 6 insertions(+), 36 deletions(-) (limited to '.config/msmtp/config') diff --git a/.config/msmtp/config b/.config/msmtp/config index 8fbcdc1..ee61e2d 100644 --- a/.config/msmtp/config +++ b/.config/msmtp/config @@ -1,7 +1,9 @@ # Set default values for all following accounts. defaults -auth on -tls on +auth login +tls on +tls_certcheck off +tls_starttls on logfile ~/.msmtp.log # gmail.com @@ -9,7 +11,7 @@ account gmail host smtp.gmail.com port 587 from mikisabate@gmail.com -user mikisabate +user mikisabate@gmail.com passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpassgmail.gpg" # suse.com @@ -17,40 +19,8 @@ account comsuse host smtp.gmail.com port 587 from msabate@suse.com -user msabate +user msabate@suse.com passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusecom.gpg" -# suse.de -account desuse -host imap.suse.de -port 587 -from msabate@imapsusede -user msabate@imapsusede -passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.imapsusede.gpg" - -# cgtsuse.org -account sindicat -host cgtsuse.org -port 587 -from msabate@cgtsuse.org -user msabate@cgtsuse.org -passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusede.gpg" - -# capellades.cat -account ajuntament -host mail.diba.cat -port 587 -from sabatesm@capellades.cat -user dibasp\sabatesm -passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusede.gpg" - -# uoc.edu -account uoc -host smtp.gmail.com -port 587 -from mssola@uoc.edu -user mssola -passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpassuoc.gpg" - # Set a default account account default : gmail -- cgit v1.2.3