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

    Postfix Forwarder "recipients from local file" not saved?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.3k 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.
    • H
      hcoin
      last edited by

      Great package!  I'm moving from a list of valid recipients manually entered in the table ( eg.  "foo@bar.com OK") to a list updated automatically loaded from a file.  Entering the filename on the postfix forwarder GUI  "Get Valid recipients from local file" "Location" then clicking 'save' results in the filename being erased.  Nothing appears to have been processed. It's as if I didn't enter anything.  Using SSH I validate the file is permission 0444 and called /usr/local/etc/postfix/allowed_rxlist , it contains

      email1@address.domain OK
      email2@address.domain OK
      email3@address.domain OK

      Looking at the xml saved during a backup there is no reference to the 'location' field name in the postfix recipients section.

      Any ideas?

      Harry

      Future: Since the php thing that reads a file into a variable can handle http://….  maybe allowing the cronjob to pull it periodically??  Have to change the 'file exists' test since that appears to be local only.

      Harry

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

        Thanks for your feedback. I'll check it.

        For now, paste your config on custom list.

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • H
          hcoin
          last edited by

          Thanks!  Yes, I did that for a bit.  Between now and when you figure out what's going on with the  GUI I used the 'cron' package to fire off a job every hour that does a 'fetch' of the allowed file from an internal website, converts it to a postfix map, then reloads postfix in the manner the php would have done if it found the file.

          1 Reply Last reply Reply Quote 0
          • H
            hcoin
            last edited by

            Bump.  It gets worse…

            Not only does the postfix forwarder erase the relay recipient filename (try it, put a filename in, hit save and see field is erased when the save completes),  but also...

            Any time a user pushes 'save' in the GUI on the postfix screen, the relay recipient file is erased.  So, external processes that try to keep it updated have to refresh it frequently never knowing when the gui might erase it.

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