> > Print to stderr, and it should be sent to the multilog that is 
> > running for qmail-pop3d or whatever, right?
> 
> That doesn't work for me, but my pop3 startup line is like:
> 
>         env - PATH="/var/qmail/bin:/usr/local/bin" \
>         softlimit -m 4000000 tcpserver -v -H -R -l$HOSTNAME -c200 0 110
> \
>         /var/qmail/bin/qmail-popup $HOSTNAME \
>         /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
> 2>&1 |  \
>          /usr/local/bin/setuidgid qmaill \
>         /usr/local/bin/multilog t n100 s1000000 /var/log/pop3 &
> 
> Ken

http://www.quint.be/projects/qmail/qmail-1.03-poplogging.patch

Near the bottom:

-  if (fd_copy(2,1) == -1) die_pipe();
+  /* Don't know why this is needed has no effect when removed
+     it stands in the way of good logging with multilog
+     checked qmail-pop3d it does not use the fd 2
+     it only writes to stdout not stderr not even for errors
+     Willy De la Court <[EMAIL PROTECTED]>
+   */
+  
+  /* if (fd_copy(2,1) == -1) die_pipe();*/

Perhaps that is the problem?

Reply via email to