> At 04:01 PM 3/6/2003 -0800, you wrote:
>
>>Try using "ktrace" on the spawned qpopper daemon once you've made the
>>initial connection via telnet and gotten the "+OK Qpopper (version 4.0.4)"
>>banner.
>>
>>e.g. "cd /tmp ; sudo ktrace -d -i -p <pid-of-running-qpopper>"
>>
>>Once you've "quit" and the "qpopper" process has exited, run
>>
>>"cd /tmp ; sudo kdump | less" (or "more")
>>
>>and look at the output to see where "qpopper" went looking for your
>>"visible messages" once you authenticated to it.
>>
>>"ktrace"/"kdump" are Your Friends.
>>
>> - Greg
>
> Hi,
> I've tried Greg's suggestion and I need help deciphering the output:
>
> # kdump | more
> 1219 popper RET read 6
>
> [...]
>
> 1219 popper CALL socket(0x1,0x2,0)
> 1219 popper RET socket 4
> 1219 popper CALL fcntl(0x4,0x2,0x1)
> 1219 popper RET fcntl 0
> 1219 popper CALL connect(0x4,0xbfbfc554,0x6a)
> 1219 popper NAMI "/var/run/log"
> 1219 popper RET connect 0
> 1219 popper CALL sendto(0x4,0xbfbfca50,0x4c,0,0,0)
> 1219 popper GIO fd 4 wrote 76 bytes
> "<133>Mar 7 09:25:26 qpopper[1219]: Stats: shane 0 0 0 0 localhost
> 127.0.0.1"
I suspect Butch's suggestion will get you headed in the right direction,
but in the interim, looks to me like you attached the "ktrace" *after*
you'd already done the login to the Qpopper server via Telnet.
You want to attach it *as soon as you've made the initial Telnet connection
to the POP port*. As soon as you get the Qpopper greeting! *BEFORE* you
log in. I see nothing in your "kdump" output that shows the authentication
negotiation, or where Qpopper after authentication looked for your mail
spool file. You attached to it just before it dumped out the stats that
it found no messages.
- Greg