> I have recently installed squirrelmail1.5.0 but also received the same > problem in the previous version 1.4.2. When I click on the Folders link to > subscribe / unsubscribe I get the following message. > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 40 > bytes) in /var/www/html/squirrelmail-1.5.0/functions/imap_mailbox.php on > line 118 > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 136 > bytes) in Unknown on line 0 > > Other users on this server do not have this problem so I am assuming it is > a issue with my mailbox. Created a new mailbox under the same user id and > still have the same problem. Any help is greatly appreciated.
This is not a bug in SquirrelMail, but in your setup. My theory is that you have to many folders in your home directory. You fail to tell which IMAP server you have. My guess is UW-IMAP. Also, every user has a shell account with a home directory as well. Am I right? When you want to list the folders, UW-IMAP tries to get the entire folder/directory structure from your home directory. If it's too big, PHP won't cope, thus the error message. 1. Make a directory called '~/.mail' and move your mail files and directory into it. 2. Edit every entry in '~/.mailboxlist' from '[whatever]' to '~/.mail/[whatever]' 3. Repeat step 1 and 2 for every user. 4. Run '[SquirrelMail installation path]/config/conf.pl'. 5. Choose '3. Folder Defaults' and then '1. Default Folder Prefix'. Change the prefix to '.mail/'. 6. Choose 'S Save data' and then 'Q Quit'. Did it help? Sincerly, Fredrik. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
