1844204 Members
2079 Online
110229 Solutions
New Discussion

Re: Sendmail

 
SOLVED
Go to solution
Patricia Tang
Advisor

Sendmail

I could like to setup sendmail in hp-ux11 server.

I found that in /etc/mail, there is no sendmail.pid file.

I have edit this file ( sendmail.pid )as below:
/usr/sbin/sendmail -bd -q30m

Did anybody know how to find out the pid for sendmail? Cause i need to edit this pid to sendmail.pid file.

Thanks in Advance.
Regards,
Patricia
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Sendmail

I think the sendmail.pid is supposed to be automatically created when you start sendmail. You should not have to create that file manually. If you do a 'ps -ef | grep sendmail' does it show that the sendmail daemon is running? If not try doing an '/sbin/init.d/sendmail start' to start sendmail. If it doesn't start, is the /etc/rc.config.d/mailsrvs configured correctly?

Patricia Tang
Advisor

Re: Sendmail

i have try to restart the sendmail by enter command of "/sbin/init.d/sendmail start" but unfornately fail.

Below are the error message:
/etc/mail/sendmail.cf: line 1626: R line: null LHS
/etc/mail/sendmail.cf: line 1631: replacement $2 out of bounds
Warning: .cf version level (7) exceeds program functionality (6)
554 /etc/mail/sendmail.cf: line 1626: R line: null LHS
554 /etc/mail/sendmail.cf: line 1631: replacement $2 out of bounds
554 Warning: .cf version level (7) exceeds program functionality (6)

Please guide.
Thanks in advance.
Regards,
Pat
Keith Johnson
Valued Contributor

Re: Sendmail

The error you are getting is caused because your sendmail.cf file is designed for sendmail version 7, and the sendmail you are running is version 6.

You need to either find a sendmail.cf file compatible with sendmail version 6, or upgrade your sendmail version.

No matter where you go...there you are.