Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Postfix forwarder - relay all domains

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 4 Posters 1.8k 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.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy