Trouble sending/receiving attachments over a certain size

Falicia, Gregory gregory at netq.com
Sun Mar 3 16:26:08 CET 2013


 

Thank you! 

I have made these changes and they are working. 

I still have to check on the Apache part below though! 

------------------- 

On 02/28/2013 11:36 pm, Fеnикs wrote: 

> You're free to add that line to postfix with command (put your value after 
> '='):
> postconf -e message_size_limit=41943040
> then reload postfix.
> 
> One more parameter that might be involved is 
> https://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody [1]. It's 
> supposed to be unlimited by default, though.
> For nginx that's http://wiki.nginx.org/HttpCoreModule#client_max_body_size [2], by 
> default limited to 1M.
> 
> Respects,
> Alexej
> 
> On Thursday 28 February 2013 22:46:49 you wrote:
> 
>> Thank you for your response Alexej! The file is located in two places on my CentOS v6.3 system as below: # find / |grep main.cf /etc/postfix/main.cf /usr/libexec/postfix/main.cf however . . message_size_limit is not found in either file . .. any ideas ? The other items I found and modified as below. But when I upload a file close but below that size the file indicates its uploading but never completes ?? Gregory. On 02/28/2013 8:37 pm, Fеnикs wrote: 
>> 
>>> Hello! There are 4 parameters you'll need to look at: 1. post_max_size and upload_max_filesize in php.ini -- they will only limit the size of attachments uploaded via webclient. 2. message_size_limit in postfix/main.cf -- this will limit the size of the whole letter in postfix in bytes. Keep in mind, that this includes the text of the message itself and, if attachment is not a text file, it will be base64 encoded increasing it's size by about 1/3. 3. max_allowed_packet in mysql/my.cnf -- this parameter also limits message attachment size, as Kolab passes messages through database. So, if you'd like to allow your users to send mails with binary attachments of 30M maximum, values would be something like: php.ini: post_max_size = 30M upload_max_filesize = 30M postfix/main.cf: message_size_limit = 41943040 mysql/my.cnf max_allowed_packet = 40M Respects, Alexej
>> Links: ------
 

Links:
------
[1] https://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
[2] http://wiki.nginx.org/HttpCoreModule#client_max_body_size
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20130303/5b74cb18/attachment.html>


More information about the users mailing list