From 09cea8065a6216ce4e07f0cdfd35a9fa034a0dfa Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 18:21:50 +0100 Subject: [PATCH] Add home/.msmtprc --- home/dot_msmtprc.tmpl | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 home/dot_msmtprc.tmpl diff --git a/home/dot_msmtprc.tmpl b/home/dot_msmtprc.tmpl new file mode 100644 index 0000000..fb3e05e --- /dev/null +++ b/home/dot_msmtprc.tmpl @@ -0,0 +1,56 @@ +# Set default values for all following accounts. +defaults +auto_from on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +syslog on +# logfile /var/log/msmtp.log + +# MaLa +account jeff.lance@mala.fr +host ssl0.ovh.net +port 465 +auth on +tls on +tls_starttls off +user jeff.lance@mala.fr +passwordeval "echo $(pass ssl0.ovh.net/jeff.lance@mala.fr)" +auto_from off +from jeff.lance@mala.fr + +account games@mala.fr +host ssl0.ovh.net +port 465 +auth on +tls on +tls_starttls off +user games@mala.fr +passwordeval "echo $(pass ssl0.ovh.net/games@mala.fr)" +auto_from off +from games@mala.fr + +# GMail +account mathslance@gmail.com +host imap.gmail.com +port 465 +auth on +tls on +tls_starttls off +user mathslance@gmail.com +passwordeval "echo $(pass google.com/mathslance@gmail.com)" +auto_from off +from mathslance@gmail.com + +# Ac-creteil +account jean-francois.lance@ac-creteil.fr +host smtp-ext.ac-creteil.fr +port 465 +auth plain +tls on +tls_starttls off +user jlance +passwordeval "echo $(pass ac-creteil.fr/jlance)" +auto_from off +from jean-francois.lance@ac-creteil.fr + +# Set a default account +account default : jeff.lance@mala.fr