Hi,
I'm trying to understand when the "No such domain" error is issued.
I have one server where most of the time I have no problems delivering mail
to a particular domain. This is an email relay for a mailing list server.
The list server handles a few lists, one of which is quite large. The
relaying mail server will deliver a large number of bounce messages to the
list server, which then processes them accordingly.
So let's suppose we have a mailing list, l...@mydomain.com. Bounce messages
goes to list-boun...@mydomain.com. The list server is the MX host for
mydomain.com, and the relay server is the one that distributes the mailing
list messages, and gets back any bounces and forwards these bounces back to
the list server.
So the vast majority of the time, the relay servers successfully delivers
messages addressed to list-boun...@mydomain.com to the list server without
a problem.
For example, a real log entry changed with the fictional addresses:
Dec 6 00:13:20 relay1 courierd:
newmsg,id=000000000006094A.0000000052A18720.000071DB: dns; localhost
(localhost [127.0.0.1])
Dec 6 00:13:20 relay1 courierd:
started,id=000000000006094A.0000000052A18720.000071DB,from=<>,module=esmtp,host=
mydomain.com,addr=<list-boun...@mydomain.com>
Dec 6 00:13:20 relay1 courierd:
started,id=000000000006094A.0000000052A18720.000071DB,from=<>,module=esmtp,host=
mydomain.com,addr=<list-boun...@mydomain.com>
Dec 6 00:13:20 relay1 courieresmtp:
id=000000000006094A.0000000052A18720.000071DB,from=<>,addr=<
list-boun...@mydomain.com>: 250 Ok. 0000000052A186FF.0000513A
Dec 6 00:13:20 relay1 courieresmtp:
id=000000000006094A.0000000052A18720.000071DB,from=<>,addr=<
list-boun...@mydomain.com>,size=4399,success: delivered:
mydomain.com[aa.bb.cc.dd]
Dec 6 00:13:20 relay1 courieresmtp:
id=000000000006094A.0000000052A18720.000071DB,from=<>,addr=<
list-boun...@mydomain.com>,size=4399,status: success
What's depicted above is what I see in the log a vast majority of the time
throughout the day.
However sometimes (maybe once a day or couple of days) I will see a flurry
of error messages showing "No such domain". It seems that this occurs after
a series of attempts and deferrals. I'll paste a trace of a particular
message that ended up with "No such domain" (this one is the last in a
series of error messages)
Dec 6 09:18:03 relay1 courierd:
newmsg,id=0000000000060CBE.0000000052A206CB.0000082D: dns; localhost
(localhost [127.0.0.1])
Dec 6 09:18:03 relay1 courierd:
started,id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,module=esmtp,host=
mydomain.com,addr=<list-boun...@mydomain.com>
Dec 6 09:18:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>: Network connection shut down by the remote mail
server
Dec 6 09:18:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>,status: deferred
Dec 6 09:28:07 relay1 courierd:
started,id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,module=esmtp,host=
mydomain.com,addr=<list-boun...@mydomain.com>
Dec 6 09:28:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>: Network connection shut down by the remote mail
server
Dec 6 09:28:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>,status: deferred
Dec 6 09:38:07 relay1 courierd:
started,id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,module=esmtp,host=
mydomain.com,addr=<list-boun...@mydomain.com>
Dec 6 09:38:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>: Network connection shut down by the remote mail
server
Dec 6 09:38:07 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>,status: deferred
Dec 6 09:38:07 relay1 courierd:
completed,id=0000000000060CBE.0000000052A206CB.0000082D
Dec 6 19:32:45 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>: Network connection shut down by the remote mail
server
Dec 6 19:32:45 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>,status: deferred
Dec 6 19:32:51 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>: No such domain.
Dec 6 19:32:51 relay1 courieresmtp:
id=0000000000060CBE.0000000052A206CB.0000082D,from=<>,addr=<
list-boun...@mydomain.com>,status: failure
So, first, I know that I need to figure out why in the first place the
remote server (the list server) is shutting down the connection - I'm
guessing there's too many connections coming in. However, getting messages
deferred and then suddenly getting a "No such domain" error makes no sense.
Obviously the server successfully delivers messages over and over for that
domain to that server.
Not only that, but I can see in the log that at the same time messages are
getting rejected there are others being delivered successfully to that same
domain and address (notice the timestamp, at 51 and 52 seconds):
Dec 6 19:32:51 relay1 courieresmtp:
id=0000000000060BE3.0000000052A296DC.0000264E,from=<>,addr=<
list-boun...@mydomain.com>: 250 Ok. 0000000052A296C2.00003F6E
Dec 6 19:32:51 relay1 courieresmtp:
id=0000000000060BE3.0000000052A296DC.0000264E,from=<>,addr=<
list-boun...@mydomain.com>,size=10230,success: delivered:
mydomain.com[aa.bb.cc.dd]
Dec 6 19:32:51 relay1 courieresmtp:
id=0000000000060BE3.0000000052A296DC.0000264E,from=<>,addr=<
list-boun...@mydomain.com>,size=10230,status: success
Dec 6 19:32:52 relay1 courieresmtp:
id=0000000000061766.0000000052A296DB.000025FB,from=<>,addr=<
list-boun...@mydomain.com>: 250 Ok. 0000000052A296C4.00003F90
Dec 6 19:32:52 relay1 courieresmtp:
id=0000000000061766.0000000052A296DB.000025FB,from=<>,addr=<
list-boun...@mydomain.com>,size=9577,success: delivered:
mydomain.com[aa.bb.cc.dd]
Dec 6 19:32:52 relay1 courieresmtp:
id=0000000000061766.0000000052A296DB.000025FB,from=<>,addr=<
list-boun...@mydomain.com>,size=9577,status: success
And then the server got back to normal, and started having no issues and
not complaining about the "No such domain" error. But certainly while the
error is showing up, there are both failed and successful deliveries to the
same exact address and domain interspersed in the log file.
Any ideas what could be causing this? Is there any way more debug can be
shown in the log?
thanks
Ricardo
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users