Operating System - HP-UX
1833589 Members
4257 Online
110061 Solutions
New Discussion

Re: Mailing to the internet

 
Remko Oosenbrug
Contributor

Mailing to the internet

I want to mail from my UNIX system to the internet. I have on the same system an exchange server called skw01 who can mail to the internet trhough port 25. How must i configure UNIX (sendmail ?) so it will deliver the mail to the exchange server?
OH No. It's happening again
4 REPLIES 4
Rick Garland
Honored Contributor

Re: Mailing to the internet

Setup the smarthost entry in the sendmail.cf file. This would be the DS macro.

Example: DS

Bounce the mail daemon so the sendmail.cf file is read with the new config. From this point, should be able to mailx
.
Rick Garland
Honored Contributor

Re: Mailing to the internet

Setup the smarthost entry in the sendmail.cf file. This would be the DS macro.

Example: DS

Bounce the mail daemon so the sendmail.cf file is read with the new config. From this point, should be able to mailx
.
Berlene Herren
Honored Contributor

Re: Mailing to the internet

You need to set the DS macro in /etc/mail/sendmail.cf, then stop and restart sendmail...

# "Smart" relay host (may be null)
DSskw01

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
berlene

http://www.mindspring.com/~bkherren/dobes/index.htm
Victor BERRIDGE
Honored Contributor

Re: Mailing to the internet

Once you done the modification mentionned above, you may get an you mail with an error message in exchange (I did since exchange doesnt use the same charset...)
If so you will have to create an .mailrc file for the users with inside:
set crt=21
set encoding=8bit
set charset=iso-8859-1

Good luck
Victor