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.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.