-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP Endpoints certificate errors when SSL MODE
set to None
#2564
Comments
Are you referring to the |
I meant changing the setting in the |
Interesting, the code seems okay for that postal/lib/postal/smtp_sender.rb Lines 58 to 67 in 2f62baa
I wonder if there is some kind of default so the "none" needs setting specifically somehow. The ruby docs suggest there are some disable methods available. Are you able to make this code change to double check? else
smtp_client.disable_starttls()
smtp_client.disable_tls()
end |
Yep, that fixed it. |
excellent news, would you like to make a PR? |
Facing this, this helped fix the issue. Can I make a PR, would like to see the update ASAP |
I guess it doesn't matter who makes the PR but ideally it would be one of you who can easily reproduce the problem and also try out any alternative fixes suggested by the reviewer |
Describe the bug
Since I updated to the latest release 2.1.4 about a week ago, I saw incoming emails all being soft bounced saying,
I suppose it was working before the update at version 2.1.1.
I had been setting the
SSL MODE
toNone
as172.17.0.1
is a local machine's docker interface IP and doesn't require encrypted connection. (smtpd_tls_security_level
is set as may in Postfix)To Reproduce
SSL MODE
toNone
in Postal routing and route emails to that Postfix.Expected behavior
It should not try to verify for certificate validity if
SSL MODE
is set toNone
.Environment details
Additional information/context
It works if I set the
SSL MODE
asAuto
.The text was updated successfully, but these errors were encountered: