• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Mail Server Not Working

Scheduled Pinned Locked Moved NAT
13 Posts 3 Posters 1.2k Views
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.
  • P
    pmai72
    last edited by Aug 2, 2021, 12:51 PM

    Can't sending and receiving email from a mail server behind pfsense.
    Open Ports 25, 143, 587, 80, 443 for a mail server and MX record is pointing to the Public IP Address.
    I can access a webmail using hostname from outside world.
    But I don't know what i'm missing PLEASE HELP!!!

    V 1 Reply Last reply Aug 2, 2021, 1:38 PM Reply Quote 0
    • V
      viragomann @pmai72
      last edited by Aug 2, 2021, 1:38 PM

      @pmai72
      The SMTP clients log should shed some light here.
      What do you get on the client when trying to connect?

      P 1 Reply Last reply Aug 2, 2021, 2:12 PM Reply Quote 0
      • P
        pmai72 @viragomann
        last edited by Aug 2, 2021, 2:12 PM

        @viragomann
        I'm using Gmail try to send a email but getting a message back is Address not found - The response from the remote server was: 550 No Such User Here.
        When I setup mail server behind ISP Modem Router before pfsense and it working no problems. I know pfsense has stop the connection.

        V 1 Reply Last reply Aug 2, 2021, 2:19 PM Reply Quote 0
        • V
          viragomann @pmai72
          last edited by Aug 2, 2021, 2:19 PM

          @pmai72
          So that indicates that GMail can access the server, but the mail address is not known by the server.

          P 2 Replies Last reply Aug 2, 2021, 2:23 PM Reply Quote 0
          • P
            pmai72 @viragomann
            last edited by Aug 2, 2021, 2:23 PM

            @viragomann
            Sorry Gmail can't access to a server. Mail server look like it running but Can't sending and Receiving from everyone email.

            1 Reply Last reply Reply Quote 0
            • P
              pmai72 @viragomann
              last edited by Aug 2, 2021, 2:26 PM

              @viragomann
              Try to send email and sitting at Queue Manager. Not Sending
              @.com ***@gmail.com (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)

              V 1 Reply Last reply Aug 2, 2021, 2:40 PM Reply Quote 0
              • V
                viragomann @pmai72
                last edited by Aug 2, 2021, 2:40 PM

                @pmai72 said in Mail Server Not Working:

                Name service error for name=gmail.com type=MX: Host not found

                Seems that the server cannot resolve host names.
                You should check the DNS settings.

                P 2 Replies Last reply Aug 2, 2021, 2:49 PM Reply Quote 0
                • P
                  pmai72 @viragomann
                  last edited by Aug 2, 2021, 2:49 PM

                  @viragomann
                  Where do I check DNS settings is it in pfsense or elsewhere.
                  Can I ask you a question?
                  If I connect mail server direct to ISP modem and it's work perfectly with no problems.

                  V 1 Reply Last reply Aug 2, 2021, 3:14 PM Reply Quote 0
                  • P
                    pmai72 @viragomann
                    last edited by Aug 2, 2021, 3:00 PM

                    @viragomann
                    Could be pfsense NAT port forwarding not function properly.

                    1 Reply Last reply Reply Quote 0
                    • V
                      viragomann @pmai72
                      last edited by Aug 2, 2021, 3:14 PM

                      @pmai72 said in Mail Server Not Working:

                      Where do I check DNS settings is it in pfsense or elsewhere.

                      On the server.

                      Presumably the server used the ISP router for DNS resolution which is not available anymore.
                      So you might have to change the DNS settings on the server to use pfSense.

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gertjan
                        last edited by Aug 2, 2021, 4:36 PM

                        If gmail tells you :

                        @pmai72 said in Mail Server Not Working:

                        The response from the remote server was: 550 No Such User Here

                        Then that message : "550 No Such User Here" came from the server where you tried to send the message to.
                        That should be your mail server.

                        @pmai72 said in Mail Server Not Working:

                        @viragomann
                        Where do I check DNS settings is it in pfsense or elsewhere.
                        Can I ask you a question?
                        If I connect mail server direct to ISP modem and it's work perfectly with no problems.

                        Use for example this one :

                        https://www.zonemaster.net/domain_check

                        And this one : https://ssl-tools.net/

                        Or https://tls.imirhil.fr/ ( select smtp )

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        P 1 Reply Last reply Aug 4, 2021, 1:27 PM Reply Quote 0
                        • P
                          pmai72 @Gertjan
                          last edited by Aug 4, 2021, 1:27 PM

                          @gertjan
                          Somehow I can receiving a email now but can't send. Is it still something missing?

                          G 1 Reply Last reply Aug 4, 2021, 2:27 PM Reply Quote 0
                          • G
                            Gertjan @pmai72
                            last edited by Gertjan Aug 4, 2021, 2:28 PM Aug 4, 2021, 2:27 PM

                            @pmai72 said in Mail Server Not Working:

                            Is it still something missing?

                            Probably. Can't tell right now.
                            You have world's most famous log file at your disposal. It's the file nearly every post (=mail) master looks at 24/24H, as it is very important.

                            /var/log/mail.log
                            

                            It has all the details.

                            edit : /var/log/mail.log is the file and location for most mail servers.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            1 Reply Last reply Reply Quote 0
                            1 out of 13
                            • First post
                              1/13
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received