Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-2008, 12:46 PM
Outstanding Member
 
Posts: 684
Default [SOLVED] Maximum allowed attachment size

What is the limit and can I increase it.
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 01:42 PM
Moderator
 
Posts: 6,237
Default

Two fields: zimbraMtaMaxMessageSize & zimbraFileUploadMaxSize

You might to set zimbraFileUploadMaxSize 10-30% > than your attachment.
Also as a general rule, I set zimbraMtaMaxMessageSize 10% larger than the zimbraFileUploadMaxSize.

Say both are set to 10MB (and you tell everyone they can send 10MB attachments):
An email with a 9MB attachment and 100KB message body text. The attachment may be less than the 10MB zimbraFileUploadMaxSize, and so it'll get accepted by the file upload system. But when it's converted into a MIME message it ends up base64-encoded. Then add 100K of regular body text, and the resulting message (say 10.3MB or so) is then handed off to postfix, which checks zimbraMtaMaxMessageSize and promptly rejects the message if it's over the limit of 10MB. (behavior will change in Bug 27610 - Use zimbraMtaMaxMessageSize exclusively for mail, and use zimbraFileUploadMaxSize for docs/briefcase)

Of course that would mean that you would set zimbraMtaMaxMessageSize even larger if you want to allow emails with multiple large attachments.

5.0.x is missing a field in the admin console > global settings: Bug 23996 - restore the UI field, corresponding to the zimbraFileUploadMaxSize attribute, in Admin console

You can both of them via the command line like so:
zmprov gacf | grep zimbraFileUploadMaxSize
zmprov mcf zimbraFileUploadMaxSize #
&
zmprov gacf | grep zimbraMtaMaxMessageSize
zmprov mcf zimbraMtaMaxMessageSize #

Last edited by mmorse; 08-17-2009 at 06:18 AM..
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 01:46 PM
Moderator
 
Posts: 6,237
Default

When you're increasing it keep in mind that the servers at the other end have to be able to accept the larger size
10MB has kinda been the 'standard' if you plan to go larger than 100MB on a regular basis be sure to do some email tests to see if your recipients can handle it.
In 5.0.x you can also make use of the briefcase to share larger files.
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 03:28 PM
Outstanding Member
 
Posts: 684
Default

I tried to send a 6.9MB attachment and it told me it was too large. Is this larger than the default?

Thank you for your prompt answer. I'll check the two settings you mentioned.
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 02:53 PM
Outstanding Member
 
Posts: 684
Default ZCS set to 10MB+ but refused 6.9MB attachment.

After checking the settings which are set to 10MB I am confused as to why Zimbra refused a 6.9MB attachment. It uploaded it but said it was too big to send.
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 03:44 PM
Project Contributor
 
Posts: 182
Default

Did you restart after changing the setting ?
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 06:38 PM
Outstanding Member
 
Posts: 684
Default Defaults.

Those were the defaults. I didn't have to change any settings.
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 07:32 PM
Moderator
 
Posts: 6,237
Default

Run it through UUDeview (windows app) which will help you find out just how much larger a MIME (or UU-encoded) version of a given file will be - try 'base 64' in the encode settings. (Won't wreck your current file, it creates a converted duplicate.)

Last edited by mmorse; 02-18-2008 at 07:52 PM..
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 06:01 AM
Outstanding Member
 
Posts: 684
Default File size diferrence

original: 6,463,488

base64: 8,844,875
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 06:03 AM
Moderator
 
Posts: 6,237
Default

hm, does it go through if you increase both values to like 15MB?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.