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

    Smtp domain forwarding

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 3.4k 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.
    • ?
      Guest
      last edited by

      Hi All,

      I'm wondering if there is a way to forward smtp to certain mailservers for a domain in pfsense. There is such a module in Endian, which I am using at the moment, but would much prefer to fully migrate to pfsense. If not, is there any way this module could be integrated into pfsense?

      regards

      Elliott

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        If your users use the pfSense as their DNS server, you could override a whole domain.
        –> The clients get as response on a DNS quarry an IP you can define.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • M
          massiale
          last edited by

          @GruensFroeschli:

          If your users use the pfSense as their DNS server, you could override a whole domain.
          –> The clients get as response on a DNS quarry an IP you can define.

          I think i need something similar.
          I'd like to forward any SMTP request from my WIFI-SUBNET to the external SMTP server of my ISP.
          This would avoid me to change SMTP server on every Notebook in my WIFI area.
          in Linux by IPTABLES i did a DNAT
          How can i get the same in PF?
          I need to catch avery request to PORT25 and redirect to a choosen IP (still on port 25)

          Or, is any SMTP/POP3 Transparent Proxy service for PF. (Edian has it). 
          Thank you v much
          Massimo

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            You can do a port forward too.

            1 Reply Last reply Reply Quote 0
            • M
              massiale
              last edited by

              @ermal:

              You can do a port forward too.

              could you please tell me how?
              THANK YOU!
              massi

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