2009年11月9日星期一

Howto configure sendmail in HP-UX

Howto configure sendmail in HP-UX


* Purpose

Configure sendmail to let mailx deliver outside

* Operation Steps

o 1 sendmail.cf

vi /etc/mail/sendmail.cf

#Dj $w.Foo.COM

>> Dj $w.ebis.com


o 2 nsswitch

vi /etc/nsswitch.conf

hosts:files

o 3 hosts

vi /etc/hosts

192.168.0.33 hwccl.com

o 4 testing

/sbin/init.d/sendmail stop

/sbin/init.d/sendmail start

mailx meansonw@hwccl.com

test

server

.

EOT