Operating System - HP-UX
1836170 Members
3729 Online
110096 Solutions
New Discussion

Configuring mail on HP/UX using sendmail.cf

 
Shahnaz Sadaghiani
Occasional Contributor

Configuring mail on HP/UX using sendmail.cf

I changed DS and Dj parameters in .cf file and restarted sendmail suing

/sbin/init.d/sendmail stop and start
when I use mailx -s "test" userid@xyz.com

I come across

sh: abc.com not found.

I ping abc.com and I am OK with the reply.

/etc/hosts file is fine

What can be wrong.

Thanks in advance for the help
3 REPLIES 3
Hasan  Atasoy
Honored Contributor

Re: Configuring mail on HP/UX using sendmail.cf

hi shabnaz ;
please use attached cookbook for configuring sendmail in hp-ux


Hasan
Dennis Handly
Acclaimed Contributor

Re: Configuring mail on HP/UX using sendmail.cf

sh: abc.com not found.

This means that the shell has seen "abc.com" at the beginning of the line and thinks it is a command. There could be variables that weren't set?
$ $MAILIT abc.com

If $MAILIT isn't set, you would get that error.
Jeeshan
Honored Contributor

Re: Configuring mail on HP/UX using sendmail.cf

Check the /etc/resolv.conf file for the domain name entry like,

search abc.com
nameserver
nameserver


hope this will solve your problem
a warrior never quits