[cvs] [Wiki] changed: FAQ/Admin/Config

Wiki Guest wiki at wiki.horde.org
Sat Feb 11 06:22:31 PST 2006


guest [68.45.61.154]  Sat, 11 Feb 2006 06:22:31 -0800

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  1.14
Change log:  Update file size section

@@ -400,8 +400,10 @@
 
 When changing settings in {{/horde/imp/config/prefs.php}} you can set the "value" field for a preference to set the default value of that preference. If you want to force users to use that value, and not allow them to change it, you must also set the "locked" field to //true//.
 
 ++++ How can I configure IMP's maximum attachment size?
+You may need to make changes to any or all of the following settings:  PHP, Apache, database, and Mail Transfer Agent.  Settings in each of these parts may affect overall attachment size and you will likely want any value that deals with size to be set to the same value of whatever maximum size you want to support.
+
 By default, PHP limits uploaded files to 2 MB, and this limit applies to attachments on messages sent from IMP. To change this value, edit the following value in your {{php.ini}} (or, in PHP3, {{php3.ini}}):
 
 <code>
 upload_max_filesize = number of bytes
@@ -416,11 +418,13 @@
 </code>
 
 You will need to restart your web server after this change.
 
-It is also possible that web server settings may limit the size of attachments.  For example, the Apache setting <code>LimitRequestBody</code>
-will limit the size also.  In some linux distributions, this is set very low in a distribution created {{/etc/httpd/conf.d/php.conf}} file.  Again, you 
-will need to restart your web server after changing web server configuration settings.
+It is also possible that web server settings may limit the size of attachments.  For example, the Apache setting {{!LimitRequestBody}} will limit the size also.  In some linux distributions (e.g. Red Hat Enterprise Linux 3), this is set very low in a distribution created {{/etc/httpd/conf.d/php.conf}} file.  Again, you will need to restart your web server after changing web server configuration settings.
+
+Your database server may impose limits on the maximum size of files that can be uploaded.  Check your database server documentation to see what this limit may be.  For !MySQL, this limit is controlled by the {{max_allowed_packet}} configuration directive.
+
+Finally, your MTA may impose size limits for the overall size of messages that it will handle.  Check your MTA configuration to see if there are settings to limit overall message size.
 
 ++++ Can I add a custom header to mail sent from IMP?
 To add custom SMTP headers to mail sent from IMP, place the headers in {{/horde/imp/config/header.txt}}. Make sure that your header is the last line in the file! You can include PHP variables by enclosing them in percent signs ("%"). One useful header is
 


More information about the cvs mailing list