exchange 2007 sending emails

Posted on 2009-12-21
Last Modified: 2013-11-30
i am trying to setup a new exchange 2007 server. it is a stand alone server with out and edge trsnsport. We are using a Spam filter to send out going emails.

My issue;
After setting up the exchange, i am able to do everything but recivie any emails.  I am able to send to internal email, and external email fine, but when people reply test emails they are getting
"The e-mail system was unable to deliver the message, but did not report a specific reason.  Check the address and try again.  If it still fails, contact your system administrator.
            < #5.0.0 X-Spam-&-Virus-Firewall; host[] said:    530 5.7.1 Client was not authenticated (in reply to MAIL FROM command)>

So after looking around i read that i should try a command on the command line in shell. which is
set-receiveconnector -permissiongroups anonymouseuers

but i got this error message.
the operation could not be performed because object 'servername" could not be found on domain controller..

so im confuse if this is an email issue or a DNS issue. or if i am even doing the command right. for the servername i am putting in my exchange server name.

please help.
Question by:sirichaiphumirat
    LVL 76

    Accepted Solution

    The rejection message you are getting is not from your exchange server, so either your MX records are pointing to the wrong IP or there is sometign else in between your internet connection and your exchange server.
    It is also unusual to have a spam filter sending outgoing mail - it is more usually setup before receiving mail.  Are you sure you have this setup correctly?
    It may be that you have your mail arriving to your spam filter first and have not configured this properly.
    LVL 76

    Expert Comment

    by:Alan Hardisty
    If I try to telnet to or I don't connect to anything at all.
    Have you opened up TCP port 25 on your firewall and is it being forwarded to your Exchange server or your spam solution?
    LVL 15

    Assisted Solution

    You can even set the annonymous authentication from Exchange management console.
    Use NSlookup and check if your MX is set correctly and see if you can telnet port 25 of your telnet and the exchange server.
    i think is you MX record.
    Check if you can telnet port 25 of your exchange server try from server it self.
    What about the internal mailflow is it working, if not it is the issue with receive connector.
    LVL 32

    Expert Comment

    Go to, Check MX records there, ....
    Also verify on the Exchange Server --> EMC | Server configuration | Hub Transport | Default (Receive connector) | Permissions Group | Check - Anonymous users


    Expert Comment

    @ Alanhardisty, I think the MX record is correct because I am able to send out to external emails like yahoo and aol accounts. I figured if the MX record was wrong, yahoo or aol would reject it. The problem I am having is, when people reply to the email. They get a rejection.

    The MX record should be setup. The domain is When you do an MX record lookup for that, you'll get the external ip for the  .

    @ Narayan and Qupnit
    I was able to set the anonymous though the EMC and now looks like everything is work. I am able to send and receive.  Why wouldn't it work though the shell,  Is setting up the exchange with anonymous dangerous?
    LVL 28

    Expert Comment

    When dealing with a problem like this it's not sufficient to "think" the MX records are set up properly. You need to know. Thus use the tool nslookup:
    > set type=mx
    Server:  xxx.xx
            primary name server =
            responsible mail addr =
            serial  = 4
            refresh = 10800 (3 hours)
            retry   = 3600 (1 hour)
            expire  = 604800 (7 days)
            default TTL = 86400 (1 day)
    > exit

    Ping request could not find host Please check the name and try again.

    Hence no (public) MX record. There you have it.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
    Set OWA language and time zone in Exchange for individuals, all users or per database.
    In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now