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

    Postfix: outgoing only smtp for trusted networks (as smart host)

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 2.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.
    • M
      maldex
      last edited by

      hi there

      I thought i understand smtp somehow but i got lost in the configuration items the postfix packages offers to me.

      Running pfSense 2.0.3 with Postfix Forwarder 2.10.0 pkg v.2.3.5 (installed through packet management)  I'm actually not interested in filtering incoming spam, but just letting my internal servers relay/send mails to the outside. e.g. configure servers and applications to use pfsense as 'smart host'/smtp server to contact in case of sending mail to world. No incoming mails, but just outgoing from trusted servers on behalf of multiple domains.

      simplified i'd like to allow 192.168.x.y/24 to send mails to the wide world, on behalf of a finite list of domains.   e.g.
      Server2 -> From: app@domainxxx.com  to: someone@gmail.com
      Server1 -> From: xzy@domainxyz.com  to: someone@somewhere.org,  etc

      As the some applications don't support SSL neither authentication i'd have to relay on the dmz ip range origin.

      DNS zones and 'trustworthiness' is not subject of pfsense, only accepting such mails from trusted internal servers and forwarding them on behalf of domainxxx.com to the appropriate peer in the internet.

      how to to get started / which parameters would i follow up in the webgui?

      sorry for the naive question,
      maldex

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @maldex:

        sorry for the naive question,

        Fill mynetworks acl field with your hosts and configure your internal servers to send a good smtp header to avoid problems.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          that was the right starting point. thanks for the hint

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