On 19 January 2018 at 15:55, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > > >> On Jan 19, 2018, at 10:46 AM, Dominic Raferd <domi...@timedicer.co.uk> wrote: >> >> Here's a way to check for explicit settings in main.cf that are >> actually defaults and so could be removed (works under bash): >> >> comm -1 -2 <(postconf -n|sort) <(postconf -d|sort) > > The pipes to "sort" should not be needed. The output of "postconf" is > pre-sorted.
yes I thought that - but without piping through sort I see: $ comm -1 -2 <(postconf -n) <(postconf -d) comm: file 2 is not in sorted order comm: file 1 is not in sorted order