1INNCONFVAL(1)             InterNetNews Documentation             INNCONFVAL(1)
2
3
4

NAME

6       innconfval - Get configuration parameters from inn.conf
7

SYNOPSIS

9       innconfval [-pstv] [-i file] [parameter ...]
10
11       innconfval -C [-i file]
12

DESCRIPTION

14       innconfval normally prints the values of the parameters specified on
15       the command line.  By default, it just prints the parameter values, but
16       if -p, -s, or -t are given, it instead prints the parameter and value
17       in the form of a variable assignment in Perl, Bourne shell, or Tcl
18       respectively.  If no parameters are specifically requested, innconfval
19       prints out all parameter values (this isn't particularly useful unless
20       one of -p, -s, or -t were specified).
21
22       All parameters are taken from inn.conf except for version, which is
23       always the version string of INN.
24
25       If given the -C option, innconfval instead checks inn.conf, reporting
26       any problems found to standard error.  innconfval will exit with status
27       0 if no problems are found and with status 1 otherwise.
28

OPTIONS

30       -C  Check inn.conf rather than printing out the values of parameters.
31
32       -i file
33           Use file as the source configuration file rather than inn.conf.
34           file must be a valid inn.conf file and will be parsed the same as
35           inn.conf would be.
36
37       -p  Print out parameters as Perl assignment statements.  The variable
38           name will be the same as the inn.conf parameter, and string values
39           will be enclosed in single quotes with appropriate escaping.  Bool‐
40           ean values will be mapped to "true" or "false", and string parame‐
41           ters that are set to NULL will be mapped to empty strings.
42
43       -s  Print out parameters as Bourne shell assignment statements.  The
44           variable name will be the inn.conf parameter name in all capitals,
45           and all variables will be exported.  String values will be enclosed
46           in single quotes with appropriate escaping, and boolean values will
47           be mapped to "true" or "false".  String parameters that are set to
48           NULL will be mapped to empty strings.
49
50       -t  Print out parameters as Tcl assignment statements.  The variable
51           name will be the same as the inn.conf parameter name but with
52           "inn_" prepended, and string variables will be escaped appropri‐
53           ately.  Boolean values will be mapped to "true" or "false" and
54           string parameters that are set to NULL will be mapped to empty
55           strings.
56
57       -v  Print INN's version.  This is equivalent to "innconfval version".
58

HISTORY

60       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.
61
62       $Id: innconfval.1 5962 2002-12-08 19:52:13Z rra $
63

SEE ALSO

65       inn.conf(5)
66
67
68
69INN 2.4.0                         2002-12-08                     INNCONFVAL(1)
Impressum