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!

Sending External Mail

Status
Not open for further replies.

unixgy

Technical User
Dec 28, 2001
36
US
Hello.

I have a Solaris 9 box I would like to send mail to external domains via mailx. I can send mail to internal local domain, but all mail directed to outside domains queue up in /var/spool/clientmqueue and do not get routed externally. We have a Microsoft Exchange mail server and I'm guessing the best way to do this is somehow run the outgoing e-mails through this Exchange server. I am also guessing this needs to be done through sendmail.cf somehow, but I have no idea how.

In summary:

mailx user@mydomain.com works fine
mailx user@yahoo.com does not work

Any help greatly apprecaited.

Unixgy
 
in sendmail.mc, "define(`SMART_HOST', `ip.of.exchange.server')"

or in sendmail.cf, "DSexchange.server.fqdn
 
Thanks for the help so far, but it's still not working:

Yes, sendmail is running.

I added our exchange server (Internal FQDN) to the DS entry in sendmail.cf, stopped sendmail, re-started sendmail, and the messages are still being queued up in /var/spool/clientmqueue

Any other ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top