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

    Unable to SMTP in??

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 990 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.
    • H
      helloworld
      last edited by

      Recently implemented pfsense at a client. It's working great other than for SMTP.

      I can "telnet [hostname.domain] 25" & ping the server from the inside.

      I can "telnet [local IP] 25" from the pfsense box

      I cannot "telnet [hostname.domain] 25" from the pfsense box. The pfsense box translates to the public IP but still won't connect.

      From the outside I timeout with the telnet to the hostname.domain or public IP.

      attached are the WAN rule, NAT port fwd rule, & I've disabled smtp QoS for the time being.

      The server gateway is set to the pfsense box. It has local & public DNS assigned.

      This server has multiple other services (web,ftp, ICMP) which are performing correctly.

      hosts file has the public IP listed as well.

      1 part fixed:
      mail server is qmail with outgoing queue " delivery 3: deferral: Sorry,I_wasn't_able_to_establish_an_SMTP_connection.(#4.4.1)"
      Fixed the above with the out "outgoingip" file in qmail - qmail is new to me, prefer sendmail or postfix

      ![Screen Shot 2015-11-24 at 16.58.11.PNG](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.11.PNG)
      ![Screen Shot 2015-11-24 at 16.58.11.PNG_thumb](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.11.PNG_thumb)
      ![Screen Shot 2015-11-24 at 16.58.28.PNG](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.28.PNG)
      ![Screen Shot 2015-11-24 at 16.58.28.PNG_thumb](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.28.PNG_thumb)
      ![Screen Shot 2015-11-24 at 16.58.57.PNG](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.57.PNG)
      ![Screen Shot 2015-11-24 at 16.58.57.PNG_thumb](/public/imported_attachments/1/Screen Shot 2015-11-24 at 16.58.57.PNG_thumb)

      With sufficient thrust, pigs fly just fine - RFC1925

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Where are you trying from exactly?  Many a isp block 25 outbound from their network, and limit traffic to their mail servers.. So just because you can not get to it doesn't mean its not open..

        Did you go over the troubleshooting doc?  Pretty much first step is actually verify traffic is getting to pfsense wan.

        https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • H
          helloworld
          last edited by

          I've contacted my ISP they're not blocking anything.

          well this is odd, I'm seeing tcpdump connections from external server but I cannot "telnet [host.domain] 25" as that times out.

          ![Screen Shot 2015-11-24 at 23.56.25.PNG](/public/imported_attachments/1/Screen Shot 2015-11-24 at 23.56.25.PNG)
          ![Screen Shot 2015-11-24 at 23.56.25.PNG_thumb](/public/imported_attachments/1/Screen Shot 2015-11-24 at 23.56.25.PNG_thumb)

          With sufficient thrust, pigs fly just fine - RFC1925

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            What you're describing indicates it's a firewall on the destination host itself. Or, perhaps, an MTA config that only accepts connections from local networks.

            https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.