Email notifications not sending in AIQUM installed on Azure VM when specifying SMTP username/password and using STARTTLS option
Applies to
- Active IQ Unified Manager (AIQUM) 9.x (Windows)
- Microsoft Azure VM
Issue
- Email notifications are failing to send from Unified Manager 9.x when installed on a Windows VM hosted in Microsoft Azure.
- Testing an alert email fails with error:
Failed to send email. Check that the SMTP server is configured correctly...
- The
General -> Notifications
"SMTP Server" settings have the "User Name" and "Password" fields populated, as well as the "Use STARTTLS" option checked. - Reviewing the ocumserver.log, an error is observed similar to the following:
2024-10-30 14:15:53,421 WARN [admin] [default task-12] [service.event.AlertDataAccessService|testAlerts] [c.n.dfm.impl.alert.EmailAlertAction] Exception while sending mail.org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 554 Access denied: User `arn:aws:iam::xxxxxxxxxxxxxxxx:user/some-user-in-azure-associated-with-azure-vm-9102010' is not authorized to perform `ses:SendRawEmail' on resource `arn:aws:the:azure-vm-1:8912837928137:identity/example.fqdn.com'