Tom, Seems to confirm the DNS time-out leading to 'A' record being selected syndrome. (followed by the MX cache being used on retries)
Thanks for the info - excellent. Davide, I think we are getting to the bottom of this, what's your input on this? Rob :-) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Banting Sent: Wednesday, 24 May 2006 2:31 AM To: [email protected] Subject: [xmail] Re: xmail DNS problem : How I fixed it After getting lots of mail rejected by Earthlink and others because of domain name A records instead of MX records, about a year ago I made the following changes to SMAILSrv.cpp: In the USmtpGetFwdGateways() function I added the following code at about line 782: if ( ppszMXGWs == NULL ) { MXS_HANDLE hMXSHandle = USmtpGetMXFirst( hSvrConfig, pszDestDomain, szDomainMXHost ); ADDED: if ( hMXSHandle == INVALID_MXS_HANDLE ) { // fix for failing to get MX record. ADDED: Sleep( 5000 ); // wait 5 seconds and try again ADDED: hMXSHandle = USmtpGetMXFirst( hSvrConfig, pszDestDomain,szDomainMXHost ); ADDED: } if ( hMXSHandle != INVALID_MXS_HANDLE ) { A bit of a kludge but I have not seen the problem since. At 06:30 AM 22/05/2006, you wrote: 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' = ..... Tom Banting Internet: [EMAIL PROTECTED] Telcom Research WEB: http://www.TelcomResearch.com [1]Voice 1 (905) 336-2450 Fax 1 (905) 336-1487 --- Links --- 1 http://www.TelcomResearch.com - 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]
