aboutsummaryrefslogtreecommitdiff
path: root/.config/msmtp/config
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-08-20 07:50:16 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-08-20 07:50:16 +0200
commit450c76b09a70daa6137b081ed9b7d57355d4fb80 (patch)
tree84f28b284897391cb57a17b5cc2468cbff809eac /.config/msmtp/config
parentc097d87de7a48f34d577fc41acdfdbcf79c8197c (diff)
downloaddotfiles-450c76b09a70daa6137b081ed9b7d57355d4fb80.tar.gz
dotfiles-450c76b09a70daa6137b081ed9b7d57355d4fb80.zip
emacs: drastically simplify my email setup
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à <mikisabate@gmail.com>
Diffstat (limited to '.config/msmtp/config')
-rw-r--r--.config/msmtp/config42
1 files changed, 6 insertions, 36 deletions
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