james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject Packet is larger than max_allowed_packet (with maxmessagesize set to 95K smaller!)
Date Wed, 04 Sep 2002 05:51:04 GMT
As shown by the following log, even though I have set the max message size
to 409600, and my max packet size for mysql is 4193280, a difference of 95K,
after the message is accepted it is being failed by the driver.  Apparently
the message being accepted is less than 409600, but somehow it still
generates an error.

Any clues?  I'll look deeper at the code (and the driver code if need be) in
the AM.

	--- Noel

04/09/02 01:02:22 INFO  smtpserver: Hello Name is: [removed]
04/09/02 01:02:22 DEBUG smtpserver: Max message size is: 4096000
04/09/02 01:02:22 INFO  smtpserver: Connection from [removed]
04/09/02 01:02:22 DEBUG smtpserver: Sent: 220 [removed] SMTP Server (JAMES
SMTP Server 2.1a1-cvs) ready Wed, 4 Sep 2002 01:02:22 -0400
(EDT)
04/09/02 01:02:22 DEBUG smtpserver: Command received: HELO [removed]
04/09/02 01:02:22 DEBUG smtpserver: Sent: 250 [removed] Hello [removed]
04/09/02 01:02:22 DEBUG smtpserver: Command received: MAIL
FROM:<xxxx@yyyy.ca>
04/09/02 01:02:22 DEBUG smtpserver: Sent: 250 Sender <xxxx@yyyy.ca> OK
04/09/02 01:02:22 DEBUG smtpserver: Command received: RCPT TO:
<zzzz@wwww.org>
04/09/02 01:02:22 DEBUG smtpserver: Sent: 250 Recipient <zzzz@wwww.org> OK
04/09/02 01:02:22 DEBUG smtpserver: Command received: DATA
04/09/02 01:02:22 DEBUG smtpserver: Sent: 354 Ok Send data ending with
<CRLF>.<CRLF>
04/09/02 01:02:22 DEBUG smtpserver: Using SizeLimitedInputStream  with max
message size: 4096000
04/09/02 01:03:32 DEBUG smtpserver: Sent: 451 Error processing message:
Exception spooling message: Exception caught while storing mail Container:
java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet
from server configuration of 4193280 bytes;
  nested exception is:
        java.lang.RuntimeException: Exception caught while storing mail
Container: java.lang.IllegalArgumentException: Packet is larger than
max_allowed_packet from server configuration of 4193280 bytes
04/09/02 01:03:32 ERROR smtpserver: 451 Error processing message: Exception
spooling message: Exception caught while storing mail Container:
java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet
from server configuration of 4193280 bytes;
  nested exception is:
        java.lang.RuntimeException: Exception caught while storing mail
Container: java.lang.IllegalArgumentException: Packet is larger than
max_allowed_packet from server configuration of 4193280 bytes
04/09/02 01:03:32 DEBUG smtpserver: Command received: QUIT
04/09/02 01:03:32 DEBUG smtpserver: Sent: 221 mail.devtech.com Service
closing transmission channel
04/09/02 01:03:32 DEBUG smtpserver: Closing socket.


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message