Another option is to use tcpdump to trace the IMAP connection from the client side: http://www.winpcap.org/windump/
One way or the other, we need logs so that we can see the IMAP session and understand the sequence of IMAP commands that lead to the error. Aaron On Thu, 2007-05-24 at 15:52 +0100, Jorge Bastos wrote: > (it just happened with this message) > But tell me Aaron, what i said makes sense? > > I had this with loglevel=4 and i didn't saw this grr, going to put to =5 to > try to get logs > > > ----- Original Message ----- > From: "Aaron Stone" <[EMAIL PROTECTED]> > To: "DBMail mailinglist" <[email protected]> > Sent: Thursday, May 24, 2007 3:37 PM > Subject: Re: [Dbmail] Invalid message range specified > > > Ok, but without log files, there's nothing either of us can do. > > On Thu, 2007-05-24 at 15:08 +0100, Jorge Bastos wrote: > > For this to work, i just logoff and relogin the account and works nice. > > > > ----- Original Message ----- > > From: "Jorge Bastos" <[EMAIL PROTECTED]> > > To: "DBMail mailinglist" <[email protected]> > > Sent: Thursday, May 24, 2007 3:07 PM > > Subject: Re: [Dbmail] Invalid message range specified > > > > > > > Still hapening this Paul, > > > > > > This happen often. > > > It seams that something its not conting the number of messages. > > > Im going to try to explain wich is a big problem for explain my self. > > > OE check for messages every 30 minutes, and i navigate thro the > > > accounts, > > > the last one is account XX, so i selected and OE stay's connected to the > > > imap server. > > > 5 minutes later, OE start checking for messages automaticly (bad word), > > > and gets some new messages, the auto process of checking for new > > > messages > > > ends, now i go to try to delete the new message that the auto process > > > retrived, and voilá, here's the "invalid message range" error. > > > I'm almost sure it's this Paul, correct me if i'm wrong, maybe something > > > that is not updating the message range in the first connection? > > > I still couldnt get logs but working on it. > > > > > > Jorge > > > > > > ----- Original Message ----- > > > From: "Paul J Stevens" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]>; "DBMail mailinglist" <[email protected]> > > > Sent: Wednesday, May 23, 2007 8:35 AM > > > Subject: Re: [Dbmail] Invalid message range specified > > > > > > > > >> > > >> Ok, so I see this: > > >> > > >> C: A004 UID SEARCH CHARSET ISO-8859-15 ALL SUBJECT "blablah" > > >> S: * SEARCH > > >> S: A004 OK SEARCH completed > > >> C: A005 UID FETCH (FLAGS UID RFC822.SIZE INTERNALDATE > > >> BODY.PEEK[HEADER.FIELDS > > >> (Date To Cc From Subject X-Priority Importance Priority Content-Type)]) > > >> > > >> The search return nothing, so SM happily issues a fetch without > > >> specifying a > > >> message-set - and that's bogus. > > >> > > >> Looks like the bug is in squirrelmail, *not* in dbmail (in this case). > > >> > > >> I've confirmed this in sm 1.4.9a also. Same problem. > > >> > > >> I've also checked the SM tracker. Seems like this is a known problem > > >> > > >> http://sourceforge.net/tracker/index.php?func=detail&aid=1252368&group_id=311&atid=100311 > > >> > > >> > > >> Sjoerd wrote: > > >>> Ok. Updating on myself and excuses for the lost attachement. > > >>> > > >>> Again a rebuild of svn 2591 without any patches from me and still the > > >>> same error. > > >>> > > >>> Attached a .tar.gz loglevel 5 > > >>> > > >>> Sorry for any inconvenience on my part. > > >>> > > >>> Sjoerd. > > >>> > > >>> PS: Mailer is squirrelmail 1.4.10a (see also headers of this mail and > > >>> previous ;-) > > >>> > > >>> > > >>>> Hi, > > >>>> > > >>>> Just adding an me-too... > > >>>> > > >>>> I'm also having the same error. Even with svn 2589 > > >>>> > > >>>> First i got an 'Debug:[sql] dbmysql.c,db_get_result(+248): result is > > >>>> null' and after that I'm still getting the > > >>>> message: > > >>>> > > >>>> May 22 01:05:11 Debug:[imapsession] > > >>>> dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args(+595): > > >>>> parse > > >>>> args[21] = [)] > > >>>> May 22 01:05:11 Debug:[imap] imapcommands.c,_ic_fetch(+1397): > > >>>> dbmail_imap_session_fetch_parse_args loop idx 21 > > >>>> state -1 > > >>>> May 22 01:05:11 Debug:[mailbox] > > >>>> dbmail-mailbox.c,dbmail_mailbox_get_set(+1347): [(] uid [1] > > >>>> May 22 01:05:11 Debug:[imapsession] > > >>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1450): RESPONSE: > > >>>> [A005 > > >>>> BAD > > >>>> invalid messag > > >>>> ] > > >>>> May 22 01:05:11 Info:[imap] imap4.c,IMAPClientHandler(+306): Finished > > >>>> command uid [1] > > >>>> > > >>>> Attached is a log level 5. > > >>>> > > >>>> Hope you guys can pinpoint this for a solution. > > >>>> > > >>>> Sjoerd > > >>>> > > >>>> > > >>>>> Thomas, the invalid message range is fixed in svn 2589!! > > >>>>> > > >>>>> :P > > >>>>> > > >>>>> ----- Original Message ----- > > >>>>> From: "Thomas Raschbacher" <[EMAIL PROTECTED]> > > >>>>> To: <[email protected]> > > >>>>> Sent: Monday, May 21, 2007 1:13 PM > > >>>>> Subject: Re: [Dbmail] Invalid message range specified > > >>>>> > > >>>>> > > >>>>> hi. > > >>>>> > > >>>>> same here .. it is driving me nuts ... > > >>>>> please someone if you have any idea on how to fix this i'm willing > > >>>>> to > > >>>>> help > > >>>>> testing,.. ;) > > >>>>> > > >>>>> see bug http://www.dbmail.org/mantis/view.php?id=579 > > >>>>> > > >>>>> regards > > >>>>> > > >>>>> -- > > >>>>> Thomas Raschbacher > > >>>>> http://www.lordvan.com > > >>>>> > > >>>>> <quote who="Jorge Bastos"> > > >>>>>> Does the below info help? > > >>>>>> > > >>>>>> > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [UID > > >>>>>> 1192881] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_envelopes(+1029): lo: 0 > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[sql] > > >>>>>> dbmysql.c,db_query(+290): query [SELECT message_idnr,envelope FROM > > >>>>>> dbmail_envelope e JOIN dbmail_messages m ON > > >>>>>> m.physmessage_id=e.physmessage_id WHERE m.mailbox_idnr = 35 AND > > >>>>>> message_idnr BETWEEN 1192881 AND 1192883 ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1426): RESPONSE: > > >>>>>> [ENVELOPE ("Sat, 19 May 2007 13:01:42 +0200" "Re: [Mono-list] > > >>>>>> Configuring > > >>>>>> App Domain Managers" (("Ge...] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_imap_show_body_section(+1230): itemtype [3] > > >>>>>> partspec > > >>>>>> [] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [BODY[] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_headers(+1126): init self->headers > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_headers(+1153): for 1192881 > > >>>>>> [(References > > >>>>>> X-Ref > > >>>>>> X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[sql] > > >>>>>> dbmysql.c,db_query(+290): query [SELECT > > >>>>>> message_idnr,headername,headervalue FROM dbmail_headervalue v JOIN > > >>>>>> dbmail_messages m ON v.physmessage_id=m.physmessage_id JOIN > > >>>>>> dbmail_headername n ON v.headername_id=n.id WHERE m.mailbox_idnr = > > >>>>>> 35 > > >>>>>> AND > > >>>>>> message_idnr BETWEEN 1192881 AND 1192883 AND lower(headername) IN > > >>>>>> ('references','x-ref','x-priority','x-msmail-priority','x-msoesrec','newsgroups')] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_headers(+1197): got hdrval [Normal] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_headers(+1197): got hdrval [3] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [HEADER.FIELDS (References X-Ref X-Priority X-MSMail-Priority > > >>>>>> X-MSOESRec > > >>>>>> Newsgroups)] ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [{2}^M > > >>>>>> ^M ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [)^M ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [* > > >>>>>> 1734 > > >>>>>> FETCH (] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [INTERNALDATE "19-May-2007 11:55:40 +0100"] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [RFC822.SIZE 4418] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [FLAGS > > >>>>>> (\Recent)] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [UID > > >>>>>> 1192883] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1426): RESPONSE: > > >>>>>> [ENVELOPE ("Sat, 19 May 2007 11:44:02 +0100" "[Dbmail] Invalid > > >>>>>> message > > >>>>>> range specified" (("Jorge Bas...] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_imap_show_body_section(+1230): itemtype [3] > > >>>>>> partspec > > >>>>>> [] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [ ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [BODY[] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,_fetch_headers(+1153): for 1192883 > > >>>>>> [(References > > >>>>>> X-Ref > > >>>>>> X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [HEADER.FIELDS (References X-Ref X-Priority X-MSMail-Priority > > >>>>>> X-MSOESRec > > >>>>>> Newsgroups)] ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [{44}^M > > >>>>>> X-MSMail-Priority: Normal^M X-Priority: 3^M ^M ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [)^M ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[sql] > > >>>>>> dbmysql.c,db_query(+290): query [BEGIN] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[sql] > > >>>>>> dbmysql.c,db_query(+290): query [UPDATE dbmail_messages SET > > >>>>>> recent_flag = > > >>>>>> 0 WHERE message_idnr IN (1192883,1192881) AND recent_flag = 1] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[sql] > > >>>>>> dbmysql.c,db_query(+290): query [COMMIT] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,dbmail_imap_session_printf(+1424): RESPONSE: > > >>>>>> [o5gu OK > > >>>>>> UID FETCH completed^M ] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Info:[imap] > > >>>>>> imap4.c,IMAPClientHandler(+305): Finished command uid [0] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Info:[imap] > > >>>>>> imap4.c,IMAPClientHandler(+175): COMMAND: [5wxu UID FETCH 1:1192843 > > >>>>>> (UID > > >>>>>> FLAGS)] > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[0]: 'FETCH' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[1]: > > >>>>>> '1:1192843' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[2]: '(' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[3]: 'UID' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[4]: 'FLAGS' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[imapsession] > > >>>>>> dbmail-imapsession.c,build_args_array_ext(+2368): arg[5]: ')' > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Info:[imap] > > >>>>>> imap4.c,IMAPClientHandler(+288): Executing command uid... > > >>>>>> May 19 12:05:13 lira dbmail/imap4d[16293]: Debug:[db] > > >>>>>> db.c,db_acl_has_right(+4068): checking ACL [read_flag] for user > > >>>>>> [14] > > >>>>>> on > > >>>>>> mailbox [35] > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> ----- Original Message ----- > > >>>>>> From: Jorge Bastos > > >>>>>> To: DBMail mailinglist > > >>>>>> Sent: Saturday, May 19, 2007 11:44 AM > > >>>>>> Subject: [Dbmail] Invalid message range specified > > >>>>>> > > >>>>>> > > >>>>>> Guys, > > >>>>>> How's having the "invalid message range specified" issue? > > >>>>>> I'm getting crazy with it :p > > >>>>>> > > >>>>>> Jorge > > >>>>>> > > >>>>>> > > >>>>>> ------------------------------------------------------------------------ > > >>>>>> > > >>>>>> _______________________________________________ > > >>>>>> DBmail mailing list > > >>>>>> [email protected] > > >>>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail > > >>>>>> > > >>>>>> -- > > >> > > >> > > >> -- > > >> ________________________________________________________________ > > >> Paul Stevens paul at nfg.nl > > >> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 > > >> The Netherlands________________________________http://www.nfg.nl > > >> _______________________________________________ > > >> DBmail mailing list > > >> [email protected] > > >> https://mailman.fastxs.nl/mailman/listinfo/dbmail > > >> > > > > > > > _______________________________________________ > > DBmail mailing list > > [email protected] > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
