james-server-user mailing list archives

> What I'm looking for is a way to remove attached files of the original
> mail only if the error reason is a too big mail according to
> maxmessagesize.
That is a catch-22. JavaMail can't load the entire message into memory
because it is too big. JavaMail can't edit unless it can load the entire
message into memory. For the immediate term, the solution is to increase
the heap. For the intermediate term, a solution is to moderate the use of
JavaMail to reduce the times when it wants to load the message. For the
longer term, the solution is to repair or replace JavaMail.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org