[Bug 89878] Crash after error from POP3 server (KMAcctExpPop::~KMAcctExpPop())

Karl Tomlinson <[email protected]>
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=89878         
bugs.kde karlt net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs.kde karlt net



------- Additional Comments From bugs.kde karlt net  2007-05-13 10:32 -------
Confirming that I see this with kmail 1.9.5 (kde 3.5.5).

It is caused when there is no unique-uid field in the (invalid) UIDL response:

  uidl
  +OK 224 messages
  ...
  212 <0660472257.20070510230429 gpreeves com>
  213
  214 <209l452f.3417037 fonterra com>
  ...

Deleting the single message with no unique-uid, corrected the problem.

I don't have control of my pop server, but it appears to generate unique-ids from message-id headers.  The problem message had the following header:

  Message-ID: 20070511113407190 www aa co nz

Note the missing <> which confused the pop server.

If anyone else hits this issue, the following commands may be helpful.

openssl s_client -host pop3_host -port 995

+OK POP3 server ready.
user your_username
+OK please send PASS command
pass your_password
+OK your_username is welcome here
uidl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.