Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Michiel on June 21, 2001, 07:14:40 PM
-
Hi all,
Can anyone tell me what the limit is on attachment size when uploading a file with the webmail client?
And what file I need to hack to increase this size??
(The webmail interface would be very convenient to mail large files to myself because company mail servers have a limit of 5mb for email size)
Thanks in advance,
Michiel
-
Yes, I know how to do this trick:
This is from the e-smith developers mailing list:
"I just noticed that large file attachments cause webmail to error. I
tracked this down to the default setting in PHP (which powers e-smith
webmail and most other groupware mailers) is set at a 2MB filesize
limit. This is easy to fix. Simply edit /etc/php.ini and change the
default entry (shown below) to whatever suits your needs and restart
httpd.
upload_max_filesize = 2M
It might be good to note that quite a few ISP's do place the receive
limit at 5M so maybe five meg is a better default.
http://netsourced.com/e-smith/howto/howto-webmail-attachment-size.html"
Timothée
-
Timothée Bastin wrote:
>
> upload_max_filesize = 2M
>
Thanks Timothee, just wanted to point out this informatiion has been updated. There are actually two entries that require changing/coordinating:
post_max_size = 8M
upload_max_filesize = 2M
Visit this link for details:
http://www.netsourced.com/e-smith/docs/webmail-attachment-size-howto.html
Regards,
Darrell