Hi Eric,

Any update on this issue.
I have also created a JIRA for the same.
Please check this link: https://issues.apache.org/jira/browse/MAILET-91


________________________________
 From: Eric Charles <[email protected]>
To: James Users List <[email protected]> 
Sent: Saturday, 25 May 2013 11:48 AM
Subject: Re: Not getting postmaster mails if delivery permanently failed
 

Hi,

That's strange.
Can you please open a JIRA and post this information there (also 
indicating the version you are using).

I will have a look at this.

Thx, Eric

On 24/05/2013 13:57, Ramchandra Naik wrote:
> Hi All,
>
> We are not getting postmaster email if mail delivery failed permanently due 
> to some reason like (email ID is not valid, remote server reject email due to 
> some reason etc.) after enabling following mailet
>
> <mailet match="All" class="ToSenderFolder">
>         <folder>Sent</folder>
>         <consume>false</consume>
> </mailet>
>
>
> We are getting following error in logs:
>
> INFO   | jvm 2    | 2013/05/24 11:29:25 | INFO  11:29:25,116 | 
> james.smtpserver | Id='1858058479' User='[email protected]' Connection closed 
> for 122.169.117.98
> INFO   | jvm 2    | 2013/05/24 11:29:25 | INFO  11:29:25,243 | 
> james.dnsservice | Couldn't resolve MX records for domain diofdos.com.
> INFO   | jvm 2    | 2013/05/24 11:29:25 | ERROR 11:29:25,244 | 
> james.dnsservice | Couldn't resolve IP address for host diofdos.com.
> INFO   | jvm 2    | 2013/05/24 11:29:25 | INFO  11:29:25,244 | 
> james.mailetcontext | No mail server found for: diofdos.com
> INFO   | jvm 2    | 2013/05/24 11:29:25 | INFO  11:29:25,244 | 
> james.mailetcontext | Permanent exception delivering mail 
> (Mail1369394964545-5a86b8cd-772c-4ee7-b998-f04fb1032297-to-diofdos.com:
> INFO   | jvm 2    | 2013/05/24 11:29:25 | ERROR 11:29:25,329 | 
> org.apache.camel.processor.DefaultErrorHandler | Failed delivery for 
> exchangeId: ID-abcmail1-abc-com-52828-1368712713191-0-44797. Exhausted after 
> delivery attempt: 1 caught: java.lang.NullPointerException
> INFO   | jvm 2    | 2013/05/24 11:29:25 | java.lang.NullPointerException
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.james.transport.mailets.ToSenderFolder.doService(ToSenderFolder.java:87)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.james.transport.mailets.ToSenderFolder.service(ToSenderFolder.java:74)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)
> INFO   | jvm 2    | 2013/05/24 11:29:25 | at 
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
>
>
> When we comment this mailet we are able to get the postmasters emails but we 
> dont want to comment this mailet for some reason.
>
>
> Is there any way to resolve this issue.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to