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

Thread: Max Message (Send/Receive) Size

  1. #1
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default Max Message (Send/Receive) Size

    Hey everybody,

    I got a problem today - a friend of mine wanted to send me a "large" (I don't think that it is that large!) Email and got it back with the error message:
    message size 10678657 exceeds size limit 10240000 of server
    So my question is - where / how do I set the message-size limitation to at least 50MB or if possible to unlimited?

    Regards,
    Mario

  2. #2
    StefanD is offline Project Contributor
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    9

    Default

    su - zimbra -c "zmprov mcf zimbraMtaMaxMessageSize 51200000"
    su - zimbra -c "zmprov mcf zimbraFileUploadMaxSize 51200000"

  3. #3
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default

    Okay - that sounds easy... ;-)
    Why isn't it possible to change that value within the administration page?

    Do I have to restart the zimbra-Mailserver to make these changes take effect?

    Thanks for your answer!!

  4. #4
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default

    Well I wrote your lines and now I got these error messages when I try to start the mailserver:
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting imapproxy...FAILED
    Starting imap4
    dlopen of "/opt/zimbra/perdition-1.17/lib/libperditiondb_gdbm.so.0" failed
    perdition version 1.17 Copyright Horms

    perdition is a mail retrieval proxy daemon

    Usage: perdition [options]
    ....
    Notes: Default value for binary flags is off.
    If a string argument is empty ("") then the option will not
    be used unless noted otherwise.
    See the perdition(8) man page for more details.
    imap4 is not running
    imap4s is not running
    pop3 is not running
    pop3s is not running


    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.

    So the Server is running, but the mentioned imap and pop servers are NOT running... And the status shows:
    antispam Running
    antivirus Running
    imapproxy Stopped
    imap4 is not running
    imap4s is not running
    pop3 is not running
    pop3s is not running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running

    But I can still NOT receive EMails with more than about 10MB.. :-(

    Hope anybody has an idea how to solve this!?

    Mario

  5. #5
    andreychek is offline Special Member & Volunteer
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    9

    Default

    Quote Originally Posted by Oswald-Kolle
    But I can still NOT receive EMails with more than about 10MB.. :-(

    Hope anybody has an idea how to solve this!?
    I don't know that this will solve the second problem you ran into, but you can in fact change this from the Zimbra web interface.

    Log into the admin interface, click Global Settings, choose the MTA tab, then change the 'Maximum message size' option.

    And (enable wishful thinking mode) perhaps that'll somehow solve your second problem ;-)
    -Eric

  6. #6
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default

    Well... The console commands now give an error message.
    And I am not able to change the value within the admin-interface - the value of 50000 is there and when I change it and save the "new" Value it turns back to 50000 - and it doesn't matter if I switch it to a lower or higher value... :-(

    Do I have to switch anything else to be able to change these values?! Or how do I come back to the old configuration files (before I tried the commands written by StefanD?

    Mario

  7. #7
    StefanD is offline Project Contributor
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    9

    Default

    I don't know why it didn't work.
    Here are the original settings

    zimbraMtaMaxMessageSize: 10240000
    zimbraFileUploadMaxSize: 10485760

  8. #8
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default

    Well... Stupid me, but wich file do I need to edit?

  9. #9
    StefanD is offline Project Contributor
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    9

    Default

    These settings are saved in ldap
    zmprov is the command line interface to manage all the simbra settings.

    su - zimbra -c "zmprov mcf zimbraMtaMaxMessageSize 10240000"
    su - zimbra -c "zmprov mcf zimbraFileUploadMaxSize 10485760"

  10. #10
    Oswald-Kolle is offline Loyal Member
    Join Date
    May 2006
    Posts
    83
    Rep Power
    9

    Default

    Well - this time the command worked without an error message...
    But I cannot stop and then start the server without the above given error messages....
    In addition to that I even cannot stop/start the sever because tomcat isn't starting as well... Therfore it is needed to reboot the machine.... I am sure that I didn't had these Problems with the latest version before 4.0....
    Maybe this problem is new?!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Max imap message size
    By vogon1 in forum Developers
    Replies: 13
    Last Post: 10-25-2009, 08:47 PM
  2. How to remove message size restrictions
    By djve in forum Administrators
    Replies: 4
    Last Post: 06-15-2007, 07:34 AM
  3. max mailbox size - best practice
    By comptekki in forum Administrators
    Replies: 9
    Last Post: 04-23-2007, 02:45 PM
  4. Email Disclaimer Max Size
    By kloose in forum Administrators
    Replies: 1
    Last Post: 01-11-2007, 07:28 PM
  5. Broken? Max msg/attachment size in admin MTA page
    By Henrik in forum Installation
    Replies: 5
    Last Post: 09-26-2006, 08:45 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
  •