I'm using James 2.2.0a15 with MySQL on Linux RedHat with java 1.4.1. to manage mails for mydomain.com. In MySQL the max_allowed_packet si set to 13631488 (i.e : 13 Mo)
On the SMTP block in config.xml I have :
<maxmessagesize>10000</maxmessagesize> (i.e : arround 10 Mo I keep a 30% with max_allowed_packet according to the james'docs because of jdbc driver's overhead.
When I send a mail with an attached file of 6.4 Mo (a zip file), the mail is refused. So my first question is : Is there an approximation between the maxmessagesize and the real max file size ?
Then, if [EMAIL PROTECTED] send a too huge mail to [EMAIL PROTECTED], there is a error message sent to the sender. Here is the relevant part of config.xml :
<processor name="error">
<mailet match="All" class="Bounce"/>
...
</processor>But, the error msg contains the original msg, so is to huge, and is put in error stat. So the sender never recieve the error msg. In a more pratical point of view, I would perfer that the error msg doen't contain any attached file, eventually list them, but not attache to the error mail msg for the sender.
Is there already Mailer/Matcher to achied that ? How to configure them to treat only msg in error stat from the SMTP block ?
Thanks for any pointers or suggestions,
Carl
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
