OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: List of main.cf options

From: Andrew McNamara (andrewmobject-craft.com.au)
Date: Tue Sep 25 2007 - 01:43:07 CDT


>If I have a parameter in my main.cf that is not listed on this page,
>what does it mean and how is there anywhere else to look to find out
>what it does?

Start with google... I found plenty of hits, but none explained it. 8-)

>The specific parameter is enable_server_options, but I'd like to know
>where to look to find the info for future queries.

Wietse is very careful about documenting everything - if it's not in
the documentation, it's almost certainly not in the code.

This also suggests it's not a real option (the -d says "look at the
defaults"):

    $ postconf -d enable_server_options
    postconf: warning: enable_server_options: unknown parameter

Note that the config parser allows you to have unknown options in your
config file, presumably for backwards/forwards compatibility, but there
are also a small number of config options who's name depends on the
value of other config options. I don't think this is one of those.

The canonical place to look is, of course, the source code. I just
grepped the source of 1.1.11, 2.0.14, 2.1.5 and 2.4.5 without finding
"enable_server_options".

The number of google hits suggests you're not imagining things - either
it existed briefly in some version, some distribution includes it via
non-standard patches, or someone once posted it in an example config
which everyone has copied.

Ah, and that's it - a non-standard and undocumented extension in Apple's
version for OS X. I can't find the source to their extensions, either.

--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/