Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: dev

Help on debug IMAPD (IMAP retrieved messages that not belong to the user)

 

 

DBMail dev RSS feed   Index | Next | Previous | View Threaded


mysql.jorge at decimal

Sep 29, 2009, 9:49 AM

Post #1 of 3 (598 views)
Permalink
Help on debug IMAPD (IMAP retrieved messages that not belong to the user)

Paul,



I need your help to debug IMAPD.

Ex:



On MSO 2007, a folder show's me more messages that the ones that belong to
the user. After the last real message it show's messages (most of them seems
parts of messages and not the complete message) from other users.

If I check mail using RoundCube, I don't see them.

But If I use SquirrelMail, I do see them in, almost the same way.



What I'd like to ask you is:

1- Can you add an extra header like existed on the past, with the
X-DBMail-Mimepart=9999 ? it can be removed after the 1st stable version.

2- I'm going to provide you a log when I enter this imap folder and see
these messages, from MSO/SquirrelMail/RoundCube, with this, I ask you to see
(I'll try to check also) what could be wrong on the imap while fetching the
messages on that inbox





Debug info will go on the next email in a few hours.



Jorge,


paul at nfg

Sep 29, 2009, 12:46 PM

Post #2 of 3 (541 views)
Permalink
Re: Help on debug IMAPD (IMAP retrieved messages that not belong to the user) [In reply to]

Jorge Bastos wrote:
> On MSO 2007, a folder show’s me more messages that the ones that belong
> to the user. After the last real message it show’s messages (most of
> them seems parts of messages and not the complete message) from other users.
>
> If I check mail using RoundCube, I don’t see them.
>
> But If I use SquirrelMail, I do see them in, almost the same way.
>
>
>
> What I’d like to ask you is:
>
> 1- Can you add an extra header like existed on the past, with the
> X-DBMail-Mimepart=9999 ? it can be removed after the 1^st stable version.

No. I'm not doing that.

> 2- I’m going to provide you a log when I enter this imap folder and
> see these messages, from MSO/SquirrelMail/RoundCube, with this, I ask
> you to see (I’ll try to check also) what could be wrong on the imap
> while fetching the messages on that inbox

Full logs (use the error_log, not the syslog) will help. A dump of
partlists and mimeparts for the physmessage involved should be very
useful. The query used is in dbmail-messages.c,_mime_retrieve:

for mysql it amounts to:

SELECT l.part_key,l.part_depth,l.part_order,l.is_header,
DATE_FORMAT(ph.internal_date, GET_FORMAT(DATETIME,'ISO')),data
FROM dbmail_mimeparts p
JOIN dbmail_partlists l ON p.id = l.part_id
JOIN dbmail_physmessage ph ON ph.id = l.physmessage_id
WHERE l.physmessage_id = %llu ORDER BY l.part_key,l.part_order ASC;

So if you can determine the physmessage_id for the message involved you
can produce a dump. That will tell us if the database is somehow
corrupted.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


mysql.jorge at decimal

Oct 5, 2009, 10:18 AM

Post #3 of 3 (501 views)
Permalink
Re: Help on debug IMAPD (IMAP retrieved messages that not belong to the user) [In reply to]

Paul,
To keep on track of this, here's the link & answers for you.
Logs & screenshot's:
On the screenshot's, the squirrelmail one, is the one where the, let me call
it "strange messages" appear, on RoundCube everything's appear as expected.

http://neotrix.decimal.pt/dbmail/files.zip

> > 1- Can you add an extra header like existed on the past, with
> the
> > X-DBMail-Mimepart=9999 ? it can be removed after the 1^st stable
> version.
>
> No. I'm not doing that.

Hum ok, but it would help a bit.

What can I do more to help on getting to the source of this problem?

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.