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

    Postfix - config changes dont stick.

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

      I'm having trouble with my Postfix configuration.

      I want to remove the "reject_unknown_client_hostname" from main.cf

      • I stop the service
      • I edit the file under /urs/pbi/postfix-amd64/etc/postfix/main.cf  and remove the line
      • Save
      • Restart the service

      No errors, everything works. If I check back later (can be 15 mins, can be 2 hours), the line is back and we are back to having 70% of (legit) mails blocked. It seems to stick for the first 30 mins most of the time.

      What am I missing?
      Is there a value somewhere in the GUI that overwrites this? So a cron job restores this value or something in that nature?

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

        Messing with files manually is competely useless. The ENTIRE file will get overwritten with GUI configuration.

        1 Reply Last reply
        Reply Quote 0
        • F
          foetus
          last edited by

          How do I remove it checking RDNS / unknown domains, since there is no GUI option for it?

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

            Patch the source code if things are not configurable via the GUI, Luke…

            https://github.com/pfsense/pfsense-packages/tree/master/config/postfix

            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