Sort fields in debian_postfix.conf.master
This is a suggestion/request to sort the fields in the postfix main.cf config template - and only those where sorting makes sense.
Example where sorting might not make sense:
- Someone might prefer that the smtp_*_restrictions are sorted in order of their application, which is not alphabetical.
In the case of proxy_read_maps, which is an aggregate of other fields, it's still OK to sort this field starting with 'p' before it's included fields, like those starting with 's', because the order of the fields in the file does not matter.
Reasoning:
- It's much easier to find a setting when it's in sorted order.
- As a practical example, it's taken me a long time to work out the delta/diff between the most recent update (3.2.2) and my own settings. If settings are sorted it's much easier to diff tpl, conf-custom, and the main.cf files.
- Related - I have many fields in main.cf that are not in the default template. It's much easier to see if there are related changes in the template if both the tpl and the conf-custom versions are in the same order.
If approved, I'll post a MR with a suggested sorting. This will only include the default tpl fields.