SMTP outgoing mail server not reliable
-
Hi,
I am currently testing the Community Edition of FusionAuth.
As for the SMTP outgoing mail server we have determined is not reliable. Sometimes the email verification are, sent sometimes not.
For example, using the "Send test email" button on SMTP settings of the Tenant, sometimes I get the "Email sent" message, sometimes I get:"Unable to send email via JavaMail
Prime Messaging Exception
Cause: MessagingException: Exception reading response".To test the email server I used also SWAKS as is indicated in the troubleshooting area of the documentation. But the email server has no issues.
Can you help me on this issue?
Thanks
-
@uvali Hmmm. This is going to be tough. Where are you hosting the community edition? Have you tried using SWAKS from that host?
Have you turned on debugging and looked in the event log to see if there are more details?
What version of FusionAuth are you using?
-
@dan The community edition is self hosted on a MacPro on the Docker container.
The debug is enabled.
The message I received immediately on 'Send test email' is:
On Event log there is nothing relating this error.
FusionAuth version is:
-
@uvali Which SMTP server are you using?
-
@dan postfix version 2.10.1
-
@uvali Have you tried using SWAKS to confirm that the mail server is working?
Have you confirmed that you have set up the docker network correctly so that FusionAuth is on the same network as the mail server? We have an example with mailcatcher here: https://fusionauth.io/docs/get-started/download-and-install/docker#other-services
-
@dan As I said, I used SWAKS to confirm that Postfix work well.
The issue is that sometimes the messages are sent, sometimes not.
I am not interested to test with Mailcatcher as is a fake SMTP server used only for testing purposes.Bottom line, I think FusionAuth is a great CIAM product.
Maybe, by installing by RPM package on a RedHat , we will not have this issue.
Thank you for your support.
-
@uvali Thanks for the feedback, sorry I missed that you'd already used SWAKS.
I'm not sure what is going on because the emails should always be sent if the email server works. If you find out more details, please share.
-
It seems like FusionAuth's email server is acting up, even though SWAKS shows no problems with your own email server. You might want to try using other services like SMTPget or Amazon SES for sending emails through FusionAuth. Make sure your FusionAuth SMTP settings are set up correctly, and if the issue continues, contact FusionAuth support for help fixing it quickly.