Noel Jones:
> Wietse Venema wrote:
> > Charles Marcus:
> >> Dovecot has added two lines of text to the beginning output of dovecot
> >> -n that could possibly save some time with troubleshooting...
> >>
> >> It adds the version on the first line, and OS/platform info on the
> >> second line, like so:
> >>
> >> # 1.1.11: /etc/dovecot/dovecot.conf
> >> # OS: Linux 2.6.23-gentoo-r9 x86_64 Gentoo Base System release 1.12.11.1
> >>
> >> Maybe postfix could do the same with postconf -n output?
> > 
> > No. The output has a defined "name = value" format. Adding
> > cruft would break bazillions of scripts that rely on it.
> > 
> >     Wietse
> 
> There was a discussion a while back about always including
> "mail_version = value" in postconf -n output.  I can't 
> remember why that isn't a good idea...

"postconf -n" does not list parameters unless they are set in
main.cf. The simplicity of the tool makes it useful for building
into other tools. If we start making random exceptions then we get
on a slippery slope (why stop with mail_version? why not also
include SASL and TLS, chroot stuff, and so on).

If we want to fingerprint a Postfix install, it is beter to use a
fingerprinting tool that also captures master.cf, information about
the platform itself, and Postfix build options. Patrick's saslfinger
already does most of this.

        Wietse

Reply via email to