ho provato a seguire le tue istruzioni e il problema sta nel programma che si collega in smtp col server x colpa dei certificati
mutt -s "test"
[email protected] < ~/testo
msmtp: TLS certificate verification failed: the certificate hasn't got a known issuer
msmtp: could not send mail (account default from /home/andrea/.msmtprc)
Error sending message, child exited 69 (Service unavailable.).
Could not send the message.
msmtp.log
Mar 26 13:20:50 host=smtp.gmail.com tls=on auth=on user=andrew19881123
[email protected] [email protected] errormsg='TLS certificate verification failed: the certificate hasn?t got a known issuer' exitcode=EX_UNAVAILABLE
.msmtprc
account default
host smtp.gmail.com
port 587
from
[email protected]
tls on
tls_starttls on
#tls_trust_file /etc/ssl/certs/ca-certificates.crt
tls_trust_file /home/andrea/Desktop/google
auth on
user andrew19881123
password qualapasswd
logfile ~/.msmtp.log
come vedi prima avevo provato a scaricare openssl e mettere ca-certificates.crt come avevo letto in un altra guida.. ma nn va nulla.. ho poi richiesto a google il certificato da terminale in un modo che nn ricordo + e l'ho messo dentro a ~/Desktop/google e anche quello nn funziona.. dove lo trovo io il certificato?? ho configurato anche postfix e da lo stesso problema.. solo che nn ricordo + dv sn i file della sua configurazione.. li ho provati tutti e ho un casino assurdo..