Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Re: [SLE] web log
  • From: Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 13 Mar 2002 21:44:34 +0100
  • Message-id: <200203132144.34360.andjoh@xxxxxxxxxxxxxxxxxxxxx>
On Wednesday 13 March 2002 21.36, Jon Clausen wrote:
This is getting to be really strange... The part where kmail will read it
from a file with no problem, but refuses to have anything to do with it, if
it's in the spool... What's (or rather: is *that*) the difference?

I think I may have found something, but I would really love to know if other
qpopper users see the problem as well.

I redirected Landy's mail to a remailer I have, that forwards all mail back to
me, just to get the message back into my mailbox. I then tried to pop it.
When popper was hanging I did an strace on it and saw it was hanging on a
read(). lsof showed the file position at 2628, which was the end of the mail.
However, looking at kmail's debug output I saw that qpopper reported message
length as 2633, 5 bytes longer than the actual mail. That appears to be why
popper's hanging. It's trying to read beyond end-of-file (or end of message,
if there are other messages behind it in the file).

Something in that mail appears to be screwing with qpopper's calculation of
the length of the message.

//Anders

< Previous Next >