S�ren,

> A mail (a small one a few kbytes and text only) is sent and it is
> then repeatedly written into the same file in spool, making this
> file explode to several gigabytes in no time.

You are saying that it is not many copies being spooled, but a single spool
entry having the same data concatenated over and over and over again in a
single message?  What is causing the loop?

> some of [our custom mailets ] are using:
>   MimeMessage msg = new MimeMessage(...);
>   ...
>   mail.setMessage (msg);

AbstractRedirect does the same thing, except on a new, duplicated, instance.

Looking over the code for the file-based message store, the code path for
actually storing a message is shared regardless of whether it is a new or
old message.

Have you made sure that your mailets aren't accidentally concatenating the
content?  In the AddFooter mailet, you'll find a section of commented out
code that you can use to dump the raw message contents to the log for
testing.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to