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

    Postfix forwarder - relay all domains

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 4 Posters 1.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.
    • G
      Gob
      last edited by

      Hi

      We are using the forwarder to receive incoming emails from a trusted web server and relay them out to our trusted SMTP relay provider.
      This works fine when we specify theĀ  'To:' domain on the forwarder but for most of the emails we do not know the destination email domain.
      Is it possible to set up a catch-all relay or use a wildcard?

      Thanks

      If I fix one more thing than I break in a day, it's a good day!

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Sure. If you don't care that you are going to end up on about every blacklist in the world, just go ahead and set up open mail proxy!

        1 Reply Last reply Reply Quote 0
        • G
          Gob
          last edited by

          I don't think you read or understood my post correctly.
          the web server is our own Web server which generates very specific emails requested by the recipient.
          we are locking down the postfix forwarder so that only smtp traffic from this server on a non standard port is accepted. We then pass the email out to a global delivery partner with a very high reputation for delivery to the recipient. This partner will only accept emails from specific ip addresses hence the need to relay the Web server smtp traffic through our site.

          How can this scenario be classed as an open mail proxy?

          If I fix one more thing than I break in a day, it's a good day!

          1 Reply Last reply Reply Quote 0
          • B
            biggsy
            last edited by

            Have you tried putting your trusted web server's IP address into the MyNetworks field under Access Lists > Client Access List?

            Have you seen this post?

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              Have you tried to shorten the path ?
              Have the [ our own Web server which generates very specific emails ] deliver the mails directly to your [ our trusted SMTP relay provider ] ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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