[SMART]Utiliser msmtp (résolu)
Publié : dim. 26 juin 2011, 01:21
Salut a tous
J'ai besoin de votre aide car j'aimerais que smartd m'envoie un mail en cas de petit hic sur mon disque dur, jai donc suivi le wiki https://wiki.archlinux.org/index.php/SMART mais je ne recois aucun mail en faisant un test (avec -M test)
Voici mon /var/log/daemon.log
J'ai configurer msmtp qui fonctionne tres bien quand je l'utilise tout seul, j'ai également rajouter la ligne dans mon /etc/mail.rc
Voici mon msmtprc.conf
J'espere que vous pourraient m'aider je galere trop !
Merci d'avance

Voici mon /var/log/daemon.log
Code : Tout sélectionner
Jun 26 00:34:20 localhost smartd[10662]: Executing test of mail to <mon @mail> ...
Jun 26 00:34:20 localhost smartd[10662]: Test of mail to <mon @mail> produced unexpected output (70 bytes) to STDOUT/STDERR:
Jun 26 00:34:20 localhost smartd[10662]: send-mail: account default not found: no configuration file available
Jun 26 00:34:20 localhost smartd[10662]: Test of mail to <mon @mail>: successful
Code : Tout sélectionner
set sendmail=/usr/bin/msmtp
Voici mon msmtprc.conf
Code : Tout sélectionner
account default
tls on
host smtp.gmail.com
port 587
from nom_user@gmail.com
auth on
user nom_user
password password_user
tls_starttls off
tls_certcheck off
Merci d'avance
