Koozali.org: home of the SME Server

Attachment size

Michiel

Attachment size
« 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

Timothée Bastin

Re: Attachment size
« Reply #1 on: June 21, 2001, 07:35:43 PM »
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

Darrell May

Re: Attachment size
« Reply #2 on: June 23, 2001, 10:48:24 PM »
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