cannot modify zimbraMtaMaxMessageSize

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ple
Advanced member
Advanced member
Posts: 115
Joined: Sat Sep 13, 2014 12:00 am
Location: United States
Contact:

cannot modify zimbraMtaMaxMessageSize

Post by ple »

Hi,
I'm trying to increase the attachment size to 50MB. I've already have these configured:
postfix | grep message_size_limit 52428800
zmprov gs zimbraFileUploadMaxSize 52428800
zmprov gs zimbraMailContentMaxSize 52428800
zmprov gs zimbraMtaMaxMessageSize _blank

As I was going to set the value to zimbraMtaMaxMessageSize to 52428800 I got this error..
zmprov ms hostname zimbraMtaMaxMessageSize 52428800
ERROR: service.FAILURE (system failure: unable to modify attrs: object class violation - unable to modify attributes: ldap host=hostname:389: attribute 'zimbraMtaMaxMessageSize' not allowed)

As of now, I can attach up to 37MB attachment. Any suggestions?
Thanks in advance,
PL
ZimbraNE 8.7.11 Patch 11
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: cannot modify zimbraMtaMaxMessageSize

Post by fs.schmidt »

Hello,

The first error that you were facing is because zimbraMtaMaxMessageSize can only be set in globalConfig:

Code: Select all

zimbraMtaMaxMessageSize
    Maximum total size of a mail message. Enforced in mailbox server and
    also used as value for postconf message_size_limit. 0 means "no limit"

               type : long
              value :
           callback :
          immutable : false
        cardinality : single
         requiredIn :
         optionalIn : globalConfig
              flags : accountInfo
           defaults : 10240000
                min : 0
                max :
                 id : 198
    requiresRestart : mta
              since :
    deprecatedSince :
The actual message size is about 137% of the original data length due to the MIME-compliant Base64-encoded. If you want to allow 50MB messages you have to 68,5MB.

Best regards.
Fabio S. Schmidt
Post Reply