Hi everyone,
I’m currently investigating an SMTP email sending delay issue in one of our AwareIM applications and I would like to ask whether there is any way to configure the SMTP connection timeout parameters in AwareIM / BAS Server.
What we are experiencing:
- the application sends emails successfully,
- however, actual delivery is sometimes significantly delayed,
- during network testing we discovered that the SMTP hostname resolves to multiple IP addresses,
- some of those IPs are not reachable from our server,
- therefore JavaMail seems to try several failed connections before finally finding a working SMTP endpoint.
We already identified this as a network / SMTP connectivity issue rather than an AwareIM business logic issue.
At the moment I am looking specifically for a way to reduce the SMTP connection timeout values, for example:
- mail.smtp.connectiontimeout
- mail.smtp.timeout
- mail.smtp.writetimeout
Questions:
- Is there any officially supported way to configure JavaMail SMTP timeout parameters in AwareIM?
- Can these JVM properties be added through awareim.conf or another configuration file?
- Has anyone already implemented a similar workaround successfully?
Any advice or best practices would be greatly appreciated.
Thanks!
István