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

    Postfix forwarder non-standard port

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 1.5k 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.
    • R Offline
      roundkat
      last edited by

      First.. Thank you for all your hard work on 2.0, and for the postfix
      package.

      This will allow me to replace my OpenBSD 4.6 box with a very simple
      interface.

      I realize this is may not be a hot topic for most..

      My question,
      the postfix forwarder does not allow "non-standard" ports to be added via
      the GUI and does not keep them after I modify the transport (and postmap transport) and reboot.
      i.e
      example.com  smtp:[mailhost.example.com]
      is allowed
      but
      example.com  smtp:[mailhost.example.com]:2525
      is not…

      Is there a php script that I can modify to fix this ?
      ( I have friend that is a bang up php coder)

      or would it be better to put in a small script  (I can do this myself)
      -- replace transport file ,
      -- postmap transport
      -- postfix reload

      Thx
      rk

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can find the postfix package files under /usr/local/pkg/ - you can adjust the .inc and .xml files to get what you want.

        If you manage to make that work, do a diff between the old versions of the files and the ones with your changes and we can get them into the "real" package for everyone.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • R Offline
          roundkat
          last edited by

          @jimp:

          You can find the postfix package files under /usr/local/pkg/ - you can adjust the .inc and .xml files to get what you want.

          If you manage to make that work, do a diff between the old versions of the files and the ones with your changes and we can get them into the "real" package for everyone.

          Thank you for the info and the reply..
          I will figure it out..

          Thank you again for all the awesome work.. !!!

          Respectfully,
          rk

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