Posfix Increase Attachment size

Started by aakrutitech, April 13, 2022, 08:34:37 AM

Previous topic - Next topic

aakrutitech

This is how I changes postfix message size:

In file vi /usr/local/cwpsrv/var/services/roundcube/config/defaults.inc.php value was:
$config['max_message_size'] = '100M';

And in roundcube it will show 75 M as Attachment size

When I changed

$config['max_message_size'] = '500M';

It started showing 375 M as attachemnet size.

iraqiboy90

#1
Not sure how, probably hard coded, but attachment size in Roundcube will always be 75% of what $config['max_message_size'] is. The rest of 25% is for the rest of the message, like the text.

Remember that there are other settings restricting bigger file sizes, like php.ini of the php that is controlling CWP and Roundcube, the htaccess file that's inside the roundcube folder, and the main.cf settings restricting the total message size.

Painkiller88

The Attachment size can be queried with this command:

postconf | grep message_size_limit