Configuring maxmessagesize

Revision as of 15:05, 1 February 2007 by Dsga1 (talk | contribs)

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' approximate bytes).

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


Jump to: navigation, search