Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] Maximum allowed attachment size

  1. #1
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default [SOLVED] Maximum allowed attachment size

    What is the limit and can I increase it.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  3. #3
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  4. #4
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    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.

  5. #5
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    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.

  6. #6
    Join Date
    Sep 2006
    Location
    Space station 101
    Posts
    182
    Rep Power
    9

    Default

    Did you restart after changing the setting ?
    ------------------------------
    http://www.lcrm.co.uk

  7. #7
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default Defaults.

    Those were the defaults. I didn't have to change any settings.

  8. #8
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  9. #9
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default File size diferrence

    original: 6,463,488

    base64: 8,844,875

  10. #10
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

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

Similar Threads

  1. Confused On Maximum Message Size
    By soxfan in forum Administrators
    Replies: 6
    Last Post: 06-25-2013, 07:20 PM
  2. [SOLVED] Maximum message size
    By KenVM in forum Administrators
    Replies: 21
    Last Post: 01-20-2008, 11:28 PM
  3. [SOLVED] Attachment size limited
    By tgx in forum Installation
    Replies: 3
    Last Post: 12-06-2007, 09:49 AM
  4. FileUploadServlet - Exceeded maximum upload size
    By ljm in forum Administrators
    Replies: 8
    Last Post: 09-25-2007, 09:01 PM
  5. Attachment size
    By kowell in forum Administrators
    Replies: 2
    Last Post: 06-14-2006, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •