exchange 2007 + 550 5.7.1 Unable to relay error

Network_Padawan
Network_Padawan used Ask the Experts™
on
I'm stumped. Someone please help me...three full days on setting up exchange and I can not get it to work. I have exchanged 2007 installed without a smart host or an edge transport (as this is my home lab network Im setting up). Can not send and can not receieve mail.

MX tools shows the following:

HELO please-read-policy.mxtoolbox.com
250 exchange07.{domain}.com.au Hello [64.20.227.133] [234 ms]
MAIL FROM: <supertool@mxtoolbox.com>
250 2.1.0 Sender OK [218 ms]
RCPT TO: <test@example.com>
550 5.7.1 Unable to relay [5226 ms]
QUIT
221 2.0.0 Service closing transmission channel [218 ms]

Now, the way I have set this up is as follows:

1. Send connector has the address *
2. I have "Use domain name system (DNS)"MX" records to route mail automatically" ticked.
3. I have the received connector to accept anonymous authentication.

What am I missing?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AkhaterSolutions Architect

Commented:
you are not missing anything...

you said you have created a send connector with address space of * to use MX this is all you need to do to send emails.  however since this is your home network it is probably your ISP blocking or proxying the port 25 request to reduce spam/viruses.

can you telnet 74.125.148.13 25 from your exchange server ?


to receive emails
1. do you have an external domain registered ? (e.g. domain.com)
2. in the DNS of domain.com did you add mail.domain.com pointing to your real ip ?
3. did you create an MX pointing to mail.domain.com ?

In EMC -> Organization Configuration -> Hub tranposrt -> Send connector -> In here have you written your "mail.yourdomain.com" that will provide response in ehlo or helo ?

This "mail.yourdomain.com" should be in your MX records (your external DNS server) which points to the public ip address of your exchange server
My bad, Akhater was a bit faster =]
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

mat_sullivanInfrastructure Engineer

Commented:

Author

Commented:
Is that your SMTP Server? No I can not! Damn. Why would an ISP block SMTP traffic...i get the spam part but seriously! Does this mean they will force me onto their "business IP" products?

Author

Commented:
hey JuusoConnecta...yes ive done what you stated

Author

Commented:
Hey Matt, thats a relay from one machine to use Exchange to route mail out...this is not what I am looking for. I just want a simple server that sends outgoing mail and accepts incoming mail.
AkhaterSolutions Architect

Commented:
no that's google SMTP but yest it is a commun practice with ISPs


what about the dns part did you do it ?

Author

Commented:
Hey Akhater...my external MX record points to my A record of mail.premiereit.com.au which is my NATTED single IP given to me by the ISP. This is then PORT FORWARDED with the SMTP and exchange PORTS required to the exchange server internal IP which sits behind the router.

Author

Commented:
Also, Ive just tried to telnet to 74.125.148.13 25 from my work and I can't telnet...so Im not sure what the point of that was.
Solutions Architect
Commented:
Believe me you shld be able to telnet 74.125.148.13 25 would you like me to send you a screenshot ?

Unless you are the IT guy at work it is probable that smtp is also blocked there.


i also cannot telnet mail.premiereit.com.au 25 so maybe port 25 is not opened at your ISP side either or there is something wrong with the port forwarding and thus you can't receive emails

what I can tell you is that the configuration of exchange is correct

if you want you can simulate that you got an email from outside by using the telnet command

telnet exchangeip 25
ehlo
mail from:you@hotmail.com
rcpt to:you@exchangedomain.com
data
blablbalb

.

Author

Commented:
Hi Akhater,

Sorry I did not mean to be rude please don't take my post as an insult, it did not come across as intended.

No the SMTP server is down at the moment. Ill bring it back up tonight and see if you cant try again.

Ok strange, I was just able to telnet to that box...sorry, but I swear I could not before.



AkhaterSolutions Architect

Commented:
:) no worries at all no offense taken at all.

It is just that, from what you wrote, all seems to be just fine configuration wise and I understand how frustrating it must be not to be able to run a proper test

Author

Commented:
Thanks :) Will update tonight.

Author

Commented:
Hey Akhater,

The exchange server is up...are you able to test from your end?

AkhaterSolutions Architect

Commented:
yes I can telnet give me an email on your test domain

Author

Commented:
dgarcia@premiereit.com.au
dgarcia@pit.com.au
AkhaterSolutions Architect

Commented:
you should have it
AkhaterSolutions Architect

Commented:
well the issue is that although your port forwarding is correct the MX record of premiereit.com.au is non existent

Author

Commented:
LOL great! My AD seems to be playing up. I cant seem to do anything, nothing is working. I think I am going to have to rebuild completely.

Thanks for your help anyways, but my client cant authenticate as the exchange IS cant start. Closing log ill try again later in the week. Assigning points now.

Vmserver is buggy as all hell. So frustrating :)

Author

Commented:
Thanks for help anyways

Author

Commented:
AH! Akhater, its all back up and running...but no you email has not arrived :(

Author

Commented:
Wait! IT JUST CAME THROUGH!!! YES!

How did it work for you? I sent an email via my hotmail and it doesnt come through...

Author

Commented:
"well the issue is that although your port forwarding is correct the MX record of premiereit.com.au is non existent"

How do you mean? In my registrar I created an mx record with the value 5 as mail.premiereit.com.au. and than I created an A record that points mail.premiereit.com.au to the IP it now resolves to...not sure what you mean
AkhaterSolutions Architect

Commented:
Nop the MX is not created, i telneted directly to your server you have nothing wrong in your config

> set type=mx
> premiereit.com.au
Server:  server
Address:  172.19.0.201

DNS request timed out.
    timeout was 2 seconds.
*** Request to servert

Author

Commented:
Damn Im a fool. It was misconfigured. Feel like an amateur. So sorry. Yes its working now. Thank you for your patience :)
AkhaterSolutions Architect

Commented:
thanks for the update

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial