51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
# Example for a user configuration file ~/.msmtprc
|
|
|
|
# With modern mail services that publish autoconfiguration information,
|
|
# you can simply run 'msmtp --configure yourmail@example.com' to get
|
|
# a basic working configuration.
|
|
|
|
# This example focusses on TLS and authentication. Features not used here
|
|
# include logging, timeouts, SOCKS proxies, TLS parameters, Delivery Status
|
|
# Notification (DSN) settings, and more.
|
|
|
|
# Set default values: use the mail submission port 587, and always use TLS.
|
|
# On this port, TLS is activated via STARTTLS.
|
|
defaults
|
|
port 587
|
|
tls on
|
|
tls_starttls on
|
|
auth on
|
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
|
logfile ~/.msmtp.log
|
|
|
|
account bb_opytex
|
|
user Takanuva
|
|
passwordeval "pass mail/mailfence/Takanuva | head -n1"
|
|
auth on
|
|
host smtp.mailfence.com
|
|
port 465
|
|
# Envelope-from address
|
|
from benjamin.bertrand@opytex.org
|
|
tls_starttls off
|
|
|
|
account jb_opytex
|
|
user margot_benjamin
|
|
passwordeval "pass mail/jost_bertrand@opytex.org/margot_benjamin | head -n1"
|
|
auth on
|
|
host smtp.mailfence.com
|
|
port 465
|
|
# Envelope-from address
|
|
from jost_bertrand@opytex.org
|
|
tls_starttls off
|
|
|
|
account ac-lyon
|
|
user bbertrand
|
|
passwordeval "pass Prof/pronote/bbertrand | head -n1"
|
|
auth on
|
|
host smtps.ac-lyon.fr
|
|
# Envelope-from address
|
|
from benjamin.bertrand@ac-lyon.fr
|
|
|
|
# Set a default account
|
|
account default : bb_opytex
|