Chris Bolt wrote:
>
> > Sounds like you want those syslog messages to show up in
> > a separate multilog file. Which I would like too.
> >
> > The problem is, how to connect vchkpw to a multilog stream?
> >
> > The way tcpserver and qmail-send do it is they just printf
> > to standard out. Then pipe standard out into multilog.
> >
> > When vchkpw prints to standard out it ends up being sent
> > to the pop client.
> >
> > So how do we get vchkpw connected to multilog?
>
> 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