Oleg Lapshin wrote:
> Hello
> 
> I have not well formed message and get 
> GLib-GObject-WARNING **: invalid cast from `GMimeMessagePart' to 
> `GMimeMessage'
> message in error_log
> and kmail say me, that "it will try to reconnect to server"
> Message has jpg attach, but kmail don't show it to me.

I can confirm that kmail crashes with a sig11. There may be something
wrong with the bodystructure, but I'm not convinced it's dbmail's fault
here. Evolution is also known to be very picky about imap responses, and
evolution doesn't choke on this message. In fact it works just fine in
evolution and thunderbird.

So, kmail shouldn't crash with a segfault; that's a kmail bug. And if
there's something in dbmail's imap response that is not ok, I'm more
than willing to fix it. But afaict all is well with the bodystructure:

(BODYSTRUCTURE (("text" "plain" NIL NIL NIL "8bit" 2378 41 NIL ("inline"
NIL) NIL NIL)("message" "rfc822" ("x-spam-type" "original") NIL
"original message before SpamAssassin" "8bit" 22264 ("Wed, 17 May 2006
08:41:49 +0400" "=?windows-1251?B?x+Dq4Obo8uUgwfPq5fI=?="
(("=?iso-8859-5?b?sODi1dzY2SCy0ODY2g==?=" NIL "emrxl"
"mailru.com"))(("=?iso-8859-5?b?sODi1dzY2SCy0ODY2g==?=" NIL "emrxl"
"mailru.com"))(("=?iso-8859-5?b?sODi1dzY2SCy0ODY2g==?=" NIL "emrxl"
"mailru.com"))((NIL NIL "loe" "ivanovo.ru")) NIL NIL NIL
"<[EMAIL PROTECTED]>")(("text" "html" ("charset"
"windows-1251") NIL NIL "8bit" 2378 25 NIL NIL NIL NIL)("application"
"octet-stream" ("name" "flowers.jpg") NIL NIL "base64" 18754 NIL
("attachment" ("filename" "flowers.jpg")) NIL NIL) "mixed" ("boundary"
"----=_NextPart_000_0005_01C6798D.BCBA8160") NIL NIL NIL) 301) "mixed"
("boundary" "----------=_446A7077.5F9E4112") NIL NIL NIL))

the braces are balanced, and I can't find any quoting issues.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to