Butch
At 08:55 AM 3/7/03, you wrote:
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 setitimer(0,0xbfbfe5b0,0xbfbfe5a0) 1219 popper RET setitimer 0 1219 popper CALL sigaction(0xe,0xbfbfe598,0xbfbfe580) 1219 popper RET sigaction 0 1219 popper CALL getpid 1219 popper RET getpid 1219/0x4c3 1219 popper CALL __sysctl(0xbfbfe5c0,0x4,0,0,0x2811f700,0x2b) 1219 popper RET __sysctl 0 1219 popper CALL gettimeofday(0xbfbfd508,0) 1219 popper RET gettimeofday 0 1219 popper CALL gettimeofday(0xbfbfc5a8,0) 1219 popper RET gettimeofday 0 1219 popper CALL access(0x28118324,0x4) 1219 popper NAMI "/etc/localtime" 1219 popper RET access 0 1219 popper CALL open(0x28118324,0,0) 1219 popper NAMI "/etc/localtime" 1219 popper RET open 4 1219 popper CALL fstat(0x4,0xbfbfc480) 1219 popper RET fstat 0 1219 popper CALL read(0x4,0xbfbfa174,0x1f08) 1219 popper GIO fd 4 read 1218 bytes
"[EMAIL PROTECTED]
[EMAIL PROTECTED]"\M^T\r\M-x\M-#_\^F\M-h\M-$s\M-h\M-p\M-%>\M-h\M-h\M-&S\M-J\M-p\M-'\^^\
\M-J\M-h\M-*-\M-l\M-p\M-*\M-^\M^N\M-h\M-+\M-|\M-+p\M-,\M->p\M-h\M--\M-
<A LOT MORE OF THE ABOVE "non english" WAS DELETED FOR POSTING TO MAILIST>
1219 popper RET read 1218/0x4c2
1219 popper CALL close(0x4)
1219 popper RET close 0
1219 popper CALL getpid
1219 popper RET getpid 1219/0x4c3
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"
1219 popper RET sendto 76/0x4c
1219 popper CALL unlink(0xbfbfd410)
1219 popper NAMI "/var/mail/s/h/.shane.cache"
1219 popper RET unlink -1 errno 2 No such file or directory
1219 popper CALL ftruncate(0x3,0,0,0)
1219 popper RET ftruncate 0
1219 popper CALL unlink(0xbfbfec38)
1219 popper NAMI "/var/mail/s/h/.shane.pop"
1219 popper RET unlink 0
1219 popper CALL close(0x3)
1219 popper RET close 0
1219 popper CALL write(0,0x806f000,0x2a)
1219 popper GIO fd 0 wrote 42 bytes
"+OK Pop server at localhost signing off.\r
"
1219 popper RET write 42/0x2a
1219 popper CALL close(0x4)
1219 popper RET close 0
1219 popper CALL exit(0)
I'm not sure what this is telling me. What directory is qpopper looking for my email? I see /var/mail/s/h/.shane.cache which I don't think should contain email and /var/mail/s/h/.shane.pop which is the temp file which is created when one checks email. I don't see anywhere in this dump that qpopper is looking for my mail in /var/mail/shane. With shane being a file with the following permissions:
-rw------- 1 shane shane 980 Mar 6 17:10 shane
Any suggestions would be appreciated, Shane
TSTAR Internet, Inc | Making the Net Work Marble Falls, TX | Serving Blanco, Burnet, 830-693-6967 | Llano, and Mason Counties