Configuring maxmessagesize

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 2048

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

Jump to: navigation, search