[ZCS FOSS 8.8.10] Message Size limit on Multi-install server

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
wodel
Advanced member
Advanced member
Posts: 52
Joined: Sat Sep 13, 2014 12:24 am

[ZCS FOSS 8.8.10] Message Size limit on Multi-install server

Post by wodel »

Hi,

I have a multi-installation server of ZCS, we are in phase of migrating from the old mail server to the new ZCS platform.

When testing migration with imapsync I got the error message of message is too big, I've modified message_size_limit to correspond to old server then I redid the test.
The number of errors diminished, but I still get

Code: Select all

msg Sent/115 {30023914} could not append ( Subject:[gdPanne], Date:["06-Nov-2018 10:10:06 +0100"], Size:[30023914] ) to folder Sent: Error sending 'APPEND Sent (\Seen) "06-Nov-2018 10:10:06 +0100" {30023914}': 418 BAD maximum message size exceeded 
Searching a bit I discovered all these variables :

Code: Select all

zimbraFileUploadMaxSize              10485760
zimbraImapMaxRequestSize           10240
zimbraMailContentMaxSize             10240000
zimbraMtaMaxMessageSize             28311552

postconf message_size_limit          28311552
and as you see they have different values except for message_size_limit and zimbraMtaMaxMessageSize since they represent the same thing.

My question is how to configure these values?

Some articles make all of the equal, some others make the zimbraMailContentMaxSize double of the others.
Regards.
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: [ZCS FOSS 8.8.10] Message Size limit on Multi-install server

Post by pup_seba »

Hi,

3 things that may help you:
1. https://wiki.zimbra.com/wiki/Configuring_maxmessagesize
2. Use the command "zmprov desc -a nameOfAttribute" if you need to know a little bit more about it.
3. Using imapsync to migrate is good...but using ZeXtras is gooder :-P Why don't you give it a try?

Regards,
wodel
Advanced member
Advanced member
Posts: 52
Joined: Sat Sep 13, 2014 12:24 am

Re: [ZCS FOSS 8.8.10] Message Size limit on Multi-install server

Post by wodel »

Hi,

Thanks for your help,

What I don't understand is the meaning of zimbraMailContentMaxSize. what does represent this variable and what is it's relation to zimbraMtaMaxMessageSize and to zimbraFileUploadMaxSize

Do I have to give them all the same size? what if I want that the Mail size is 20Mo the File upload size is 10Mo, what should be the size of zimbraMailContentMaxSize?

It's not clear.

Regards.
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: [ZCS FOSS 8.8.10] Message Size limit on Multi-install server

Post by pup_seba »

Hi,

I'm not sure about that either. This is a configuration for ~20MB I used in a customer:
In MTA servers (original values were 10240000):
zmprov modifyConfig zimbraMtaMaxMessageSize 23068672
zmprov modifyConfig zimbraMobileMaxMessageSize 23068672

(original value 10485760):
zmprov modifyconfig zimbraFileUploadMaxSize 23068672
zmprov ms `zmhostname` zimbraMailContentMaxSize 26214400

zmcontrol restart

In store servers (original value was 10485760) :
zmprov ms `zmhostname` zimbraMailContentMaxSize 26214400
(original value was 10485760)
zmprov ms `zmhostname` zimbraFileUploadMaxSize 23068672
zmcontrol restart

You could just restart mta service or mailbox....I went "all in" with zmcontrol restart just because those servers were not in production yet.

I don't fully understand the difference between zimbraMailContentMaxSize and zimbraMtaMaxMessageSize. So what I do (as with some other things in Zimbra), is I change it until the behaviour matches what i need. I know is not the best answer, but is the only answer I can give you regarding this matter. Hope it helps you, and I would be really happy if someone was able to explain these "obvious" things in a "for dummies" way, so I finally understand it :)

good luck!
Post Reply