Operating System - HP-UX
1752794 Members
5522 Online
108789 Solutions
New Discussion юеВ

Re: using sendmail to ms-exchange

 
SOLVED
Go to solution
Rene Krewinkel
Occasional Contributor

using sendmail to ms-exchange

Hi,

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

thanx
3 REPLIES 3
Joseph Chakkery
Valued Contributor
Solution

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: 128.9.7.30 abcd_relay)

For sendmail to be activated to send mail to xxxxx.com.

a)put relay hostname to DS on sendmail.cf 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 " mail_id@xxxx.com

Hope this will help u.

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

Re: using sendmail to ms-exchange

Hi,
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

Victor
Rene Krewinkel
Occasional Contributor

Re: using sendmail to ms-exchange

problem solved...

thanx a lot guys!