You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Ramchandra Naik <ra...@yahoo.com> on 2013/07/23 14:42:32 UTC
Re: Not getting postmaster mails if delivery permanently failed
Hi Eric,
Did you get time to look into this issue.
Thanks,
Ramchandra
________________________________
From: Eric Charles <er...@apache.org>
To: James Users List <se...@james.apache.org>
Sent: Thursday, 6 June 2013 6:57 PM
Subject: Re: Not getting postmaster mails if delivery permanently failed
Hi,
I will try to schedule time for this in the coming days.
Thx, Eric
On 31/05/2013 13:38, Ramchandra Naik wrote:
> 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 <er...@apache.org>
> To: James Users List <se...@james.apache.org>
> 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='abcxyz@abc.com' 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: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Not getting postmaster mails if delivery permanently failed
Posted by Eric Charles <er...@apache.org>.
I did the test and it works fine here (see [1] for the log). I got the
postmaster mail [2] and the original mail is also copied in the Sent Folder.
I use the test mailetcontainer.xml
https://svn.apache.org/repos/asf/james/server/trunk/app/src/test/resources/mailetcontainer.xml
[1]
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,735 | james.smtpserver | Id='960955741' User=''
Connection established from 127.0.0.1
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,809 | james.smtpserver | Id='960955741' User=''
Successfully spooled mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f from
eric@localhost.net on localhost/127.0.0.1 for
[eric@localsdqfqsdfqsdfqsdfqsdhost.net]
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,879 | james.smtpserver | Id='960955741' User=''
Connection closed for 127.0.0.1
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,304 | james.mailetcontext | Local delivery with
ToSenderFolder mailet for mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f with sender
eric@localhost.net in folder Sent
(org.apache.james.dnsservice.dnsjava.DNSJavaService.java:319):findMXRecords
- INFO 17:40:22,735 | james.dnsservice | Couldn't resolve MX records
for domain localsdqfqsdfqsdfqsdfqsdhost.net.
(org.apache.james.dnsservice.dnsjava.DNSJavaService.java:328):findMXRecords
- ERROR 17:40:22,736 | james.dnsservice | Couldn't resolve IP address
for host localsdqfqsdfqsdfqsdfqsdhost.net.
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,744 | james.mailetcontext | No mail server found for:
localsdqfqsdfqsdfqsdfqsdhost.net
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,745 | james.mailetcontext | Permanent exception
delivering mail
(Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f-to-localsdqfqsdfqsdfqsdfqsdhost.net:
(org.apache.james.mailetcontainer.impl.JamesMailetContext.j
ava:346):log - INFO 17:40:23,044 | james.mailetcontext | Local
delivered mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f-to-localsdqfqsdfqsdfq-!70252
sucessfully from <> to eric@localhost.net in folder INBOX
[2]
Hi. This is the James mail server at eric.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out. Below
I include the list of recipients and the reason why I was unable to deliver
your message.
Failed recipient(s):
eric@localsdqfqsdfqsdfqsdfqsdhost.net
Error message:
There are no DNS entries for the hostname
localsdqfqsdfqsdfqsdfqsdhost.net. I cannot determine where to send this
message.
On 2013-07-26 13:16, Eric Charles wrote:
> Nope. Will do it this weekend.
>
> On 23/07/2013 13:42, Ramchandra Naik wrote:
>> Hi Eric,
>>
>> Did you get time to look into this issue.
>>
>> Thanks,
>> Ramchandra
>>
>>
>> ________________________________
>> From: Eric Charles <er...@apache.org>
>> To: James Users List <se...@james.apache.org>
>> Sent: Thursday, 6 June 2013 6:57 PM
>> Subject: Re: Not getting postmaster mails if delivery permanently failed
>>
>>
>> Hi,
>> I will try to schedule time for this in the coming days.
>> Thx, Eric
>>
>> On 31/05/2013 13:38, Ramchandra Naik wrote:
>>> 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 <er...@apache.org>
>>> To: James Users List <se...@james.apache.org>
>>> 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='abcxyz@abc.com' 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: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Not getting postmaster mails if delivery permanently failed
Posted by Eric Charles <er...@apache.org>.
I did the test and it works fine here (see [1] for the log). I got the
postmaster mail [2] and the original mail is also copied in the Sent Folder.
I use the test mailetcontainer.xml
https://svn.apache.org/repos/asf/james/server/trunk/app/src/test/resources/mailetcontainer.xml
[1]
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,735 | james.smtpserver | Id='960955741' User=''
Connection established from 127.0.0.1
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,809 | james.smtpserver | Id='960955741' User=''
Successfully spooled mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f from
eric@localhost.net on localhost/127.0.0.1 for
[eric@localsdqfqsdfqsdfqsdfqsdhost.net]
(org.apache.james.protocols.api.logger.ProtocolLoggerAdapter.java:69):info
- INFO 17:40:06,879 | james.smtpserver | Id='960955741' User=''
Connection closed for 127.0.0.1
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,304 | james.mailetcontext | Local delivery with
ToSenderFolder mailet for mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f with sender
eric@localhost.net in folder Sent
(org.apache.james.dnsservice.dnsjava.DNSJavaService.java:319):findMXRecords
- INFO 17:40:22,735 | james.dnsservice | Couldn't resolve MX records
for domain localsdqfqsdfqsdfqsdfqsdhost.net.
(org.apache.james.dnsservice.dnsjava.DNSJavaService.java:328):findMXRecords
- ERROR 17:40:22,736 | james.dnsservice | Couldn't resolve IP address
for host localsdqfqsdfqsdfqsdfqsdhost.net.
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,744 | james.mailetcontext | No mail server found for:
localsdqfqsdfqsdfqsdfqsdhost.net
(org.apache.james.mailetcontainer.impl.JamesMailetContext.java:346):log
- INFO 17:40:22,745 | james.mailetcontext | Permanent exception
delivering mail
(Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f-to-localsdqfqsdfqsdfqsdfqsdhost.net:
(org.apache.james.mailetcontainer.impl.JamesMailetContext.j
ava:346):log - INFO 17:40:23,044 | james.mailetcontext | Local
delivered mail
Mail1375026006807-6f052afa-3c11-4900-9122-a8db9b40aa7f-to-localsdqfqsdfqsdfq-!70252
sucessfully from <> to eric@localhost.net in folder INBOX
[2]
Hi. This is the James mail server at eric.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out. Below
I include the list of recipients and the reason why I was unable to deliver
your message.
Failed recipient(s):
eric@localsdqfqsdfqsdfqsdfqsdhost.net
Error message:
There are no DNS entries for the hostname
localsdqfqsdfqsdfqsdfqsdhost.net. I cannot determine where to send this
message.
On 2013-07-26 13:16, Eric Charles wrote:
> Nope. Will do it this weekend.
>
> On 23/07/2013 13:42, Ramchandra Naik wrote:
>> Hi Eric,
>>
>> Did you get time to look into this issue.
>>
>> Thanks,
>> Ramchandra
>>
>>
>> ________________________________
>> From: Eric Charles <er...@apache.org>
>> To: James Users List <se...@james.apache.org>
>> Sent: Thursday, 6 June 2013 6:57 PM
>> Subject: Re: Not getting postmaster mails if delivery permanently failed
>>
>>
>> Hi,
>> I will try to schedule time for this in the coming days.
>> Thx, Eric
>>
>> On 31/05/2013 13:38, Ramchandra Naik wrote:
>>> 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 <er...@apache.org>
>>> To: James Users List <se...@james.apache.org>
>>> 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='abcxyz@abc.com' 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: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
--
@echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Not getting postmaster mails if delivery permanently failed
Posted by Eric Charles <er...@apache.org>.
Nope. Will do it this weekend.
On 23/07/2013 13:42, Ramchandra Naik wrote:
> Hi Eric,
>
> Did you get time to look into this issue.
>
> Thanks,
> Ramchandra
>
>
> ________________________________
> From: Eric Charles <er...@apache.org>
> To: James Users List <se...@james.apache.org>
> Sent: Thursday, 6 June 2013 6:57 PM
> Subject: Re: Not getting postmaster mails if delivery permanently failed
>
>
> Hi,
> I will try to schedule time for this in the coming days.
> Thx, Eric
>
> On 31/05/2013 13:38, Ramchandra Naik wrote:
>> 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 <er...@apache.org>
>> To: James Users List <se...@james.apache.org>
>> 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='abcxyz@abc.com' 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: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org