Hello Davide I restart here the various 'dns problems' for smtp delivery from xmail since I have more and more complains about users saying our server is 'bad' ....
Configuration used : Xmail 1.22 Win32 on Windows 2000 SP4 Xmail configured to directly resolve mx queries (no smartdnshost) Local win32 Ip stack normaly configured to use a Microsoft DNS Server on another Windows 2000 SP4 (I put this info here in case this could impact xmail internal resolver...) First problem : Use of A domain entry (exist) even if Mx entries exist for the destination domain =============== Below is the xmail error report (relay denied but this is not the real problem) when sending mail to a account at ifrance.com ************************ [<00>] XMail bounce: [EMAIL PROTECTED];Error=[554 <[EMAIL PROTECTED]>: Relay access denied] [<01>] Error sending message [1119891256115.696.887d.mail0] from [groupeab.com]. ID: <S30313> Mail From: <[EMAIL PROTECTED]> Rcpt To: <[EMAIL PROTECTED]> Server: <ifrance.com> [ifrance.com] [<02>] The reason of the delivery failure was: 554 <[EMAIL PROTECTED]>: Relay access denied [<04>] Here is listed the message log file: [PeekTime] 1119890607 : Mon, 20 May 2005 18:43:27 +0200 << ErrCode = -82 ErrString = [RCPT TO:] not permitted by remote SMTP server ErrInfo = 554 <[EMAIL PROTECTED]>: Relay access denied SMAIL SMTP-Send FF = "ifrance.com" SMTP = "mx.groupeab.com" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "554 <[EMAIL PROTECTED]>: Relay access denied" SMTP-Server = "ifrance.com" >> [<05>] Here is listed the initial part of the message: .. .. ************************ NSLookup reports from the xmail server and from the Microsoft DNS server used by xmail server ip stack : Query for MX records on ifrance.com : ifrance.com MX preference = 0, mail exchanger = mailrecv.ifrance.com ifrance.com nameserver = dns1.ifrance.com ifrance.com nameserver = dns2.ifrance.com mailrecv.ifrance.com internet address = 82.196.5.133 mailrecv.ifrance.com internet address = 82.196.5.132 mailrecv.ifrance.com internet address = 82.196.5.131 mailrecv.ifrance.com internet address = 82.196.5.130 mailrecv.ifrance.com internet address = 82.196.5.134 dns1.ifrance.com internet address = 82.196.5.2 dns2.ifrance.com internet address = 82.196.5.3 Query for A record on ifrance.com : NomĀ : ifrance.com Addresses: 82.196.5.22, 82.196.5.20, 82.196.5.21 And a dnsreport http://www.dnsreport.com/tools/dnsreport.ch?domain=ifrance.com returnes exactly the same thing. Note that none of the Ip returned by the A record is used by any MX ... so the server at 'A' record even if accepting smtp is not responsible for ifrance.com delivery (this is not a invalid configuration). Xmail server try to connect to server 'ifrance.com' (A record) NOT on any ifrance MX ! When changing xmail config to relay ALL mail to another server (using smtpgw.tab with a "*"[tab]"....") all work fine !!! Mail is delivered by the gateway to ifrance.com without problem (to one of the various mx) !!! And the gateway is a 'simple' Microsoft SMTP service on Windows 2000 SP4 that uses the same Microsoft dns server to resolve IPs/Mxs ... Second problem : On no existing destination domains, Xmail don't return immediatly a NDR but start the 'normal' retry process =============== Below is the xmail file report when sending mail to a account at 'no existing' domain 'apem.gr' ************************ [PeekTime] 1147966006 : Thu, 18 May 2006 17:26:46 +0200 << ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = "apem.gr" SMTP = "mx.groupeab.com" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" SMTP-Server = "apem.gr" >> [PeekTime] 1147990673 : Fri, 19 May 2006 00:17:53 +0200 << ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = "apem.gr" SMTP = "mx.groupeab.com" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" SMTP-Server = "apem.gr" >> [PeekTime] 1147998436 : Fri, 19 May 2006 02:27:16 +0200 [PeekTime] 1148015781 : Fri, 19 May 2006 07:16:21 +0200 << ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = "apem.gr" SMTP = "mx.groupeab.com" From = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]" Failed ! SMTP-Error = "417 Temporary delivery error" SMTP-Server = "apem.gr" >> .. .. (same til last retry then ndr send to sender). ************************ Dns lookup for agem.gr returns 'No existing domain' (from xmail server or microsoft dns server), as dnsreport too (http://www.dnsreport.com/tools/dnsreport.ch?domain=apem.gr) Xmail try to send and retries, retries, until the final retry. So the Ndr is received only one or two days (depending of the retry parameter) after the initial sending (many customers send and resend the mail during this retry period because the receiver tell them no mail coming ! so the queue generaly have multiple times the same mail 'waiting' for 'nothing') This is not a problem for me as many others reasons need to 'retry' (real '417' error from destination server for example) but for no existing domain, I think the ndr must be immediate as it is equivalent to a 5xx error (permanent error). I tried to trace xmail code, but have not correct knowledge in dns packets formats, so it is difficult to me to find where there is a problem ... Do you need any other informations that can help ? Thanks Francis - 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]