Home arrow FAQs arrow OS X Server Web Services arrow How can I change the maximum attachment size for Webmail?
How can I change the maximum attachment size for Webmail? PDF Print

This is actually not a limitaton of Webmail/SquirrelMail, but of PHP.

You will need to add/edit "upload_max_filesize" in /etc/php.ini

OS X Server does not come with a php.ini file in place (it relies on the default values compiled into PHP).

If you haven't done so already, just create a new php.ini file and add:

upload_max_filesize = 5M (or whatever size you need)

When done editing issue:

sudo /usr/sbin/apachectl graceful restart

Alternatively you can copy the supplied /etc/php.ini.default to /etc/php.ini and use it as starting point.

I do recommend to start with a new file though. Over time you can just add any parameters you want to differ from the defaults, while still keeping a clean and readable php.ini
 
< Prev   Next >

Newsletters

Would you like to stay ahead of changes? Subscribe to our low volume newsletters or follow us on Twitter.

Logotega Promotion

Our friends at logotega.com are offering a 20% rebate to topicdesk.com visitors.

Visit logotega.com for quality graphic design tailored to your needs.

Get a 20% rebate on logo design and corporate identity materials throughout this summer!

Twitter Updates

Twitter Updates

    follow us on Twitter

    Current poll

    I will update my server to Snow Leopard...