IriusRisk comes with an out-of-the-box email server that users can simply use upon logging in. The email server is quite a crucial feature as it enables users to do the following:
- Send a password reset email
- Invite users to the platform via email
The email server that IriusRisk comes packaged with uses the following DNS and port:
- DNS: smtp.gmail.com
- Port: 465
It is important for on-premises customers to have the DNS and port whitelisted, because if it is not then the connection will time out, which will ultimately mean users will not receive any emails from the platform. Below you see an image of the IriusRisk Email Server:
Can I add my own mail server?
It is possible for users to add their own mail server to the platform, this can be done by navigating to the following:
Login to IriusRisk > Settings > Email
See the image below:
As a user, you must input the correct data for your custom email server, for example see below:
- Host - Email server host
- Port - Communication port (SMTP uses 587 as default)
- Username - Username of the user connecting to the mail server
- Password - Password associated to the account
- SSL - To enable encrypted traffic
- StartTLS - Tells the mail server to switch from unencrypted traffic to encrypted.
- Default sender - Default sender of the mail
To test your email server is working you can use the 'Send test email' button to verify that IriusRisk can communicate with the mail server - see below:
Common Mail Server Issues for On-premise customers:
On-premise customers must ensure they allow connectivity over the DNS and port mentioned above - if the connection fails then check the logs for the following error:
2023-09-20 03:03:28.873 1953502260 [pool-6-thread-4] ERROR com.iriusrisk.notification.MailExecutorService - Failed to send email
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1;
This would suggest the port/DNS is blocked from the server hosting IriusRisk - To verify this you can run:
$ telnet smtp.gmail.com 465
Trying XXX.XXX.XXX.XXX...
If the connection hangs, then speak internally with your network/infrastructure team as they will need to whitelist the DNS/port from the server hosting IriusRisk.
Comments
0 comments
Please sign in to leave a comment.