K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2011-07-17T18:54:13.073988Z
K 7
svn:log
V 1449
inncheck: actually check incoming.conf/readers.conf, as well as innfeed.conf and storage.conf (generic config-syntax parser)

IDEA:
Be more restrictive than current parsers and config-syntax / lib/confparse.c
combined, so that anything that passes inncheck will be OK both now and in
the future.

A few notes:
- cuddled braces:
      config-syntax says there doesn't need to be white-space inside,
      but incoming.conf parser in innd/rc.c requires it (at least after "{")
      => DO REQUIRE WHITESPACE, as it will work everywhere
- double quotes:
      config-syntax says strings can be continued on multiple lines by means
      of a backslash; incoming.conf parser in innd/rc.c does not know about
      backslashes, but will continue over newlines until matching " is found
      or 32K exceeded
      => DO REQUIRE strings to stay on one line
- comments:
      config-syntax says "comments at the end of lines aren't permitted",
      but this seems to be standard practice...  Weird things can happen if
      a "#" is encountered inside a string
- multiple variables:
      config-syntax says multiple variable settings can be on one line when
      separated by semicolon; incoming.conf parser knows nothing about this
- double assignments:
      in practice, the latter takes precedence, says config-syntax,
      though I wouldn't bet on it for current incoming.conf...

Many thanks to Florian Schlichting for this pretty useful patch.

END
