Configuring maxmessagesize: Difference between revisions

No edit summary
 
(upload content and initial format)
Line 6: Line 6:


<pre>
<pre>
  su - zimbra
su - zimbra
  postconf -e message_size_limit=''  ; this will clear the current value
 
zmprov mcf zimbraMtaMaxMessageSize 20000
postconf -e message_size_limit=''  ; this will clear the current value
wait two minutes for the changes to be published then confirm the changes with this command
 
postconf | grep message_size_limit
zmprov mcf zimbraMtaMaxMessageSize 20000
</pre>
 
wait two minutes for the changes to be published then confirm the changes with this command:
 
<pre>
postconf | grep message_size_limit
</pre>
</pre>

Revision as of 20:14, 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 20000

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