John: > > "postconf -n" or "postconf -d" is not working for you? > > > > http://www.postfix.org/postconf.1.html > They work very well. But they do not tell me when and what options I may > have added to my config which duplicate a default option. While such > duplications are not disasters they make the config files that bit more > complex than they need to be. > > Actually I realized that I had a simple solution at hand in meld.
To enumerate the settings that duplicate the built-in defaults: $ (postconf -n; postconf -d) | sort | uniq -c | awk '$1 > 1' However, some of these redundant settings are "install" parameters with the location of files/directories. You may want to keep those parameters for the case that you upgrade an existing Postfix system to a version that uses different default file/directory locations. Wietse