On 12/19/07 1:49 PM, "Tomas Kuliavas" <[EMAIL PROTECTED]> wrote:
>
Frank DeChellis wrote:
>
>
>
>
> On 12/18/07 1:43 PM, "Tomas Kuliavas"
> <[EMAIL PROTECTED]> 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 PHP
scripts - 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 in
appropriate places.
--
Tomas
--
>
What confuses me is how the Message ID number for a few subs but most have
more reasonable message ID numbers. A mystery for another day.
Is there a way to reset the message Id number? Is that a dangerous idea?
:-)
Thanks
Frank
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users