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

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 09-05-2006, 08:01 AM
Loyal Member
 
Posts: 77
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
Reply With Quote
  #2 (permalink)  
Old 09-05-2006, 08:13 AM
Project Contributor
 
Posts: 68
Default

su - zimbra -c "zmprov mcf zimbraMtaMaxMessageSize 51200000"
su - zimbra -c "zmprov mcf zimbraFileUploadMaxSize 51200000"
Reply With Quote
  #3 (permalink)  
Old 09-05-2006, 08:18 AM
Loyal Member
 
Posts: 77
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!!
Reply With Quote
  #4 (permalink)  
Old 09-05-2006, 12:23 PM
Loyal Member
 
Posts: 77
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
Reply With Quote
  #5 (permalink)  
Old 09-05-2006, 12:34 PM
Special Member & Volunteer
 
Posts: 155
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
Reply With Quote
  #6 (permalink)  
Old 09-05-2006, 01:06 PM
Loyal Member
 
Posts: 77
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
Reply With Quote
  #7 (permalink)  
Old 09-05-2006, 01:08 PM
Project Contributor
 
Posts: 68
Default

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

zimbraMtaMaxMessageSize: 10240000
zimbraFileUploadMaxSize: 10485760
Reply With Quote
  #8 (permalink)  
Old 09-05-2006, 01:23 PM
Loyal Member
 
Posts: 77
Default

Well... Stupid me, but wich file do I need to edit?
Reply With Quote
  #9 (permalink)  
Old 09-05-2006, 01:44 PM
Project Contributor
 
Posts: 68
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"
Reply With Quote
  #10 (permalink)  
Old 09-05-2006, 01:59 PM
Loyal Member
 
Posts: 77
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?!
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.