locked
Exchange cannot receive external mail RRS feed

  • Question

  • Hi,

    I successfully installed exchange 2007. Currently I can send mails externally without any problem what so ever but the problem is I cannot receive mail from external/internet. Internal mails flows fine as well.

    Below is the error message from a external user trying to send mail to this exchange server.

    "Your message did not reach some or all of the intended recipients.

     

          Subject:    RE: test

          Sent: 9/23/2010 11:38 AM

     

    The following recipient(s) cannot be reached:

     

          Ince Gebe on 9/23/2010 11:38 AM

                The destination server for this recipient could not be found in Domain Name Service (DNS).  Please verify the email address and retry.  If that fails, contact your administrator.

                <dalsbs01.dalsol.local #5.4.0>"

     

     Just an additional info....I did remove the default receive connector and added a new one to allow internet mail from anonymous user but still cannot receive mail from external.

    I did ran the Microsoft Exchange Remote Connectivity analyser online for incoming mails...MX Record and Port 25 is configure fine without any error. I thought something is not configured right on the exchange. Here is the error from the Connectivity Analyser

    "

    Attempting to send test email message to igadmin@hcc.com.sb using MX mailserver.hcc.com.sb.

     

    Delivery of the test message failed.

     

    Additional Details

     

    Server returned status code 550 - Mailbox unavailable. The server response was: 5.7.1 Unable to relay
    Exception details:
    Message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay
    Type: System.Net.Mail.SmtpFailedRecipientException
    Stack trace:
    at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
    at System.Net.Mail.SmtpClient.Send(MailMessage message)
    at Microsoft.Exchange.Tools.ExRca.Tests.SmtpMessageTest.PerformTestReally()

    Appreciate if anyone can help

     

    Cheers

    Thursday, September 23, 2010 2:54 AM

Answers

  • On Thu, 23 Sep 2010 06:11:14 +0000, Souljah_e wrote:
     
    >
    >
    >Rich,
    >
    >Thanks, im quite new to exchange 2007 so a bit lost here. Well here is the setup scenerio. It is a windows server 2008 running as a domain controller and hosting the exchange 2007 as well.
    >
    >So how do I add the domain to the SMTP configuration?
     
    In the Exchange Management Console:
     
    Organization Configuration -> Hub Transport -> Accepted Domains
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Marked as answer by Allen Song Wednesday, September 29, 2010 6:49 AM
    Thursday, September 23, 2010 1:36 PM

All replies

  • Dear

    you can use telnet for troubleshooting

    open cmd and type "telnet exchangeIP 25" and try to send a test email using the telnet session.

    If it is successfull then this is a DNS problem.You can then use the mxtoolbox.com to verify your mx record.

     

    thx 

    Thursday, September 23, 2010 3:58 AM
  • Hi,

    Please check following things -->

    1) Are you able to send to mails to yahoo, hotmail accounts from same server where you are getting this error. If no then please check the DNS resolution on the sending server.

    2) Please check that you have not updated any NS records recently of the domain where you are trying to send the mails. As NS changes require some time to propogate.

    Thanks.

    Thursday, September 23, 2010 4:21 AM
  • On Thu, 23 Sep 2010 02:54:21 +0000, Souljah_e wrote:
     
    [ snip ]
     
    >I did ran the Microsoft Exchange Remote Connectivity analyser online for incoming mails...MX Record and Port 25 is configure fine without any error. I thought something is not configured right on the exchange. Here is the error from the Connectivity Analyser
     
    Here's a transcript of a simple SMTP conversation with your MX:
     
    220 HCCSBS01.hcc.local Microsoft ESMTP MAIL Service ready at Thu, 23
    Sep 2010 15:19:52 +1100
    ehlo XXXX.XXX
    250-HCCSBS01.hcc.local Hello [66.XXX.XXX.18]
    250-SIZE 10485760
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-STARTTLS
    250-AUTH
    250-8BITMIME
    250-BINARYMIME
    250 CHUNKING
    mail from:<rich@XXXX.XXX>
    250 2.1.0 Sender OK
    rcpt to:<postmaster@hcc.com.sb>
    550 5.7.1 Unable to relay
     
     
    Is the machine mailserver.hcc.com.sb (IP address 202.1.163.158) an
    Exchange server or just a Windows Server running SMTP and acting as a
    relay for your domain?
     
    Whatever the problem, the machine at that address isn't acceptig
    e-mail for your domain. If it's an Exchange 2007 server, add your
    domain to the "Accepted Domains". If it's just a Windows Server you'll
    have to add the domain to the SMTP configuration.
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Thursday, September 23, 2010 4:28 AM
  • Rich,

    Thanks, im quite new to exchange 2007 so a bit lost here. Well here is the setup scenerio. It is a windows server 2008 running as a domain controller and hosting the exchange 2007 as well.

    So how do I add the domain to the SMTP configuration?

    Cheers for you help

    Thursday, September 23, 2010 6:11 AM
  • http://technet.microsoft.com/en-us/library/bb124745.aspx

    You may be using the Windows SBS server as he name suggests.

    Configure the Accpeted Domain on HUB server with the domain name as Authorritative.

    Thursday, September 23, 2010 1:06 PM
  • On Thu, 23 Sep 2010 06:11:14 +0000, Souljah_e wrote:
     
    >
    >
    >Rich,
    >
    >Thanks, im quite new to exchange 2007 so a bit lost here. Well here is the setup scenerio. It is a windows server 2008 running as a domain controller and hosting the exchange 2007 as well.
    >
    >So how do I add the domain to the SMTP configuration?
     
    In the Exchange Management Console:
     
    Organization Configuration -> Hub Transport -> Accepted Domains
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Marked as answer by Allen Song Wednesday, September 29, 2010 6:49 AM
    Thursday, September 23, 2010 1:36 PM
  • Thanks a lot guys have it sorted.

     

    Cheers

    Friday, September 24, 2010 1:33 AM
  • I am having this problem also, when running mxtoolbox.com for my domain, I get the following:

    Timeout occurred due to inactivity.

    Status Result
    Session Transcript:
    6/12/2012 7:05:25 AM Connection attempt #1 - Timeout occurred due to inactivity. [16.22 sec]

    Tuesday, June 12, 2012 12:06 PM
  • try to disable the antispam agents

    MCITP Enterprise Messaging Administrator, MCITP Enterprise Administrator, MCSE, MCDBA


    • Edited by Elie Damien Friday, June 15, 2012 1:36 PM
    • Proposed as answer by Elie Damien Friday, June 15, 2012 1:36 PM
    Friday, June 15, 2012 5:55 AM