< grephistory | Russ Allbery > Software > INN > INN 2.4 Documentation | inndf > |
(Get configuration parameters from inn.conf)
innconfval [-pstv] [-i file] [parameter ...]
innconfval -C [-i file]
innconfval normally prints the values of the parameters specified on the command line. By default, it just prints the parameter values, but if -p, -s, or -t are given, it instead prints the parameter and value in the form of a variable assignment in Perl, Bourne shell, or Tcl respectively. If no parameters are specifically requested, innconfval prints out all parameter values (this isn't particularly useful unless one of -p, -s, or -t were specified).
All parameters are taken from inn.conf except for version, which is always the version string of INN.
If given the -C option, innconfval instead checks inn.conf, reporting any problems found to standard error. innconfval will exit with status 0 if no problems are found and with status 1 otherwise.
Check inn.conf rather than printing out the values of parameters.
Use file as the source configuration file rather than inn.conf. file must be a valid inn.conf file and will be parsed the same as inn.conf would be.
Print out parameters as Perl assignment statements. The variable name
will be the same as the inn.conf parameter, and string values will be
enclosed in single quotes with appropriate escaping. Boolean values will
be mapped to true
or false
, and string parameters that are set to
NULL will be mapped to empty strings.
Print out parameters as Bourne shell assignment statements. The variable
name will be the inn.conf parameter name in all capitals, and all
variables will be exported. String values will be enclosed in single
quotes with appropriate escaping, and boolean values will be mapped to
true
or false
. String parameters that are set to NULL will be
mapped to empty strings.
Print out parameters as Tcl assignment statements. The variable name will
be the same as the inn.conf parameter name but with inn_
prepended,
and string variables will be escaped appropriately. Boolean values will
be mapped to true
or false
and string parameters that are set to
NULL will be mapped to empty strings.
Print INN's version. This is equivalent to innconfval version
.
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.
$Id$
inn.conf(5)
< grephistory | Russ Allbery > Software > INN > INN 2.4 Documentation | inndf > |