Postfix Max size of a message

Hi,

I have this field: “Max size of a message” set to 20480000 and still I get an error when trying to attach a document greater than 2MB size…

What that can be?

Thank you!

I was able to fix this…

Here’s what I did:

Go to WebMin
go to: Others–> PHP Configuration and edit the following files (selecting “Manage”)
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini

Change the values shown in:
Maximum file upload size
Maximum HTTP POST size
to whatever size you want, in my case was 20M

From Virtualmin, selected my website or virtualhost where I wanted up to 20M size attachments and went to:
Services–> PHP5 Configuration
Then selected Resource Limits
and modified this:

Maximum file upload size
Maximum HTTP POST size

again to 20M in my case.

Hi,

Yes, there are multiple variables which need to be adjusted in PHP in order to support larger files, not just the single one as you discovered. Cheers!

Best Regards, Peter Knowles TPN Solutions

E: pknowles@tpnsolutions.com
P: 604-782-9342
W: http://www.tpnsolutions.com