Recently, some of my accounts cannot read any email in the INBOX within Squirrelmail. The error....
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).
The messages are not being moved out. In fact, I can delete one of those messages just fine. I can also move messages to another folder. Oddly, once I move a message I can open and read it.. and I can open and read any message in the Trash folder.
So, it seems that something has changed during an update to who knows what, which has borked up reading mail in Squirrelmail. It does seem that this is occurring so far on what would amount to root users of an account. In other words, the user created during a hosting installation. So, files are stored in /var/www/rootusername. When I add additional email users to an account, I put their user files in /var/www/homes/rootuser/additionalusername.
Has anybody else experienced this? I'm a bit lost as to where to look. I am using Sendmail/Dovecot and have been on this server since CentOS 4 came out. This could be any of so many things from PHP to IMAP, but mostly it seems to be some pathing problem.. just not sure where to begin.
The only thing I am finding in apache error logs is this:
PHP Notice: Undefined variable: charset_converted in /usr/share/squirrelmail/functions/mime.php on line 316, referer: http://domain_name_replaced_here_by_john.com/webmail/src/right_main.php?PG_S...
Which doesn't seem to have any affect on other users and looks like it refers to the folder list and not the email reader.
Thanks for any hints/help on this.
Best, John Hinton
O/H John Hinton έγραψε:
Recently, some of my accounts cannot read any email in the INBOX within Squirrelmail. The error....
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).
The only thing I am finding in apache error logs is this:
PHP Notice: Undefined variable: charset_converted in /usr/share/squirrelmail/functions/mime.php on line 316, referer: http://domain_name_replaced_here_by_john.com/webmail/src/right_main.php?PG_S...
Which doesn't seem to have any affect on other users and looks like it refers to the folder list and not the email reader.
Maybe these accounts have too many emails in them? Check on two things:
a) squirrelmail config: 4. General Options -> 11. Allow server side sorting=true This speeds up query against the stored mails.
b) your php.ini has a "memory_limit = 8M" per php process. Increase it up to 20M.
Restart Apache after these changes and see if they help.
Thanos Rizoulis wrote:
O/H John Hinton έγραψε:
Recently, some of my accounts cannot read any email in the INBOX within Squirrelmail. The error....
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).
The only thing I am finding in apache error logs is this:
PHP Notice: Undefined variable: charset_converted in /usr/share/squirrelmail/functions/mime.php on line 316, referer: http://domain_name_replaced_here_by_john.com/webmail/src/right_main.php?PG_S...
Which doesn't seem to have any affect on other users and looks like it refers to the folder list and not the email reader.
Maybe these accounts have too many emails in them? Check on two things:
a) squirrelmail config: 4. General Options -> 11. Allow server side sorting=true This speeds up query against the stored mails.
b) your php.ini has a "memory_limit = 8M" per php process. Increase it up to 20M.
Restart Apache after these changes and see if they help.
Thanks...
There at the time were only 50 emails in the inbox. In fact, I deleted the SquirrelMail IMAP stuff and recreated by logging back in. Sent one message through and it wouldn't open either.
I have a 64M limit in the php.ini file and have had for a long time.
Thanks but this seems to be something else. This did work for a long time.. just broke here lately. I'm wondering if it had anything to do with the recent squirrelmail update or any of the php updates.
John Hinton
O/H John Hinton έγραψε:
I have a 64M limit in the php.ini file and have had for a long time.
Thanks but this seems to be something else. This did work for a long time.. just broke here lately. I'm wondering if it had anything to do with the recent squirrelmail update or any of the php updates.
I am using Squirrelmail and PHP4 and their versions are (freebsd versioning):
php4-4.4.4_1 squirrelmail-1.4.9a
Up to these versions I have never had any problems, even with over 1,5K emails in some accounts. Latest Squirrelmail is: Squirrelmail Version 1.4.10a - 10 May 2007
What version of PHP you have?
Also, does the problem still exist when you access those "problematic" mailboxes using Thunderbird or some other IMAP client?