hi-

i've got 20010802i compiled with DEBUG=-DDEBUG.  i'm having problems with
pop auth, so i'm trying to get debug output into my pop3d logs.  here's
the setup i'm running with:

/var/qmail/supervise/qmail-pop3d/run:
#!/bin/sh
    exec /usr/local/bin/softlimit -m 2000000 \
        /usr/local/bin/tcpserver -x /etc/tcp.pop3.cdb -v -R -H -l 0 0 110
        /var/qmail/bin/qmail-popup mail.dev.thesquare.net \
        /var/qmail/bin/auth_pop \
        /var/qmail/bin/qmail-pop3d Maildir 2>&1

contents of tcp.pop3:
:allow,DEBUGLEVEL="256"

contents of /var/qmail/supervise/qmail-pop3d/log/run:
#!/bin/sh
    exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
        /var/log/qmail/pop3d

from what i understand, a DEBUGLEVEL should result in a large amount of
info, but i'm not getting anything other than tcpserver output in my logs:

2001-09-26 18:51:20.324127500 tcpserver: status: 1/40
2001-09-26 18:51:20.324314500 tcpserver: pid 27861 from 10.3.26.44
2001-09-26 18:51:20.324433500 tcpserver: ok 27861 0:10.3.26.44:110
:10.3.26.44::32839
2001-09-26 18:51:28.430303500 tcpserver: end 27861 status 256


even adding recordio into the mix doesn't yield much:
i changed /var/qmail/supervise/qmail-pop3d/run like so:
#!/bin/sh
    exec /usr/local/bin/softlimit -m 2000000 \
        /usr/local/bin/tcpserver -x /etc/tcp.pop3.cdb -v -R -H -l 0 0 110
/usr/local/bin/recordio \
        /var/qmail/bin/qmail-popup \
        mail.dev.thesquare.net /usr/local/bin/recordio
/var/qmail/bin/auth_pop \
        /usr/local/bin/recordio /var/qmail/bin/qmail-pop3d Maildir 2>&1

and i end up with:
2001-09-26 19:06:13.252806500 tcpserver: status: 1/40
2001-09-26 19:06:13.253032500 tcpserver: pid 27909 from 10.3.26.44
2001-09-26 19:06:13.253171500 tcpserver: ok 27909 0:10.3.26.44:110
:10.3.26.44::32843
 001-09-26 19:06:13.255937500 27909 > +OK
<[EMAIL PROTECTED]>
 001-09-26 19:06:18.828944500 27909 < USER dkelley
 001-09-26 19:06:18.829047500 27909 > +OK
 001-09-26 19:06:21.052590500 27909 < PASS test
2001-09-26 19:06:21.059578500 27911 > [EOF]
 001-09-26 19:06:21.059947500 27909 > -ERR user record incorrect
2001-09-26 19:06:21.059951500 27909 > [EOF]
2001-09-26 19:06:21.060327500 tcpserver: end 27909 status 256
2001-09-26 19:06:21.060334500 tcpserver: status: 0/40

am i missing something as far as enabling debug output goes? i'm assuming
that compiling with DEBUG=-DDEBUG is all i need.

thanks-

dan

Reply via email to