LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2007, 11:40 PM   #1
naiknitin2011
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Webmail / Sendmail error


Hi,
I am new member of linuxquestions although i am continious reader of this site. I am comparatively new to the linux. By the way by reading some books and Q and A's of this site i have successfully developed a web and mail server but in mail server the mails can be accessed or send through outlook on client machine but when I tried to access the same by using say www.abc.com/webmail it will give following error.

Fatal error: Allowed memory size of 9437216 bytes exhausted at (null):0 (tried to allocate 4097 bytes) in /usr/share/squirrelmail/functions/imap_general.php on line 47
in imap_general.php on corrosponding line squimap_fgets function present

function squimap_fgets($imap_stream) {
$read= '';
$buffer=4096;
$results = '';
while(strpos($read,"\n")==false) {
if(!($read=fgets($imap_stream,$buffer))) {
break;
}
$results=$read;
}
return $results;
}

Kindly help me in this case
 
Old 04-09-2007, 06:17 PM   #2
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Squirrelmail is trying to use more memory than php will allow it to use. There is a memory limit in php.ini that you can set.




Edit:

http://squirrelmail.org/wiki/LowMemoryProblem

Last edited by fur; 04-09-2007 at 06:21 PM.
 
Old 04-10-2007, 01:02 AM   #3
naiknitin2011
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Still there is a problem

Quote:
Originally Posted by fur
Squirrelmail is trying to use more memory than php will allow it to use. There is a memory limit in php.ini that you can set.




Edit:

http://squirrelmail.org/wiki/LowMemoryProblem

Sir ,

I m new user to linux , i have visited the said website but still there is a same problem with my webmail.
Kindly give detailed procedure for solving the problem
 
Old 04-10-2007, 08:16 AM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
What have you tried so far to fix this that didn't work?

Whats your "memory_limit =" option set to in your php.ini file?
 
Old 04-10-2007, 11:35 PM   #5
naiknitin2011
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fur
What have you tried so far to fix this that didn't work?

Whats your "memory_limit =" option set to in your php.ini file?

Sir,

Memory limit is set to 20M in php.ini file.
But still there are problems actually i dont know whether it is necessary to give all permissions to specific directories or not.
Thanx for your reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SquirrelMail WebMail issues with sendmail tomazN Linux - Software 8 05-22-2008 01:08 PM
sendmail webmail interface kafnir Linux - Networking 2 03-29-2007 10:25 AM
Webmail with sendmail and pop3 GraemeK Linux - Networking 3 09-27-2004 08:08 AM
sendmail does not work through webmail cdrom Linux - Newbie 5 03-01-2004 07:57 AM
sendmail box with webmail steve_babbage Linux - Newbie 1 02-28-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration