Operating System - HP-UX
1752480 Members
5692 Online
108788 Solutions
New Discussion юеВ

send an email from HPUX 11.31

 
AINMS
Respected Contributor

send an email from HPUX 11.31

Dears
i have HPUX 11.31 IA
i want to configure my system to send an email to any one
what is the configuration required for this and what is the used command for this

Note
-my server not connected to internet but connected to my exchange server

fast response will be appreciated
Thanks
AINMS
If it were all easy, we would not have anything to do.
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: send an email from HPUX 11.31

Hi:

First, read:

http://www.docs.hp.com/en/B2355-91064/index.html

Next, modify 'etc/mail/sendmail.cf' to specify a "smart relay" for your MS Exchange server to use. Doing this allows the forwarding of mail.

By default the 'DS' macro is empty. Change it to look something like:

DSmsexchange.xyz.com

Now, stop and restart 'sendmail':

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

To test everything, do:

# mailx -s "Test Message" ainms@xyz.com < /dev/null

You should find the message in your MS (Outlook) mailbox.

Regards!

...JRF...
AINMS
Respected Contributor

Re: send an email from HPUX 11.31

Hi
thanks for these information
but i din't know the section to read inside this link
also i configured it and start sendmail daemon but gives me this

ETNNM:/sbin/init.d#./sendmail start
Starting sendmail [Done]
Unable to start sm-client

and try using mailx but it gives me
hope tjhis is OK

Thanks
AINMS
If it were all easy, we would not have anything to do.
AINMS
Respected Contributor

Re: send an email from HPUX 11.31

also is it required to have an account on this exhange server and if so where this account should be configured

thanks
AINMS
If it were all easy, we would not have anything to do.
Michal Kapalka (mikap)
Honored Contributor

Re: send an email from HPUX 11.31

hi,

is you are administrator of Exchange sevrer make a "RELAY" for your Unix box.

the Unix box onfigure as "Smarthost"

an example how to do it:

http://www.elandsys.com/resources/sendmail/smarthost.html

mikap
AINMS
Respected Contributor

Re: send an email from HPUX 11.31

what about you james!
If it were all easy, we would not have anything to do.