[ 
http://issues.apache.org/jira/browse/JAMES-585?page=comments#action_12425404 ] 
            
Noel J. Bergman commented on JAMES-585:
---------------------------------------

Stefano had another though, involving changing

MimeMessageInputStreamSource.getInputStream from:
    return new SharedFileInputStream(file);
to
    return new BufferedInputStream(new FileInputStream(file));


> SMTP Server may leak temporary ($[JAMES}/temp/*.m64) files
> ----------------------------------------------------------
>
>                 Key: JAMES-585
>                 URL: http://issues.apache.org/jira/browse/JAMES-585
>             Project: James
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: 2.3.0rc1
>            Reporter: Noel J. Bergman
>         Assigned To: Noel J. Bergman
>             Fix For: 2.3.0rc2
>
>
> If there is an exception during message processing, before the message is 
> posted to the spooler, the temporary files may not be cleaned up.   This 
> appears to be due to an unintended and implied reliance on finalize() to 
> dispose the temporary files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to