Unable to SMTP in??



  • 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)


  • LAYER 8 Global Moderator

    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



  • 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)


  • LAYER 8 Netgate

    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


Log in to reply