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: 

mail between Unix hosts

Yan Wong
Frequent Advisor

mail between Unix hosts

I configure the sendmail.cf file to take Exchange as an mail server. However, how do I send mail between Unix hosts?

Any ideas?
7 REPLIES
Adisuria Wangsadinata_1
Honored Contributor

Re: mail between Unix hosts

Hi there,

You can try to use sendmail command, below is example :

NOTE : replace with Unix hostname

# sendmail root@
test only
.

Hope this can help you.

Best Regards,
AW
now working, next not working ... that's unix
Mister_Z
HPE Pro

Re: mail between Unix hosts

You can also try to execute:

#elm

or

#mail

Regards,
I work for HP
Yan Wong
Frequent Advisor

Re: mail between Unix hosts

Don't work on both of sendmail and mail.
KapilRaj
Honored Contributor

Re: mail between Unix hosts

Hv u configured Relay host ? If not configure it to point to your mail server

Kaps
Nothing is impossible
Yan Wong
Frequent Advisor

Re: mail between Unix hosts

I configure DS to mail server as same as other Unix hosts. How do I send a mail from one Unix host to other Unix host's user mail account?
Yan Wong
Frequent Advisor

Re: mail between Unix hosts

I added an entry of "O HostFile=/etc/hosts" and ran the makemap to make a db file. Then I can send mail to other Unix hosts.
Adisuria Wangsadinata_1
Honored Contributor

Re: mail between Unix hosts

Hi there,

After you configure the sendmail like other HP-UX systems by configure sendmail.cf, sendmail.cw, /etc/hosts, /etc/nsswitch.conf.

Did you already restart the sendmail services ? Please follow the command below :

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

And try to send email between unix hosts 8-)

# sendmail @
test only
.

FYI, you can find some document about configuring sendmail from knowledge mine, you can use this keyword : 'sendmail configure'

Hope this can help you.

Best Regards,
AW
now working, next not working ... that's unix