Hi,
ssmtp can't work with:
SSL_connect: Connection reset by peer
ssmtp: Cannot open smtp.gmail.com:587
Maybe someone worked with it.
I am using:
And revaliases:
I tried all ports with changing UseTLS and UseStartTLS,
Also tried:
What could be the issue? Was installed: ssmtp-2.64_4
Thanks,
ssmtp can't work with:
SSL_connect: Connection reset by peer
ssmtp: Cannot open smtp.gmail.com:587
Maybe someone worked with it.
I am using:
Code:
#UseTLS=YES
UseSTARTTLS=YES
TLS_CA_FILE=/usr/local/etc/ssl/intermediate.crt
root=postmaster
mailhub=smtp.gmail.com:587
rewriteDomain=mydomain
hostname=localhost
FromLineOverride=YES
Debug=YES
AuthMethod=LOGIN
AuthUser=MyUser
AuthPass=MyPass
And revaliases:
Code:
root:User@domain.com:smtp.gmail.com:587
I tried all ports with changing UseTLS and UseStartTLS,
Also tried:
Code:
openssl s_client -tls1 -connect smtp.gmail.com:587
CONNECTED(00000003)
write:errno=54
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 127 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1641990833
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
telnet smtp.gmail.com 587
Trying 142.251.1.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP f23sm1547407ljn.0 - gsmtp
What could be the issue? Was installed: ssmtp-2.64_4
Thanks,