Operating System - HP-UX
1832227 Members
2621 Online
110041 Solutions
New Discussion

Unable to start sm-client

 
Norman Dignard
Regular Advisor

Unable to start sm-client

HPUX 11.31 (IA64)
On bootup sendmail does not start sm-client.
maillog states sendmail cleint not started with "/sbin/init.d/sendmail[1242]: /etc/mail/submit.cf is missing".
Submit.cf is not on the system.

How do I fix this?

3 REPLIES 3
Ivan Krastev
Honored Contributor

Re: Unable to start sm-client

Just copy /usr/newconfig/etc/mail/submit.cf

to /etc/mail/submit.cf

If you don't have such file then generate new one:

# cd /usr/newconfig/etc/mail/cf/cf/
# ./gen_cf

and copy to /etc/mail/


regards,
ivan
Norman Dignard
Regular Advisor

Re: Unable to start sm-client

Actually I did the following after coping /usr/newconfig/etc/mail/submit.cf and copied it to /etc/mail

chown bin:bin /etc/mail/submit.cf

Created user smmsp UID 25 group smmsp GID 25 , and made it its primary group

Create dir /var/spool/clientmqueue & chmod to smmsp:smmsp protection 770.


I basically followed http://ls.berkeley.edu/mail/magnet/2002/0289.html description.

The main differences from the above are in the file permissions/ownership.

ll /usr/sbin/sendmail
-r-sr-sr-t 1 root mail 4374608 Jan 12 15:28 /usr/sbin/sendmail

ll /var/spool
drwxrwx--- 2 smmsp smmsp 96 Jun 26 12:30 clientmqueue



The sm service now starts and no issues reported in the log files.


Norman Dignard
Regular Advisor

Re: Unable to start sm-client

see previous