Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-beta3
-
None
-
None
-
james 3.0-beta4-20110922 on Linux, java 1.6.0_25-b06
<bean id="mailqueuefactory" class="org.apache.james.queue.file.FileMailQueueFactory"/>
Description
When a mailet (custom one) throws unchecked exception (NullPointerException in this case), spool enters an infinite (looking) loop, and fills up the disk with error logs, like attached. Before filling up the disk, it made 882524 attempts like in the attached log.
Mailet configured like that:
<mailet match="All" class="xxx.FixNotStandardMessageId" onMailetException="ignore"/>