Sergey Poznyakoff <[email protected]> writes:
> Simon Josefsson <[email protected]> ha escrit:
>
>> However this function is not used when --foreground is used
>
> Perhaps you mean --inetd, not --foreground? The only effect of
> the `--foreground' is that it inhibits the use of daemon()
> functions, so that the program remains attached to its controlling
> terminal.
Yes, and that was the behaviour I wanted.
> When `--inetd' is in effect, the transcript settings do not
> apply, indeed.
As far as I could tell the transcript does work mostly. It is just some
parts of imap4d where it does not work.
> That's because `transcript' is defined on a per server basis. That is,
> you might have, for example:
>
> server 127.0.0.1 {
> transcript yes;
> }
>
> server 213.130.31.41 {
> transcript no;
> }
>
> both in a single config file. The daemon will then show session
> transcripts for sessions obtained on 127.0.0.1, but not for those
> received on 213.130.31.41. However, neither of these settings apply
> to inetd mode.
>
> What about introducing a special `server' block, e.g.:
>
> server inetd {
> ...
> }
>
> ?
Or use a global 'transcript' directive that applies to imap4d generally?
E.g. in a global config file:
program imap4d { transcript yes; };
or in a imap4d-specific rc file just
transcript yes;
/Simon
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils