1

Topic: [SOLVED] change mail attachment size

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: Ubuntu 10.04.3
- Any related log? Log is helpful for troubleshooting.
====
sorry for my english
i did it http://www.iredmail.org/forum/topic464- … -size.html
everything went without any problems postfix and apache2 rebooted normally but when I try to add an attachment larger than 10 MB in the log the following error:
Sep 15 15:48:12 mail roundcube: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35106357 bytes) in /usr/share/apache2/roundcubemail-0.3.1/program/lib/Net/SMTP.php on line 887
files smaller than 10 megabytes sent normally

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] change mail attachment size

Please show us what you exactly changed.

3

Re: [SOLVED] change mail attachment size

to know exactly what I did not interfere, I installed ubuntu and newer iredmail
everything else I did exactly as your example

postconf -e message_size_limit='104857600'

/etc/php5/apache2/php.ini
upload_max_filesize = 100M;
post_max_size = 100M;

/usr/share/apache2/roundcube/.htaccess
php_value    upload_max_filesize    100M
php_value    post_max_size    100M

Does it make sense to do post_max_size more than upload_max_filesize

4

Re: [SOLVED] change mail attachment size

Did you increase "memory_limit" in php.ini?

5

Re: [SOLVED] change mail attachment size

default value 128 Mb do more?

6

Re: [SOLVED] change mail attachment size

many thanks
memory_limit = 512
upload_max_filesize = 100M;
post_max_size = 120M;
and it worked
once again thank you very much