Jon Stevens wrote:
>
> on 5/9/01 12:35 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > I�m getting the following exception when trying to send messages with large
> > attachments. Is there any way to configure James to accept larger messages ?
> >
> > regards and thank you,
> > ---
> > Ricardo
> >
> > java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet
> > from server configuration of 1048576 bytes
> > at org.gjt.mm.mysql.Buffer.ensureCapacity(Buffer.java:398)
>
> This is clearly not James, but a response from the MySQL JDBC driver.
A while ago, I tried to set the max_allowed_packet on MySQL's config
file (/etc/mysql/my.cnf) to 10M bytes, restarted the database server,
and sent an email with 2.7Mbytes of attachment. The mail couldn't be
retrieved. Apparently, the mail arrived all right. I could telnet to
port 110 on the server, issuing "user", "pass", "list" commands
manually, everything was fine (I could see the size of the mail), except
for retrieving the mail. Then I deleted the mail (by issuing "dele <msg
number>"), restarted James (just making sure), and everything was fine.
Oki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]