Configuring maxmessagesize: Difference between revisions
Line 10: | Line 10: | ||
postconf -e message_size_limit='' ; this will clear the current value | postconf -e message_size_limit='' ; this will clear the current value | ||
zmprov mcf zimbraMtaMaxMessageSize | zmprov mcf zimbraMtaMaxMessageSize 2048000 ; value in bytes | ||
</pre> | </pre> | ||
Revision as of 20:22, 31 January 2007
The following provides instructions how to enable a Maximum Message Size for messages passing through the Zimbra MTA (ie. Postfix). The "maxmessagesize" config is unique to each Zimbra MTA you have (ie. if you have a distributed Zimbra deployment, you'll need to make change in each MTA host where you want this maxmessagesize limit enforced).
Postfix configuration
The following commands will set the message_size_limit to 2MB, you can adjust this value to your needs:
su - zimbra postconf -e message_size_limit='' ; this will clear the current value zmprov mcf zimbraMtaMaxMessageSize 2048000 ; value in bytes
wait two minutes for the changes to be published then confirm the changes with this command:
postconf | grep message_size_limit
reference: http://www.postfix.org/resource.html