this isn't directly a James issue, check your my.ini (or my.cnf) settings, and change (or add) this line (under the [mysqld] section):
set-variable = max_allowed_packet=1M to something like set-variable = max_allowed_packet=16M restart MySQL MySQL will now accept 16M instead of the default 1M d. > -----Original Message----- > From: Thomas Jachmann [mailto:[EMAIL PROTECTED]] > Sent: 03 September 2002 11:38 > To: james-user > Subject: message size limit > > > Hi! > > I'm using james v2.0a3 on Windows 2000 with JDK 1.4.0 with JDBC > repositories > on MySql. I've set maxmessagesize in smtpserver configuration to > 0 in order > to have no limitation in the size of deliverable messages. If I send a > message of 1MB, I get the following response from the SMTP server: > > 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 1047552 bytes; > > I then tried to set maxmessagesize to a value greater than 1 MB > (1073741824) > but still no success. Is this a know bug and is there a workaround? > > Regards, > Thomas > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>