1
0

Add home/.msmtprc

This commit is contained in:
Jeff Lance 2024-03-04 18:21:50 +01:00
parent a434f49684
commit 09cea8065a

56
home/dot_msmtprc.tmpl Normal file
View File

@ -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