• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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 8 Jan 2024, 14:49

    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

    D 1 Reply Last reply 9 Jan 2024, 17:51 Reply Quote 0
    • D
      dan @uvali
      last edited by 9 Jan 2024, 17:51

      @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 10 Jan 2024, 09:08 Reply Quote 0
      • U
        uvali @dan
        last edited by 10 Jan 2024, 09:08

        @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

        D 1 Reply Last reply 30 Jan 2024, 18:29 Reply Quote 0
        • D
          dan @uvali
          last edited by 30 Jan 2024, 18:29

          @uvali Which SMTP server are you using?

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

          U 1 Reply Last reply 31 Jan 2024, 08:40 Reply Quote 0
          • U
            uvali @dan
            last edited by 31 Jan 2024, 08:40

            @dan postfix version 2.10.1

            D 1 Reply Last reply 1 Feb 2024, 20:37 Reply Quote 0
            • D
              dan @uvali
              last edited by 1 Feb 2024, 20:37

              @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 2 Feb 2024, 09:27 Reply Quote 0
              • U
                uvali @dan
                last edited by 2 Feb 2024, 09:27

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

                D 1 Reply Last reply 5 Feb 2024, 18:23 Reply Quote 1
                • D
                  dan @uvali
                  last edited by 5 Feb 2024, 18:23

                  @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 20 May 2024, 06:36

                    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