David Gartner <[EMAIL PROTECTED]> wrote:
> > > Hey all.  I'm trying to achieve minimal logging for pop3.  Many of you
> > > suggested using 'recordio' with tcpserver.  I tried that, and it has
> > > EXACTLY the logging I need, however, I do have a slight problem.  When
> > > you do recordio, you get lots of extraneous characters.
> >
> > You're not supposed to get them.  The extra characters you showed,
> > apparently ending up in the session itself, are supposed to go to a log
> > instead.  How are you invoking tcpserver/recordio/qmail-pop3d?  Give us
> > copies of your scripts.  Probably there's a good in them somewhere.
> 
> Here's what I use to invoke tcpserver....
> 
> tcpserver -c 50 0 pop3 /var/qmail/bin/qmail-popup mail.mydomain.com recordio
> /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

Hmmm.  I would have thought recordio should come immediately before
qmail-popup (else you won't capture the login information), but I don't know
that for sure.  The other thing is that recordio outputs to stderr (fd2).  So
where is fd2 going above?  Nowhere that I can see.  Perhaps adding
"2>>/foo/log" before "&" would help?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to