Author Topic: Posfix Increase Attachment size  (Read 2881 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Posfix Increase Attachment size
« on: April 13, 2022, 08:34:37 AM »
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.

Offline
***
Re: Posfix Increase Attachment size
« Reply #1 on: April 13, 2022, 09:54:09 PM »
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.
« Last Edit: April 13, 2022, 09:57:41 PM by iraqiboy90 »

Offline
**
Re: Posfix Increase Attachment size
« Reply #2 on: April 15, 2022, 04:13:11 PM »
The Attachment size can be queried with this command:

postconf | grep message_size_limit