-
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
Could not connect to SMTP host using STARTTLS #2625
Comments
@izenk depending on your STMP provider's setting if you want SSL enabled transport set |
@rhtyd CloudStack by default use SSL and only it. When it should be possible to choose: SSL or STARTTLS |
@izenk I tested this against a server where it worked for me, let me re-open this. After enabling the global setting (i.e. set to |
@rhtyd You can try it on your server: smtp host = smtp.office365.com:587 |
@izenk I'ld suggest to setup a local mailrelay or MTA for this purpose. Nowadays, SSL is a moving target when it comes to "safe" cipher lists. I wouldn't rely on the java cipher lists, also it's way more convenient having mails dealt by an MTA or relay on your own. Just my 2 cents :) |
@s-seitz |
@izenk I assume that you've looked tried the options suggested by Microsoft. I'll mark this ticket as a feature request/enhancement for now as it is additional functionality that you are requiring. |
@PaulAngus if you assumes local mail relay option - yes I implemented it. |
Hi @izenk can you confirm if the issue is fixed in the main branch? |
ISSUE TYPE
Other
COMPONENT NAME
Management Node
CLOUDSTACK VERSION
4.11.0.0
CONFIGURATION
OS / ENVIRONMENT
CentOS Linux release 7.4.1708
Summary
Goal: integrate CloudStack with external SMTP relay.
SMTP relay is Office365 relay from Office365 subscription.
Parameters to connect: smtp.office365.com:587
In general there are two cases for secure connection:
CS does not allow to specify method to use and by default use SSL, what leads to errors:
Option is described here (mail.smtp.starttls.enable): Java Mail
The text was updated successfully, but these errors were encountered: