Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relaying Exchange mail thru a UNIX relay/smart host?

Status
Not open for further replies.

nuzzy

MIS
Aug 16, 2001
42
US
Hi,

I have numerous test servers, i.e., a.com, b.com and c.com. All of them are Exchange 2003 Servers. I created a Solaris relay host to send mail out to the internet. I then created a SMTP connector that points to this server and removed all the relay IP addresses on the exchange SMTP Virtual Servers as the relay rules are now set on the UNIX host. However, when sending mail, I'm getting the "550 Relay denied" error. I'm positive I have the right relay settings on the UNIX host. Is there anything I may be missing on the Exchange side??
 
You created an SMTP connector? Why didn't you just set the smarthost setting on the default SMTP connector?

Pat Richard, MCSE(2) MCSA:Messaging, CNA(2)
 
Make sure that the relaying denied is coming from your Unix Server.
If yes, then make sure that your unix server owns your domain.com zone otherwise for the server you are trying to relay.

To completely test your UNIX server is very simple. Set up a fake account in outlook and set your smtp server as your unix server. Source e-mail address should be your domain.com and destination any other address. compose an e-mail and send, no need to receive.
If your server stops you from doing that, then you must fine tune your unix server.

Cheers.
 
Hi,

58sniper - I did set the smart host setting originally but it didn't seem to work so that's why I tried SMTP Connector.

mikem501 - The relaying denied isn't coming from the Solaris server. I ran a "tail -f /var/log/maillog" on the Solaris relay server to make sure. First I tried by putting the relay's IP in my SMTP address and saw the mail go thru. I then changed it to the Exchange server IP address that's running the SMTP Connector pointing to the relay host and the mail never reached the UNIX box.

I guess my question is do I have to use the relay IP address as my SMTP address?? I thought I could still use the Exchange IP and it would have forwarded the request to the UNIX box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top