How to change the imap upload size limit in Zimbra

I have move from Gmail to Zimbra, and I have face to a problem. Some of my email is weighter than 10mb. This is the imap upload size limit in Zimbra, and couldn't be change with the admin web interface.

I want to setup 100 mb for everything, doc I save, email I send and receive.

First step, set it in the interface, it will allow you to use it over the website :

Go to Admin > Global parameters > General Information > Max size in kb
Set 102400 there.

Second step, go to the terminal, sign in to the zimbra unix account and set IMAP limit :

sudo su - zimbra #(or just su - zimbra)
zmlocalconfig -e imap_max_request_size=102400000
zmprov mcf zimbraMtaMaxMessageSize 102400000
zmmailboxdctl restart

Now you can send and receive file up to 100mb !

Personally I use imapsync tools to transfert mail from my old mail server to the new, and it return a "fail to append message : Size limit exceed". After this setting, it's working !

Have fun !

Short URL

Comments