I have just set up my exchange 2010 server on Ms windows server 2008 R2. I have also set up the dns and mx records and chesk they are configured ok. I can send mail from the domain but can send mail TO it from any account.
I sent mail from my gmail accout and I got the following error:
Delivery to the following recipient failed permanently:
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain yyyyyy by mail.xxxxxxxxx. [22.214.171.124]
The error that the other server returned was:
550 5.7.1 Unable to relay
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
X-Received: by 10.182.122.41 with SMTP id lp9mr2605252obb.65.
Fri, 15 Feb 2013 11:32:15 -0800 (PST)
Received: by 10.76.84.98 with HTTP; Fri, 15 Feb 2013 11:32:15 -0800 (PST)
Date: Fri, 15 Feb 2013 21:32:15 +0200
Subject: mone test 1
Content-Type: text/plain; charset=ISO-8859-1.
ThenI run the Microsoft Remote connectivity test and got the results below.:
Testing inbound SMTP mail flow for domain firstname.lastname@example.org. ExRCA failed to test inbound SMTP mail flow. Test Steps Attempting to retrieve DNS MX records for domain cfbmedic.com.zm. One or more MX records were successfully retrieved from DNS. Additional Details MX Records Host mailhost.cfbmedic.com.zm, Preference 30
, Host mail.cfbmedic.com.zm, Preference 10
Testing Mail Exchanger mail.cfbmedic.com.zm. One or more SMTP tests failed for this Mail Exchanger. Test Steps Attempting to resolve the host name mail.cfbmedic.com.zm in DNS. The host name resolved successfully. Additional Details IP addresses returned: 126.96.36.199 Testing TCP port 25 on host mail.cfbmedic.com.zm to ensure it's listening and open. The port was opened successfully. Additional Details Banner received: 220 CFBSVR2.cfb.local Microsoft ESMTP MAIL Service ready at Fri, 15 Feb 2013 22:09:59 +0200 Attempting to send a test e-mail message to email@example.com using MX mail.cfbmedic.com.zm. Delivery of the test message failed. Additional Details
The server returned status code 550 - Mailbox unavailable. The server response was: 5.7.1 Unable to relay
Message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
Can any one help
Have you setup a Accepted Domain for your SMTP domain on the Exch server?
And you may want to setup an EAP - http://technet.microsoft.com/en-gb/library/bb125137(v=exchg.141).aspx