Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

using sendmail to ms-exchange

Go to solution
Rene Krewinkel
Occasional Contributor

using sendmail to ms-exchange


We are trying to implement a utility on out unix platform wich notifies several MS Exchange via email.
Does anyone know how to achieve this? I never setup an email environment on unix, so I wouldn't know where to start

Joseph Chakkery
Valued Contributor

Re: using sendmail to ms-exchange

Hello Rene,
U can use mailx command to send mails from HP server via sendmail.

Do the following.
(1) Get SMTP relay host name and IP address (Eg: abcd_relay)

For sendmail to be activated to send mail to

a)put relay hostname to DS on in /etc/mail directory (eg: DSabcd_relay).

b)Create nsswitch.conf in /etc by copying nsswitch.file as nsswitch.conf. (IF DNS is not enabled on ur HP server).

c)Add relay host IP entry to /etc/hosts file. (IP of abcd_relay)

d)Stop and start sendmail dameon again.

After this u can send a test mail using

# cat /etc/hosts | mailx -m -s "Test mail "

Hope this will help u.

Amdsp ???a will give u all info about disk array.
Knowledge is wealth
Honored Contributor

Re: using sendmail to ms-exchange

You may need also for exchange char-set to create a .mailrc in the home directories:

set crt=21
set encoding=8bit
set charset=iso-8859-1

All the best

Rene Krewinkel
Occasional Contributor

Re: using sendmail to ms-exchange

problem solved...

thanx a lot guys!