Email notifications in Cloudstack #10251
-
Hello everyone! Guys, I need your help. I haven’t been able to find any information regarding email notifications in CloudStack. I’ve configured the SMTP parameters for my mail server in the global settings for project alerts and quotas. However, I haven’t received any notifications yet, and I haven’t even seen any connection attempts on the mail server. And I don’t see anything related in the management server logs. But for sure, the alerts did occur. I also haven’t found any tools in CloudStack for testing mail settings. Maybe something needs to be installed, or perhaps someone could share a link on how to get email notifications working? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't think this should be a problem @SviridoffA . Did you check any routes/firewalls in the system(s). When no connection attempts go out, is that on the MS itself or on a remote server? some configurations jump out;
you can search @JoaoJandre , do you happen to know what else could have gone wrong? |
Beta Was this translation helpful? Give feedback.
Hi @DaanHoogland ! Thanks for your reply. I decided to stop the agent on one of the KVM nodes to ensure an alert would be generated. This finally let me find a Java exception in the MS logs; it stated that an unsuccessful TLS handshake occurred when attempting to send a message. I checked my mail server and found logs indicating an unsupported TLS version. I discovered that my server only supports TLSv1.2 and TLSv1.3. Luckily, CloudStack supports 1.2. I set the global settings for each notification type to TLSv1.2. After that, everything works as expected.