From 33f0c08edf28b2108b57a9dd61e41954ccb96195 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 28 Jun 2021 11:22:45 +0200 Subject: Added msmtp into the mix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .config/msmtp/config | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .config/msmtp/config (limited to '.config/msmtp') diff --git a/.config/msmtp/config b/.config/msmtp/config new file mode 100644 index 0000000..2b6ba68 --- /dev/null +++ b/.config/msmtp/config @@ -0,0 +1,49 @@ +# Set default values for all following accounts. +defaults +auth on +tls on +logfile ~/.msmtp.log + +# gmail.com +account gmail +host smtp.gmail.com +port 587 +from mikisabate@gmail.com +user mikisabate +passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpassgmail.gpg" + +# suse.com +account susecom +host smtp.office365.com +port 587 +auth xoauth2 +from msabate@suse.com +user msabate@suse.com +passwordeval ~/bin/mutt_oauth2.py ~/.mail/susecom/sessionfile + +# suse.de +account susede +host imap.suse.de +port 587 +from msabate@suse.de +user msabate@suse.de +passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusede.gpg" + +# cgtsuse.org +account cgtsuse +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" + +# Set a default account +account default : gmail -- cgit v1.2.3