Frank DeChellis wrote:> > > > > On 12/18/07 1:43 PM, "Tomas Kuliavas" <tokul@xxxxxxxxxxxxxxxxxxxxx> wrote:> >> > > Frank DeChellis wrote:>> >>> >>> A search doesn¹t bring up anything>> conclusive>>> for me...so here I am.>>> >>> I have 1.4.13nb1 installed on>> NetBSD. We use PHP>>> 4.4.6 and imap-uw-2006j2nb3.>>> >>> We have a number of>> clients who have been>>> calling in with this error when>>> they open a>> message in their Inbox:>>> >>>>>> ³The server couldn't find the message you>> requested.>>> Most probably your>>> message list was out of date and the>> message has been>>> moved away or deleted>>> (perhaps by another program>> accessing the same>>> mailbox).>>> Click here to>>> return to INBOX²>>> >> >>>> >> >>> Could you show link used to read the message? With all>>> arguments.>> src/read_body.php?something.>> -- >> >> >> This is the link>> >>>> .../src/read_body.php?mailbox=INBOX&passed_id=2329636710&startMessage=1>>> > >> > > SquirrelMail sanitizes message ids by typecasting them to PHP integers.>> PHP> supports only signed integers. On 32 bit system signed integer is>> from> -2147483648 to 2147483647. IMAP message ids use unsigned 32bit>> integers.> from 0 to 4294967295. Your message id is bigger than 2^31 and>> typecasting> breaks it.> > > -- > > > Thanks for the answer. Is there a setting somewhere I should adjust? Is> my> PHP out of date?> > When we move the message to another folder it opens but we just noticed> that> the message ID goes down to a number below 100.> > Any ideas on what I can do here?> SquirrelMail scripts must be fixed. If you want workaround for SquirrelMail that does not involve fixing PHPscripts - test 64bit netbsd. I think PHP_INT_MAX is higher on 64bit systems,but I can't test it right now. You need only webserver and php for testing.User data and original server can remain untouched. Fixing PHP scripts is easier. One function is used instead of typecasting inappropriate places. -- Tomas-- View this message in context: http://www.nabble.com/Unable-to-open-messages-in-Inbox.-tp14387319p14422972.htmlSent from the squirrelmail-users mailing list archive at Nabble.com. -------------------------------------------------------------------------SF.Net email is sponsored by:Check out the new SourceForge.net Marketplace.It's the best place to buy or sell servicesfor just about anything Open Source.http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace-----squirrelmail-users mailing listPosting guidelines: http://squirrelmail.org/postingguidelinesList address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxxxxxx archives: http://news.gmane.org/gmane.mail.squirrelmail.userList info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users