Configuring maxmessagesize: Difference between revisions

(update that zimbra uses the default postfix value)
Line 1: Line 1:
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).
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).
The default Zimbra MTA configuration uses the default Postfix value for maxmessagesize of 10MB (ie. '10240000').


==Postfix configuration==
==Postfix configuration==

Revision as of 21:06, 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).

The default Zimbra MTA configuration uses the default Postfix value for maxmessagesize of 10MB (ie. '10240000').

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

Jump to: navigation, search