Want to confirm if this is a bug or not?
When I set the following:
SMTP address: secure.example.com
SMTP port: 465
SMTP encryption protocol: TLS
SMTP authorizaqtion required: ticked
I get a 504 connection error message when sending a test email.
SMTP address: secure.example.com
SMTP port: 465
SMTP encryption protocol: SSL
SMTP authorizaqtion required: ticked
Gets sent straight away when sending a test email.
Makes no sense as SSL is the older version and TLS is the upgraded version and my test server fully supports both.
I know many people have said SMTP doesn't work correctly in October for a while. I just wonder if this is the reason why?
Would be nice if someone else could confirm this.
@w20k @bennothommo @mjauvin Could someone test this? @ayumi-cloud SMTP issues are typically issues with mail servers / configuration, and although lots of people may report issues related to SMTP that doesn't mean they're all having the same issue.
As far as I know, port 465 is implicit SSL and port 587 is explicit TLS.
So at first glance, I would think this is expected behavior.
@ayumi-cloud @LukeTowers As far as I know, in reference to Exim which powers half of the MTAs on the web, @mjauvin is correct - 465 is generally setup only for SSL connections, and 587 is generally setup only for TLS connections. (with 25 and 2525 being other common ports, but not recommended for use anymore). I use 465 all the time with our client websites (running on shudder cPanel servers), so I know it works.
As far as I know, port 465 is implicit SSL and port 587 is explicit TLS.
Yeah, that's how it is configured on both Exim/cPanel and Postfix/KeyHelp servers.
@LukeTowers @mjauvin @bennothommo @Eoler
Cool, thanks for the info.
port 465 is for SSL connections.
port 587 is for TLS connections.
port 25 is for standard connections (many Internet service providers however block port 25).
port 2525 allows insecure connections.
Going to close this unless, you want me to create a hint field in the Settings > Mail configuration page, with the info I summarized above.
That will be cool and maybe say that 25 port isnt recommended to use because it can work but it can be limited like AWS does limit it.
@ayumi-cloud Instead of the hint, I would instead have it so that when the "SMTP encryption protocol" value is changed, it replaces the SMTP port value to the default port for that protocol, as it's very unlikely that people are using non-standard ports for email - for example, if they switch it to SSL, it should change the port to 465, and for TLS, 587. I've seen lots of mail software and services do the same, so I would imagine people are used to it doing that now.
I agree, it is expected behavior nowadays.
On Sun, Nov 10, 2019 at 10:27 AM Ben Thomson notifications@github.com
wrote:
@ayumi-cloud https://github.com/ayumi-cloud Instead of the hint, I
would instead have it so that when the "SMTP encryption protocol" value is
changed, it replaces the SMTP port value to the default port for that
protocol, as it's very unlikely that people are using non-standard ports
for email - for example, if they switch it to SSL, it should change the
port to 465, and for TLS, 587. I've seen lots of mail software and services
do the same, so I would imagine people are used to it doing that now.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/octobercms/october/issues/4755?email_source=notifications&email_token=AAPLTPSHGHUG74CJ3K3JCUDQTAR6XA5CNFSM4JLHV4TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDU7SFI#issuecomment-552204565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPLTPUIVNQNWOXTVDTC3Y3QTAR6XANCNFSM4JLHV4TA
.
--
Marc
@bennothommo sounds good, I will leave it with you to create the automatic port selection, based off the encryption settings.
Thanks to everyone's feedback. 👍
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days.
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days.
If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days.
If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days.
If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days.
If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
Most helpful comment
@ayumi-cloud Instead of the hint, I would instead have it so that when the "SMTP encryption protocol" value is changed, it replaces the SMTP port value to the default port for that protocol, as it's very unlikely that people are using non-standard ports for email - for example, if they switch it to SSL, it should change the port to 465, and for TLS, 587. I've seen lots of mail software and services do the same, so I would imagine people are used to it doing that now.