DevHeads.net

Diffing man 5 postconf changes between releases

Hi,

I currently use Postfix version 3.1.0. I know that there are announcements of feature changes between each release of Postfix via e-mail and I read these, but I was wondering if there was an easy way to see the changes to the main.cf configuration parameters between versions ?

For example, can I somehow diff the difference between man 5 postconf on version 3.1.0 and the current release of Postfix ? When I say diff, I am hoping to be able to see just the new configuration parameters.

The only way I can think of doing this is to dump the default configuration from postconf from one version and then diff that against the default configuration from postconf from the current version. That will tell me new parameters, but it won’t show me if the documentation for existing parameters has changed.

If there isn’t an easy way to do this, is this in fact documented somewhere (perhaps a list of configuration parameter changes on the website that I just haven’t found yet) ?

Thanks,

- J

Comments

Re: Diffing man 5 postconf changes between releases

By Viktor Dukhovni at 02/10/2018 - 17:56

As Wietse said, read the RELEASE_NOTES files. However, if you realy
want the gory details (which will likely take more effort to digest):

$ git clone <a href="https://github.com/vdukhovni/postfix" title="https://github.com/vdukhovni/postfix">https://github.com/vdukhovni/postfix</a>
$ cd postfix/postfix
$ git diff v3.1.0 v3.2.5 -- proto/postconf.proto

For more (say 20 lines of) context say:

$ git diff -U20 v3.1.0 v3.2.5 -- proto/postconf.proto

Re: Diffing man 5 postconf changes between releases

By Wietse Venema at 02/10/2018 - 13:32

J Doe:
New features and feature changes are summarized in the RELEASE_NOTES file.

Wietse