Bonsoir tout le monde!
Me voilà de retour avec une nouvelle question.
J’ai installé ssmtp avec mailutils. Lorsque je saisis la commande : echo "test" | mail -s "test" monmail@gmail.com
J’ai en retour : send-mail: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS command first. 18sm44649981wju.15 - gsmtp)
Can't send mail: sendmail process failed with error code 1
Mon fichier /etc/ssmtp/ssmtp.confressemble donc à ça : [code]
Config file for sSMTP sendmail
The person who gets all mail for userids < 1000
Make this empty to disable rewriting.
The place where the mail goes. The actual machine name is required no
MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub:587=smtp.gmail.com
#Activer l’usage du TLS
UseSTRATTLS=YES
AuthUser=monmail@gmail.com
AuthPass=monmdp
Where will the mail seem to come from?
#rewriteDomain=gmail.com
FromLineOverride=YES
The full hostname
hostname=ben-deb.home
Are users allowed to set their own From: address?
YES - Allow the user to specify their own From: address
NO - Use the system generated From: address
#FromLineOverride=YES
[/code]
Quelqu’un aurait-il une idée?
Merci d’avance,
xakan