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

    Cant get any mail coming to my mail server

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 1.6k 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.
    • A Offline
      afvadmin
      last edited by

      I have a mail server behind pf sense on the LAN side, and a adsl modem on the wan side of pf sense the problem i am having is sending mail from inside the LAN to gmail or msn etc goes through but if i reply the mail never arrives to the client inside the lan, its almost like the firewall is holding back all the mails i tried forwarding the ports but ill readily accept any info  ??? >:( :'(

      This is my current setup

      WAN (adsl modem) –--  pfsense  --- LAN 1 = workstations and servers

      1 Reply Last reply Reply Quote 0
      • Cry HavokC Offline
        Cry Havok
        last edited by

        You need to ensure that port 25/TCP is forwarded from the outer device with the WAN IP through to the server.  You need to ensure that the MX for your domain points to that WAN IP.

        Does your pfSense host have the WAN IP, or does your modem?

        1 Reply Last reply Reply Quote 0
        • 0 Offline
          0tt0
          last edited by

          There are also some ISPs blocking inbound #25 (in addition to outbound#25 which is more common, as an "anti-malware/spam" measure).

          One way of checking that could be to have a FW not dropping packets but responding with closed ports (or temporarily have a larger port range all go to some active and functioning port, like #80 or something) and then doing a port scan from the outside, either via netcat from a *NIX shell or from some service like grc.com.

          If port 25 turns out "shielded" something is blocking the packets before they enter your IP.

          Cheers,

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