FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    SMTP outgoing mail server not reliable

    Scheduled Pinned Locked Moved
    General Discussion
    3
    9
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      uvali
      last edited by

      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

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @uvali
        last edited by

        @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?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        U 1 Reply Last reply Reply Quote 0
        • U
          uvali @dan
          last edited by

          @dan The community edition is self hosted on a MacPro on the Docker container.

          The debug is enabled.

          smtp-settings.jpg

          The message I received immediately on 'Send test email' is:

          send-error.jpg

          On Event log there is nothing relating this error.

          FusionAuth version is:

          1d28d0d5-f00c-458f-b18a-9310e6d3e6da-image.png

          danD 1 Reply Last reply Reply Quote 0
          • danD
            dan @uvali
            last edited by

            @uvali Which SMTP server are you using?

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            U 1 Reply Last reply Reply Quote 0
            • U
              uvali @dan
              last edited by

              @dan postfix version 2.10.1

              danD 1 Reply Last reply Reply Quote 0
              • danD
                dan @uvali
                last edited by

                @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

                --
                FusionAuth - Auth for devs, built by devs.
                https://fusionauth.io

                U 1 Reply Last reply Reply Quote 0
                • U
                  uvali @dan
                  last edited by

                  @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.

                  danD 1 Reply Last reply Reply Quote 1
                  • danD
                    dan @uvali
                    last edited by

                    @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.

                    --
                    FusionAuth - Auth for devs, built by devs.
                    https://fusionauth.io

                    1 Reply Last reply Reply Quote 0
                    • M
                      michaelsmithh8035
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post