New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

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