Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: netdesignns on September 22, 2004, 12:53:54 PM
-
Have been trying to find the Contrib to increase the email attachment size allowed. Found one on this site from Charlie Brady but the link to the rpm is broken. Can anyone help out.
-
.. just follow the following info:
http://forums.contribs.org/index.php?topic=20748.0
-
note that the references on contribs.org have changed...
from:
(old) http://wiki.contribs.org/e-smith/contrib/ to (new) http://mirror.contribs.org/smeserver/contribs/
Now if this doesn't help to locate WHICH HowTo you wanted here's a direct reply:
- login and execute (for 5 Mbi):
/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 5000000
/sbin/e-smith/signal-event email-update
(note that this is simple but doesn't take care of PHP speed limitations etc !)
If you either have a slow machine or clamav installed
look for lots of forum threads AND:
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/webmail-attachment-size-howto.html
don't forget that you should have the new PHP version already ...
Regards
Reinhold
-
.. also for webmail & other php apps (info courtesy of Darrell May):
a) make sure your version of e-smith-php is greater than 1.5 (try http://www.pagefault.org if not)
b) execute the following:
Upgrade the rpm (if req):
Add these settings into the configuration database to increase the maximum attachment size to 25MB:
/sbin/e-smith/config setprop php MaxExecutionTime 1800
/sbin/e-smith/config setprop php MemoryLimit 100M
/sbin/e-smith/config setprop php PostMaxSize 25M
/sbin/e-smith/config setprop php UploadMaxFilesize 25M
Expand the template:
/etc/e-smith/events/actions/conf-php
Then restart httpd:
/etc/rc.d/init.d/httpd-e-smith graceful
HTH
-
are we talking:
email _or_ webmailer ? :-D
Reinhold
(who still thinks php is a security nightmare :-o )