Koozali.org: home of the SME Server

Contrib or HowTo to Increase Email Attacment size

netdesignns

Contrib or HowTo to Increase Email Attacment size
« 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.

Offline smeghead

  • *
  • 557
  • +0/-0
Contrib or HowTo to Increase Email Attacment size
« Reply #1 on: September 22, 2004, 04:23:54 PM »
.. just follow the following info:

http://forums.contribs.org/index.php?topic=20748.0
..................

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Contrib or HowTo to Increase Email Attacment size
« Reply #2 on: September 22, 2004, 04:27:30 PM »
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
............

Offline smeghead

  • *
  • 557
  • +0/-0
Contrib or HowTo to Increase Email Attacment size
« Reply #3 on: September 22, 2004, 04:32:03 PM »
.. 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
..................

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Contrib or HowTo to Increase Email Attacment size
« Reply #4 on: September 22, 2004, 04:38:16 PM »
are we talking:
email _or_ webmailer ?    :-D

Reinhold
(who still thinks php is a security nightmare  :-o )
............