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 CF HUNG <kc...@gmail.com> on 2011/10/23 03:12:44 UTC

DSNBounce failed to send out the bounce message

Hi, I try to send an email to a non-existence domain, e.g:
nouser@a-non-existing-domain.com
the address should be bounced, and it goes to file://var/mail/address-error/
however, it doesn't send a notification email to the bounce address (return
path), which I expect it would be
below are the server log, it seems that it tried to send to the return
path,
but I can't get it eventually.

INFO  14:56:44,099 | james.smtpserver | ID=1001246 Connection established
from localhost (127.0.0.1)
INFO  14:56:44,162 | james.smtpserver | ID=1001246 Successfully spooled mail
Mail1319266604115-becf757b-f2a5-4a7d-b698-68446bd5a8de from admin@anddp.com on
127.0.0.1 for [nouser@a-non-existing-domain.com]
INFO  14:56:44,177 | james.smtpserver | ID=1001246 Connection closed for
localhost (127.0.0.1)
INFO  14:56:44,240 | org.apache.james.container.spring.Main | Apache James
Server is successfully started in 9313 milliseconds.
INFO  14:56:44,646 | james.dnsservice | Couldn't resolve MX records for
domain a-non-existing-domain.com.
ERROR 14:56:44,646 | james.dnsservice | Couldn't resolve IP address for
host a-non-existing-domain.com.
INFO  14:56:44,646 | james.mailetcontext | No mail server found for:
a-non-existing-domain.com
INFO  14:56:44,646 | james.mailetcontext | Permanent exception delivering
mail
(Mail1319266604115-becf757b-f2a5-4a7d-b698-68446bd5a8de-to-a-non-existing-domain.com:
INFO  14:56:44,662 | james.mailetcontext | Processing a bounce request for a
message with a reverse path.  The bounce will be sent to admin@anddp.com
INFO  14:56:44,662 | james.mailetcontext | New mail - sender:
admin@anddp.com, recipients: [admin@anddp.com], name:
Mail1319266604115-becf757b-f2a5-4a7d-b698-68446bd5a8de-to-a-non-existing-dom-!380344,
remoteHost: 192.168.1.36, remoteAddr: voxel, state: root, lastUpdated: Sat
Oct 22 14:56:44 CST 2011, errorMessage: null
INFO  14:56:44,677 | james.mailetcontext | recipients set to: [
admin@anddp.com]
INFO  14:56:44,677 | james.mailetcontext | apparentlyTo set to: [
admin@anddp.com]
INFO  14:56:44,677 | james.mailetcontext | replyTo set to:
null@address.marker
INFO  14:56:44,677 | james.mailetcontext | reversePath set to: null
INFO  14:56:44,677 | james.mailetcontext | sender set to:
postmaster@localhost
INFO  14:56:44,677 | james.mailetcontext | IN_REPLY_TO set to:
<10...@voxel>
INFO  14:56:44,787 | james.mailetcontext | Storing mail
Mail1319266604115-becf757b-f2a5-4a7d-b698-68446bd5a8de-to-a-non-existing-dom-!380344
in file://var/mail/address-error/

I found that both 2.3.2 and 3.0 beta would get the same result.
I get a work around to write a program to parse the files in
file://var/mail/address-error/
and handle the bounce message in the program.
Would anybody getting a method to let the bounce message sending to the
bounce address automatically?

Thank you.