Page 1 of 1

SquirrelMail Attachment Size

Posted: Mon Nov 10, 2008 5:19 pm
by sonn33
Hi Guys,

I am wondering why my squirrel mail still 2M attachment i already configure in /etc/php.in to attached 20M but once i am log-in to may squirrelmail still in 2M. Can somebody help me to figure out my problem.

Thank you,
sonn

Posted: Mon Nov 10, 2008 5:53 pm
by lambda
have you restarted apache after making the change? have you changed the other variables as well? see http://www.squirrelmail.org/wiki/AttachmentSize

Posted: Thu Nov 13, 2008 8:29 am
by sonn33
IDOL,

Yes. I did restart httpd including the postfix. My concerned now is while attaching a 8MB file my squirrel mail page will stop pag can't be display. What will be the possible solution for this.

Thank you,
Sonn

Posted: Thu Nov 13, 2008 9:50 am
by x2oxen
what MTA you using?? Are you sure you haven't put any maximum email size restriction on that.

Posted: Fri Nov 14, 2008 12:26 pm
by asim31
Dear ,

I am using qmail with squirrel mail recently i changed the max upload size in php.ini and restart the apache and its working .


vi /etc/php.ini

; Maximum allowed size for uploaded files.
upload_max_filesize = 8M


/etc/init.d/httpd restart


Regards

Posted: Fri Nov 21, 2008 5:55 pm
by mejam
Please follow the following steps:


1, Locate your php.ini.
2, Open it in a text editor
3, Search for upload_max_filesize.
4, Change 2M to something else, for example 20M.
5, If the upload_max_filesize is larger than post_max_size, you must increase post_max_size so that it's bigger than upload_max_size
6, If the value of post_max_size is larger than memory_limit, you must increase memory_limit so that it's larger than post_max_size.
7, Save your changes to the file.
8, Restart your web server.


Hope it helps

Posted: Fri Nov 21, 2008 5:57 pm
by mejam
and for before posting any new question about attachments...please see these URLs.:

http://www.squirrelmail.org/wiki/AttachmentSize

http://www.squirrelmail.org/wiki/LowMemoryProblem