Mémo

Envoi email

Config cron

Dans /etc/default/cron ajouter: MAILTO="addresse@domain.tld" Puis relancer cron.service

Config MTA

sudo apt install msmtp msmtp-mta bsd-mailx

vim .msmtprc

defaults
host mail.00011100.org
port 587
protocol smtp
tls on
tls_certcheck on
tls_starttls on
auth on

account Personal
from web@00011100.org
user web@00011100.org
password super_passwd 
account default : Web_monitoring