Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » SIZE Problem. Number too big?

Messages: 3
Karma: 0
Send a private message to this user
We have a problem with Kerio MailServer 5.7.8 delivering to another server, which I believe is Lotus Notes (I'm awaiting a call from the admin of that server to verify). Kerio keeps failing because it misunderstands the max messge size being reported by the other server. It looks like the max message size is too big for Kerio to handle and it's rolling over to a negative number:

[07/May/2004 08:17:49][78356992] {smtpc} Received greeting: 220 ESMTP
[07/May/2004 08:17:49][78356992] {smtpc} Sending EHLO
[07/May/2004 08:17:49][78356992] {smtpc} Message too big for remote system: 766 > -771751936
[07/May/2004 08:17:49][78356992] {smtpc} QUIT sent, got reply: 221 Bye
[07/May/2004 08:17:49][78356992] {queue} SEND_MX: Delivery to domain finished, 0 recipients succeeded

Here is a successful send from a different mail server (you can see the very large acceptable message size):

5/7/2004 8:25:01 AM - [ 59] EHLO
5/7/2004 8:25:01 AM - [ 59]
5/7/2004 8:25:01 AM - [ 59] 250-PIPELINING
5/7/2004 8:25:01 AM - [ 59] 250-SIZE 3523215360
5/7/2004 8:25:01 AM - [ 59] 250-ETRN
5/7/2004 8:25:01 AM - [ 59] 250 8BITMIME
etc (all works out ok)

Messages: 3
Karma: 0
Send a private message to this user
I had the admin of the other server lower their acceptable mail size limit and evrything worked fine. From one log (not Kerio) we get:
5/7/2004 11:08:41 AM - [ 65]
5/7/2004 11:08:41 AM - [ 65] 250-PIPELINING
5/7/2004 11:08:41 AM - [ 65] 250-SIZE 125829120
5/7/2004 11:08:41 AM - [ 65] 250-ETRN
5/7/2004 11:08:41 AM - [ 65] 250 8BITMIME

I can't seem to find the SIZE in Kerio's log if the mail is successful.

Basically the other admin lowered their limit from about 1GB to 120MB.

Is there some RFC that says that a server shouldn't be reporting a number that big in the first place, or is Kerio non-compliant?
Either way I think it's something that should be fixed in the Kerio code.

Messages: 483
Karma: 0
Send a private message to this user

What log format are you using to get the logs generated in the format you posted? This is something I have missed!

Messages: 3
Karma: 0
Send a private message to this user
In the first post the first log is Kerio's debug log with Delivery queue processing, SMTP client session and SMTP server session turned on.
The second log and the log in the second post are from a different mail server that was always succesful in sending mail to the destination server. I used it because it showed in a little more detail what was going on. I think because it uses EHLO to initiate communication with the destination whereas Kerio uses HELO.

Messages: 72

Karma: 0
Send a private message to this user
Yeah, we know about this problem. There should be a fix in the next version.

You are correct -- KMS expects the SIZE argument to be a 32-bit integer. So, if it's bigger than 4.2 GB, you have problems.


Maxwell Kanat-Alexander
2nd Level Support Engineer, USA
Kerio Technologies
Previous Topic: Customer user admin
Next Topic: DSN Report error with v5.7.9
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Mon Nov 20 07:06:45 CET 2017

Total time taken to generate the page: 0.00445 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.