muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
166 stars 16 forks source link

Possible to use in amazon cloud? #56

Open Wally0815 opened 1 year ago

Wally0815 commented 1 year ago

the programm is working perfectly. But if i try to get it working in the cloud it gets a timeout trying to reach the smtp server. Is there a way to use mailsend-go? I am not the admin only a user on the aws-instance 2023/06/20 09:12:02 ERROR: dial tcp 212.227.17.184:465: i/o timeout

muquit commented 1 year ago

Try startTLS (port 587) instead, I can reach the IP you specified fine. I can reach SSL port 465 as well but get some bad sequence error, but the ports are open. It could be in your side, something is blocking the connection.

Thx

# mailsend-go -info -smtp 212.227.17.184 -port 587 -debug
2023/06/20 17:10:03 SMTP Server: 212.227.17.184:587
[S] 220 gmx.net (mrgmx004) Nemesis ESMTP Service ready
[C] HELO localhost
[C] EHLO localhost
[S] 250-gmx.net Hello localhost [xx.xx.xx.xx]
[S] 250-8BITMIME
[S] 250-SIZE 69920427
[S] 250-STARTTLS
[C] STARTTLS
[S] 220-OK
[C] EHLO localhost
[S] 250-gmx.net Hello localhost [xx.xx.xx.xx]
[S] 250-8BITMIME
[S] 250-AUTH LOGIN PLAIN
[S] 250-SIZE 69920427
Certificate of 212.227.17.184:
 Version: 3 (0x3)
 Serial Number: 17318747245906231087668175401711030649 (0xd07782a133fc6f9a57296e131ffd179)
 Signature Algorithm: SHA256-RSA
 Subject: CN=GeoTrust TLS RSA CA G1,OU=www.digicert.com,O=DigiCert Inc,C=US
 Issuer: DigiCert Global Root G2
 Not before: 2017-11-02 12:23:37 +0000 UTC
 Not after: 2027-11-02 12:23:37 +0000 UTC
[C] QUIT
[S] 221-gmx.net Service closing transmission channel
Wally0815 commented 1 year ago

I tried but it still can´t walk through the Amazon walls. mailsend-go -info -smtp 212.227.17.184 -port 587 -debug 2023/06/21 07:42:20 SMTP Server: 212.227.17.184:587 2023/06/21 07:42:25 dial tcp 212.227.17.184:587: i/o timeout

nevertheless thanks for your help