>From the qmail-popup man page:

       qmail-popup  expects descriptor 0 to read from the network
       and descriptor 1 to write to  the  network.   It  reads  a
       username and password from descriptor 0 in POP's USER-PASS
       style or APOP style.  It invokes subprogram, with the same
       descriptors  0 and 1; descriptor 2 writing to the network;
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I'm curious as to why this is done.

In particular, stderr output from the subprogram is
being fed back to the client, which is probably
expecting a pop3 +OK/-ERR response, rather than
whatever happens to be sent down stderr at the time.

Wouldn't it be better to leave stderr alone, so that
it could be fed to logger/splogger/multilog?

-- 
Chris Mikkelson  | "I have yet to see any problem, however complicated,
[EMAIL PROTECTED] | which, when you looked at it the right way, did not 
                 | become still more complicated."  -- Poul Anderson

Reply via email to