[GH-ISSUE #5] I get an error message re. SSL when connecting to remote the remote service #3

Closed
opened 2026-02-26 18:32:55 +03:00 by kerem · 3 comments
Owner

Originally created by @quistian on GitHub (Dec 3, 2020).
Original GitHub issue: https://github.com/decke/smtprelay/issues/5

swaks -s 10.10.10.11 --to russ@quist.ca

=== Trying 10.10.10.11:25...
=== Connected to 10.10.10.11.
<- 220 localhost.localdomain ESMTP ready.
-> EHLO localhost
<- 250-localhost.localdomain
<- 250-SIZE 10240000
<- 250-8BITMIME
<- 250 PIPELINING
-> MAIL FROM:root@localhost
<- 250 Go ahead
-> RCPT TO:russ@quist.ca
<- 250 Go ahead
-> DATA
<- 354 Go ahead. End your data with .
-> Date: Thu, 03 Dec 2020 15:55:24 -0500
-> To: russ@gmail.org
-> From: root@localhost
-> Subject: test Thu, 03 Dec 2020 15:55:24 -0500
-> Message-Id: 20201203155524.042117@localhost
-> X-Mailer: swaks v20190914.0 jetmore.org/john/code/swaks/
->
-> This is a test mailing
->
->
-> .
<** 554 Forwarding failed
-> QUIT
<- 221 OK, bye

And the log file says:
2020/12/03 15:55:24 new mail from=root@localhost to=[russ@gmail.org peer=[10.10.10.11]
2020/12/03 15:55:24 delivering using smarthost smtp.mailgun.org:587
2020/12/03 15:55:24 delivery failed: x509: certificate signed by unknown authority

Have I got something misconfigured?

Originally created by @quistian on GitHub (Dec 3, 2020). Original GitHub issue: https://github.com/decke/smtprelay/issues/5 # swaks -s 10.10.10.11 --to russ@quist.ca === Trying 10.10.10.11:25... === Connected to 10.10.10.11. <- 220 localhost.localdomain ESMTP ready. -> EHLO localhost <- 250-localhost.localdomain <- 250-SIZE 10240000 <- 250-8BITMIME <- 250 PIPELINING -> MAIL FROM:<root@localhost> <- 250 Go ahead -> RCPT TO:<russ@quist.ca> <- 250 Go ahead -> DATA <- 354 Go ahead. End your data with <CR><LF>.<CR><LF> -> Date: Thu, 03 Dec 2020 15:55:24 -0500 -> To: russ@gmail.org -> From: root@localhost -> Subject: test Thu, 03 Dec 2020 15:55:24 -0500 -> Message-Id: <20201203155524.042117@localhost> -> X-Mailer: swaks v20190914.0 jetmore.org/john/code/swaks/ -> -> This is a test mailing -> -> -> . <** 554 Forwarding failed -> QUIT <- 221 OK, bye And the log file says: 2020/12/03 15:55:24 new mail from=<root@localhost> to=[russ@gmail.org peer=[10.10.10.11] 2020/12/03 15:55:24 delivering using smarthost smtp.mailgun.org:587 2020/12/03 15:55:24 delivery failed: x509: certificate signed by unknown authority Have I got something misconfigured?
kerem closed this issue 2026-02-26 18:32:55 +03:00
Author
Owner

@decke commented on GitHub (Dec 4, 2020):

Sounds like Go is unable to verify the CA so I would start checking what openssl says:

openssl s_client -host smtp.gmail.com -port 587 -starttls smtp -crlf

<!-- gh-comment-id:738631520 --> @decke commented on GitHub (Dec 4, 2020): Sounds like Go is unable to verify the CA so I would start checking what openssl says: `openssl s_client -host smtp.gmail.com -port 587 -starttls smtp -crlf`
Author
Owner

@quistian commented on GitHub (Dec 4, 2020):

Many thanks.

Russell P. Sutherland Email: russell.sutherland@utoronto.ca
Network Engineer, I+TS Voice: +1.416.978.0470
4 Bancroft Ave., Rm. 102 Cell: +1.416.803.0080
University of Toronto
Toronto, ON M5S 1C1


From: Bernhard Fröhlich notifications@github.com
Sent: Friday, December 4, 2020 03:04
To: decke/smtprelay
Cc: Russell Sutherland; Author
Subject: Re: [decke/smtprelay] I get an error message re. SSL when connecting to remote the remote service (#5)

EXTERNAL EMAIL:

Sounds like Go is unable to verify the CA so I would start checking what openssl says:

openssl s_client -host smtp.gmail.com -port 587 -starttls smtp -crlf


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/decke/smtprelay/issues/5#issuecomment-738631520, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMHKHQZIW2KFQ4DJ2DVDKLSTCJYVANCNFSM4UMRBAOA.

<!-- gh-comment-id:738802436 --> @quistian commented on GitHub (Dec 4, 2020): Many thanks. Russell P. Sutherland Email: russell.sutherland@utoronto.ca Network Engineer, I+TS Voice: +1.416.978.0470 4 Bancroft Ave., Rm. 102 Cell: +1.416.803.0080 University of Toronto Toronto, ON M5S 1C1 ________________________________________ From: Bernhard Fröhlich <notifications@github.com> Sent: Friday, December 4, 2020 03:04 To: decke/smtprelay Cc: Russell Sutherland; Author Subject: Re: [decke/smtprelay] I get an error message re. SSL when connecting to remote the remote service (#5) EXTERNAL EMAIL: Sounds like Go is unable to verify the CA so I would start checking what openssl says: openssl s_client -host smtp.gmail.com -port 587 -starttls smtp -crlf — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/decke/smtprelay/issues/5#issuecomment-738631520>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABMHKHQZIW2KFQ4DJ2DVDKLSTCJYVANCNFSM4UMRBAOA>.
Author
Owner

@decke commented on GitHub (Feb 5, 2021):

Did you have time to check if that worked or is the issue still relevant?

<!-- gh-comment-id:774249050 --> @decke commented on GitHub (Feb 5, 2021): Did you have time to check if that worked or is the issue still relevant?
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/smtprelay#3
No description provided.