[clug] tool to diff postfix configurations
leigh at leighfinch.net
Thu Mar 12 03:35:19 GMT 2009
Michael James wrote:
> Anyone know a diff-like tool that understands the syntax
> of the various standard configuration files (especially postfix)?
> Something that ignores comments, whitespace, continuation lines,
> order, default (un-stated) settings, etc** ?
> Something that answers the question,
> "Show me the functional differences between these configurations?"
> ** for fairly involved values of etc.
I would use:
postconf -n > current.txt
postconf -n -c other_config_directory > other.txt
diff current.txt other.txt
More information about the linux