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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail with Exchange 1

Status
Not open for further replies.

dpanattoni

IS-IT--Management
Jan 29, 2002
76
US
I have an exchange server that does all of my e-mail to and from the internet as well as internally.

I have a SCO server that needs to e-mail out to either the internet or internally the status of running programs.

I have setup sendmail so that it has the same domain name as the exchange server, the exchange server is set up as it's smart host, and the sendmail server is on the internet.

I can successfully e-mail internally, but I cannot e-mail outside to the internet.

Any ideas?
 

Edit or add this line and put in your ip address. This line tells sendmail to only look at localhost for mail.

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

Then build the .cf file with this command:

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

In some cases you have to add your domain name to /etc/mail/local-host-names
 
I experienced this problem twice:
1)an AIX box sending to exchange.
2)a Mac client

Solution: Make sure the Internet Mail Service connector in Exchange is allowing routing from the internal IP address of the sendmail server. (basically it is treating it as spam now and blocking it). You could turn the logging level for smtp connections to 'max' restart the Internet Mail service in NT, try and send a message and then look at the logs in the event viewer. It should show something about relaying not allowed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top