On Thu, Sep 11, 2008 at 7:38 PM, Ray Collazo <[EMAIL PROTECTED]>
wrote:
> > Hello all!
> >   I have found that my installation of Courier will not deliver mail
> > to MTAs that cannot be Pinged by normal means.
> 
> I highly doubt it.
> Show examples, log files, SMTP excerpts, etc.
> 
> jerry


Jerry, Thanks for responding!


Take for example this failed message, as shown in the log (One of many
entries for this email address): (log entries trimmed for brevty, but all
show the same behaviour as below:) 
=========
Sep 11 14:08:22 sentinel courierd:
started,id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,module=esm
tp,host=design-electric.com',addr=<'[EMAIL PROTECTED]'>
Sep 11 14:09:22 sentinel courieresmtp:
id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,addr=<'[EMAIL PROTECTED]
ign-electric.com'>: Connection timed out 
Sep 11 14:09:22 sentinel courieresmtp:
id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,addr=<'[EMAIL PROTECTED]
ign-electric.com'>,status: deferred 
Sep 11 16:09:22 sentinel courierd:
started,id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,module=esm
tp,host=design-electric.com',addr=<'[EMAIL PROTECTED]'>
Sep 11 16:10:22 sentinel courieresmtp:
id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,addr=<'[EMAIL PROTECTED]
ign-electric.com'>: Connection timed out 
Sep 11 16:10:22 sentinel courieresmtp:
id=000BB4A9.48C5A438.00004BB7,from=<[EMAIL PROTECTED]>,addr=<'[EMAIL PROTECTED]
ign-electric.com'>,status: deferred 
=========
This message had been in the queue since Monday Sept 8th, and as we have our
delivery timeout set to 3 days, the message expired today.


Of course the user has received a failure message just shortly after the
above final log entry: =========
---------------------------------------------------------------------------

                           UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

<'[EMAIL PROTECTED]'>:
<<< Connection timed out

---------------------------------------------------------------------------
=========


I immediately did an NSLOOKUP and check the mail exchange info... 
========= 
[EMAIL PROTECTED]:~$ nslookup
> set type=MX
> design-electric.com
Server:         192.168.0.100
Address:        192.168.0.100#53

Non-authoritative answer:
design-electric.com     mail exchanger = 10 keystone.design-electric.com.

Authoritative answers can be found from:
com     nameserver = F.GTLD-SERVERS.NET.
com     nameserver = G.GTLD-SERVERS.NET.
com     nameserver = H.GTLD-SERVERS.NET.
com     nameserver = I.GTLD-SERVERS.NET.
com     nameserver = J.GTLD-SERVERS.NET.
com     nameserver = K.GTLD-SERVERS.NET.
com     nameserver = L.GTLD-SERVERS.NET.
com     nameserver = M.GTLD-SERVERS.NET.
com     nameserver = A.GTLD-SERVERS.NET.
com     nameserver = B.GTLD-SERVERS.NET.
com     nameserver = C.GTLD-SERVERS.NET.
com     nameserver = D.GTLD-SERVERS.NET.
com     nameserver = E.GTLD-SERVERS.NET.
=========

I attempt to ping the MX machine: No answer...
=========
ping keystone.design-electric.com
PING keystone.design-electric.com (64.62.95.66) 56(84) bytes of data.

--- keystone.design-electric.com ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 12043ms =========


I try A Second time from a different machine:
=========
C:\Documents and Settings\Ray>ping keystone.design-electric.com

Pinging keystone.design-electric.com [64.62.95.66] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 64.62.95.66:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
=========


I finally telnet blindly to the SMTP port of the above machine:
=========
C:\Documents and Settings\Ray>telnet keystone.design-electric.com 25

220 design-electric.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959
ready at  Thu, 11 Sep 2008 19:24:21 -0600
=========


Sure enough, I can connect manually.


To verify that I am not having any network difficulties, I have contacted a
co-worker and I had him do a ping and a telnet on his home network
connection, which is on a completely different carrier than the office
network connection: He was able to reproduce my exact same results (no ping,
but can connect to the SMTP server).


This very same behavior has happened with a few other email addresses that
this user has attempted to contact, all of them having unpingable SMTP
servers.


All other mail goes through the system flawlessly, except to these few
hidden MTAs that this user is dealing with. 


...



Here is the extremely odd thing that I Really cannot figure out now and that
makes me go Huh?

In doing this whole testing, I decided "Ok: Let me try sending to an address
I know should always be there... Postmaster."

So I went ahead and wrote a test message over to
[EMAIL PROTECTED], and followed the results in the log:

========
[EMAIL PROTECTED]:~$ sudo grep [EMAIL PROTECTED]
/var/log/mail.log 
Sep 11 18:54:18 sentinel courierd:
started,id=000BB358.48C9CBCA.0000051F,from=<[EMAIL PROTECTED]>,modul
e=esmtp,host=design-electric.com,addr=<[EMAIL PROTECTED]>
Sep 11 18:54:19 sentinel courieresmtp:
id=000BB358.48C9CBCA.0000051F,from=<[EMAIL PROTECTED]>,addr=<postmas
[EMAIL PROTECTED]>: 250 2.6.0  <[EMAIL PROTECTED]>
Queued mail for delivery Sep 11 18:54:19 sentinel courieresmtp:
id=000BB358.48C9CBCA.0000051F,from=<[EMAIL PROTECTED]>,addr=<postmas
[EMAIL PROTECTED]>,size=3884,success: delivered:
keystone.design-electric.com [64.62.95.66] Sep 11 18:54:19 sentinel
courieresmtp:
id=000BB358.48C9CBCA.0000051F,from=<[EMAIL PROTECTED]>,addr=<postmas
[EMAIL PROTECTED]>,size=3884,status: success 
======== 
Apparently the message to Postmaster went through!!!


So what the heck is causing my users message to hang in the queue for so
many days and then give up?? I checked to verify that the user that is being
addressed exists (or at least isn't being immediately rejected) by manually
initiating a mail exchange: 
======== 
[EMAIL PROTECTED]:~$ telnet keystone.design-electric.com 25 
Trying 64.62.95.66... 
Connected to keystone.design-electric.com. 
Escape character is '^]'. 
220 design-electric.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959
ready at  Thu, 11 Sep 2008 20:02:56 -0600 
EHLO mail2.loraninc.com 
250-design-electric.com Hello [216.117.220.102] 
250-TURN 
250-SIZE 10485760 
250-ETRN 
250-PIPELINING 
250-DSN 
250-ENHANCEDSTATUSCODES
250-8bitmime 
250-BINARYMIME 
250-CHUNKING 
250-VRFY 
250-X-EXPS GSSAPI NTLM LOGIN 
250-X-EXPS=LOGIN 
250-AUTH GSSAPI NTLM LOGIN 
250-AUTH=LOGIN 
250-X-LINK2STATE 
250-XEXCH50 
250 OK 
MAIL FROM: [EMAIL PROTECTED] 
250 2.1.0 [EMAIL PROTECTED] OK 
RCPT TO: [EMAIL PROTECTED] 
250 2.1.5 [EMAIL PROTECTED] 
QUIT 
221 2.0.0 design-electric.com Service closing transmission channel
Connection closed by foreign host. 
========


Any troubleshooting tips would be Really appreciated at this time, as Now
I'm Really confused.

-Ray


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to