bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Re: imap4d: no transcript with --foreground


From: Simon Josefsson
Subject: [bug-mailutils] Re: imap4d: no transcript with --foreground
Date: Thu, 24 Sep 2009 16:18:54 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Sergey Poznyakoff <address@hidden> writes:

> Simon Josefsson <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]