Hi, just tested it back to my office. This is what I've got:
SMTP client connection from [127.0.0.1] SMTP client exit [127.0.0.1] <--- after a long while ---> MX records for domain "ncs.com.sg" not found, trying direct. SMAIL SMTP-Send FF = "ncs.com.sg" SMTP = "xmailserver.test" From = "" To = "[EMAIL PROTECTED]" The funny thing is, I tried nslookup and ended up with this: C:\>nslookup -query=mx ncs.com.sg Server: ncsdctrl03.ncs.corp.int-ads Address: 192.168.131.123 ncs.com.sg MX preference = 10, mail exchanger = hubble.ncs.com.sg ncs.com.sg MX preference = 5, mail exchanger = crystal.ncs.com.sg ncs.com.sg MX preference = 15, mail exchanger = elm.ncs.com.sg hubble.ncs.com.sg internet address = 203.126.130.5 crystal.ncs.com.sg internet address = 203.126.130.6 elm.ncs.com.sg internet address = 203.126.130.16 So it seems (to me) that there is an MX lookup: why isn't Xmail using it? cheers, James > -----Original Message----- > From: James Budiono NCS > Sent: Saturday, February 01, 2003 1:35 AM > To: James Budiono NCS; ''[EMAIL PROTECTED]' ' > Subject: RE: [xmail] Re: smtp relay delivery delay? > > Hi, > > I just found out something: that the "Xmail console startup.cmd" was not > proper. No wonder I never saw the debug messages. > > The command inside was "xmail --debug $1 $2 $3"... etc. > The right command should be "xmail --debug %1 %2 %3"... etc as windows > uses % instead of $. Accidentaly found it. > > When I tested at home I got multiple errors of "end of socket stream" when > sending to hotmail (noted your reasoning in the archive). Sending to > [EMAIL PROTECTED] works ok on the first try ! :-) > > I'll let you know of the result when I tested at the office again. > > Thanks !!! > > cheers, > James > > -----Original Message----- > From: James Budiono NCS > To: '[EMAIL PROTECTED]' > Sent: 1/31/03 11:04 AM > Subject: RE: [xmail] Re: smtp relay delivery delay? > > Hi, > > I checked. I can't tell whether the MX server (it's the same server > since I'm sending to the same recipient both at office and home) is > implementing RDNS, > but in both situation my IP has a valid PTR. > > In the office environment, when I telnet to port 25 to the MX server, it > is transparently proxied via the firewall, so my IP and the IP seen by > the MX server is different. > Transcript: > 220 crystal.ncs.com.sg ESMTP Sendmail 8.11.6/8.11.6; Fri, 31 Jan 2003 > 10:54:12 +0800 > 250-crystal.ncs.com.sg Hello firewall.ncs.com.sg [203.126.130.66], > pleased to meet you > > There is no delay at all when I do the telnet manually. > > At home environment, connection is via NAT router so my IP and the IP > seen by the MX router (= the ISP's public IP) is different. > > In either case however, the IP seen by the MX server (either firewall / > ISP public IP) has a PTR record associated to them. > > The commands I type afterwards is just like this: > MAIL FROM:<> > RCPT TO:<[EMAIL PROTECTED]> > DATA > test > . > > And in both cases when I use this commands directly on the MX server, > everything goes smoothly, no apparent delay is noticed at all. > > cheers, > James > > >-----Original Message----- > >From: Davide Libenzi [SMTP:[EMAIL PROTECTED]] > >Sent: Friday, January 31, 2003 2:06 AM > >To: '[EMAIL PROTECTED]' > >Subject: [xmail] Re: smtp relay delivery delay? > > > > > >On Thu, 30 Jan 2003, James Budiono NCS wrote: > > > >> > >> > Hi, > >> > > >> > I'm new to xmail. I've just downloaded the package (1.11 and 1.12) > >and > >> > found the following problem. > >> > > >> > The environment > >> > ============ > >> > I've tested xmail in two Win2K environments: office and home. > >> > (Actually I tested it in a laptop) which I bring back and forth. > >> > > >> > Environment at office > >> > - DHCP > >> > - Outbound port 25 is open to the rest of the world > >> > - Internal DNS servers is accessible (tested using nslookup) > >> > > >> > Environment at home > >> > - ADSL connection behind a NAT router > >> > - Outbound port 25 is open. > >> > - DNS is cached by the NAT router (ie, DNS server is pointed to the > >NAT > >> > router instead of ISP's DNS). > >> > > >> > Settings: > >> > ====== > >> > I do not change anything in the mailroot directory (except > >> > ctrlaccounts.tab), everything is as it is as it comes from the zip > >file. > >> > > >> > The test > >> > ====== > >> > 1. Using telnet, I've deposited an account to my corporate email > >address. > >> > (with blank MAIL FROM). > >> > 2. When I'm in office, it takes a very long time (19 minutes on > >last > >> > testing) to delivery the email. (Note: only one email is in the > >queue). > >> > 3. When I'm at home, the delivery is very fast (as expected). > >> > 4. When I deposited the email at office, shutdown the machine, > >bring it > >> > back home and connect it, it instantenously sends the email. > >> > > >> > I am completely puzzled by this since the both environments looks > >exactly > >> > the same. > >> > Am I missing something here? > >> > > >> > cheers, > >> > James > >> > > >> > Variations I've tried > >> > ============== > >> > 1. Use SmartDNSHost with office DNS server: don't help. > >> > 2. Use DefaultSMTPGateways: it works perfectly (but unfortunately > >not what > >> > I needed). > >> > > >> > Other Notes: > >> > ========== > >> > 1. Delivery to local user (xmailuser) is very fast. > >> > 2. Delivery, when default smtp gateway is set, is very fast. > >> > 3. I'm able to telnet (prt 25) to any mail server in the world in > >both > >> > environments. > >> > 4. Using the same telnet method, I can successfully deposit the > >same email > >> > in my company's MX server. > >> > 5. I'm able to resolve MX records in both environments. > >> > 6. I do not have "slog" since all mails is routed successfully, > >albeit > >> > very very slow. > >> > 7. Capture of logs from office: > >> > "xmailserver.test" "1043919381372.2260.JAMES-PC" "S1D" "" > >> > "[EMAIL PROTECTED]" "SMTP" "ncs.com.sg" "2003-01-30 > >> > 17:57:10" > >> > > >> > 8. Capture of logs from home: > >> > "xmailserver.test" "1043861453995.1756.JAMES-PC" "SE" "" > >> > "[EMAIL PROTECTED]" "SMTP" "crystal.ncs.com.sg." > >"2003-01-30 > >> > 02:57:36" > > > >If the remote SMTP server does implement a RDNS query on your IP, and > >if > >your IP does not have a valid PTR record it might slow down operations. > >You should check from the same machine where the operation is slow, to > >emulate the same SMTP session to look at which command the operation is > >slow. > > > > > > > >- Davide > > > >- > >To unsubscribe from this list: send the line "unsubscribe xmail" in > >the body of a message to [EMAIL PROTECTED] > >For general help: send the line "help" in the body of a message to > >[EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
