diff --git a/NotifMail.md b/NotifMail.md index b9a921b..12ad527 100644 --- a/NotifMail.md +++ b/NotifMail.md @@ -8,4 +8,10 @@ Pour ouvrir l'utilitaire de configuration lancez `sudo dpkg-reconfigure exim4-co Puis on édite /etc/exim4/passwd.client pour y ajouter les identifiants, puis on édite /etc/exim4/exim4.conf.template pour ajouter les lignes protocol = smtps et hosts_require_auth = ssl0.ovh.net et enfin on édite /etc/email-addresses selon le schéma décrit en en-tête de fichier. -[Sources](https://www.deltasight.fr/utiliser-ovh-smarthost-exim4/) \ No newline at end of file +[Sources](https://www.deltasight.fr/utiliser-ovh-smarthost-exim4/) + +## Tester + +Pour tester votre configuration vous pouvez utiliser la commande mail comme suit : + +`echo "Votre message, le corps du mail" | mail -s "Sujet du mail" votre.nom@exemple.org`, si tout a été configuré correctement vous devriez voir apparaître un mail dans votre boîte de réception \ No newline at end of file