Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| it:cron [2025/02/11 19:20] – vlp | it:cron [2026/08/31 08:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ## Envoi email | + | ====== Cron ====== |
| - | ## Config | + | ===== Configurer l' |
| + | Ajouter la variable suivante dans `/ | ||
| - | Dans / | + | <code ini> |
| - | Puis relancer cron.service | + | MAILTO=" |
| + | </ | ||
| - | ## Config MTA | + | Puis relancer le service : |
| - | `sudo apt install msmtp msmtp-mta bsd-mailx` | + | <code bash> |
| - | + | sudo systemctl restart cron.service | |
| - | 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 | + | |
| - | | + | |
