Hi All, I have been having some problems for a while sending to a few domains. I noticed that they were similar TLDs Anyway I tracked it down to the way xmail does the mx lookups. I had not realised initially that xmail does it's own dns lookups, rather than using some dns server to to the recursive lookup.
After I enabled SmartDNSHost in server.tab and pointed it to a dns server that was able to resolve the mx records, the frozen emails were able to be sent. Now I'm sure Davide is following the RFCs, but that doesn't stop others from doing the wrong thing. I have tested the Microsoft and Novell DNS servers and they are able to forward the lookup for me without problem. This means that as long as there are DNS servers out there that recover from dumb DNS implemntations, then you will have dumb DNS implemntations and that will only make xmail *look* like it is the one at fault. I'll detail, with 'bounce message' extracts below, so that Davide might add some work around code to your dns lookup. I am using xmail 1.12 on w2ksp3 Domains bigeagle.com.au, arends.com.au are local domains and the *.vic.edu.au are out there somewhere. I have my users login to send their smtp mail as some of them relay foreign domains like healthscope.com.au The faulty DNS servers are still out there so Davide could test his code against them. As I said, MS DNS will resolve these domains, but I don't know about *nix ones. Davide, your comments / test results would be appreciated. Rob: -) =================== These are the users that I have been sending to: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Note that they are all under vic.edu.au also the user names have been changed to protect the innocent! =================== [<00>] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [<01>] Error sending message [1045291623395.1236.mars] from [arends.com.au]. ID: <S655> Mail From: <[EMAIL PROTECTED]> Rcpt To: <[EMAIL PROTECTED]> [<02>] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [<04>] Here is listed the message log file: [PeekTime] 1048132257 : Thu, 20 Mar 2003 14:50:57 +1100 << ErrCode = -162 ErrString = End of socket stream data SMAIL SMTP-Send FF = "notredame.vic.edu.au" SMTP = "bigeagle.com.au" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" >> ==== the -162 error repeats many times ==== [<05>] Here is listed the initial part of the message: X-AuthUser: [EMAIL PROTECTED] Received: from p3450 (203.8.12.138) by bigeagle.com.au with [XMail 1.12 (Win32/Ix86) ESMTP Server] id <S655> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>; Sat, 15 Feb 2003 17:36:52 +1100 From: "Helen" <[EMAIL PROTECTED]> To: "Neroli" <[EMAIL PROTECTED]> Subject: *************** <snip> =================== [<00>] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [<01>] Error sending message [1046727893519.1496.mars] from [arends.com.au]. ID: <SA29> Mail From: <[EMAIL PROTECTED]> Rcpt To: <[EMAIL PROTECTED]> [<02>] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [<04>] Here is listed the message log file: [PeekTime] 1046727492 : Tue, 04 Mar 2003 08:38:12 +1100 << ErrCode = -40 ErrString = Invalid server address ErrInfo = nhs.vic.edu.au SMAIL SMTP-Send FF = "nhs.vic.edu.au" SMTP = "bigeagle.com.au" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" >> ==== the -40 error repeats many times ==== [<05>] Here is listed the initial part of the message: X-AuthUser: [EMAIL PROTECTED] Received: from rob (10.30.2.1) by bigeagle.com.au with [XMail 1.12 (Win32/Ix86) ESMTP Server] id <SA29> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>; Tue, 04 Mar 2003 08:38:12 +1100 From: "Afton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: ****************** <snip> =================== [<00>] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [<01>] Error sending message [1046727893549.1496.mars] from [arends.com.au]. ID: <SA29> Mail From: <[EMAIL PROTECTED]> Rcpt To: <[EMAIL PROTECTED]> [<02>] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [<04>] Here is listed the message log file: [PeekTime] 1046727492 : Tue, 04 Mar 2003 08:38:12 +1100 << ErrCode = -162 ErrString = End of socket stream data SMAIL SMTP-Send FF = "distance.vic.edu.au" SMTP = "bigeagle.com.au" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" >> [PeekTime] 1046727976 : Tue, 04 Mar 2003 08:46:16 +1100 ==== the -162 error repeats many times ==== [<05>] Here is listed the initial part of the message: X-AuthUser: [EMAIL PROTECTED] Received: from rob (10.30.2.1) by bigeagle.com.au with [XMail 1.12 (Win32/Ix86) ESMTP Server] id <SA29> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>; Tue, 04 Mar 2003 08:38:12 +1100 From: "Afton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: **************** <snip> =================== __________________________________________________________ Censorship can't eliminate evil; it can only kill freedom. - 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]