From 4f32759f3360509c452b221f62e89f6227ec934d Mon Sep 17 00:00:00 2001 From: rdelaage Date: Thu, 25 Jun 2020 07:17:58 +0200 Subject: [PATCH] Add test process --- NotifMail.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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