Res blocks in readers.conf
Russ Allbery
rra at stanford.edu
Sat Sep 27 18:43:31 UTC 2008
Julien ÉLIE <julien at trigofacile.com> writes:
> In readers.conf, I see that there are res blocks:
>
> auth test {
> res {
> users: "users"
> log: "hello"
> log: "world"
> program: "/path/to/resolver"
> }
> }
>
>
> It is currently undocumented in CURRENT. Is it something to keep
> or is it a vestige from the past?
It's been there since the beginning of readers.conf. I'm not sure if
anyone uses it. However, if there are multiple res commands in a single
auth block, I don't think that you can duplicate the functionality offered
by the res blocks without them.
Likewise with the auth blocks.
> By the way, I have just seen that we can include files within readers.conf:
> include: another-file.conf
> works. That is an interesting (undocumented) feature!
That we should definitely document, although the syntax would have to
change if we ever switch from the current readers.conf parser to the new
parser I wrote for inn.conf.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list