Operating System - HP-UX
1837984 Members
2895 Online
110124 Solutions
New Discussion

Re: Sendmail not starting

 
Fuad_1
Regular Advisor

Sendmail not starting

Hi,

When I start /sbin/init.d/sendmail start
it hangs at start... User unknown

Thanks.
Set goals, and work to achieve them
10 REPLIES 10
Bharat Katkar
Honored Contributor

Re: Sendmail not starting

Hi Faud,
Find attached send mail configuration guide. Hope that helps you out. Frankly speakng i haven't worked in Sendmail. :)

Regards,
You need to know a lot to actually know how little you know
Arunvijai_4
Honored Contributor

Re: Sendmail not starting

Hi Fuad,

Check /var/adm/syslog/syslog.log for any error messages. Also, ensure you have read this guide,

http://docs.hp.com/en/5991-4829/index.html
[HP-UX Mailing Services Administrator's Guide: HP-UX 11i v1 and HP-UX 11i v2]

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Bejoy C Alias
Respected Contributor

Re: Sendmail not starting

Try to execute '/usr/sbin/sendmail -bd -q30m' and see whether it shows any errors . if this starts without any pblm then try debugging the sendmail startup script , for this add '-x' so that the first line of /sbin/init.d/sendmail looks like '#!/sbin/sh -x'. kill the currently running sendmail process and start the sendmail using the original script.
Be Always Joy ......
Tvs
Regular Advisor

Re: Sendmail not starting

hi


it may due to dns server problem.
just check the dns server is working fine..

(try with nslookup )


regards

tvs
Steven E. Protter
Exalted Contributor

Re: Sendmail not starting

Shalom Fuad,

There is a user in the sendmail configuration that is supposed to receive bounced mail and other notices. It does not exist.

You may wish to go through sendmail.cf and make sure any refereces to users are users that exist.

It may pay to uninstall sendmail and install it again fresh to get a standard configuration. This should be done with caution as you will be at ground zero with any anti-spam configuration.

Take a look back at recent changes to the machine and you'll probably find the cause of this problem.

There may be useful information in /var/adm/syslog/mail.log

SEP
-49
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fuad_1
Regular Advisor

Re: Sendmail not starting

Hi,

I am able to start the service, but I can not send mail, the process shows

sendmail: rejecting connection

Thanks.
Set goals, and work to achieve them
Peter Godron
Honored Contributor

Re: Sendmail not starting

Fuad,
please check your sendmail.cf file.
In particular check the line starting DS

Is the machine mentioned on that line defined to the machine , for example in /etc/hosts. Are you allowed to send mail to that host?
Peter Godron
Honored Contributor

Re: Sendmail not starting

Fuad,
any update on this?
Is the problem resolved
Fuad_1
Regular Advisor

Re: Sendmail not starting

Thank you for this follow-up,

I have found server load is 30, which seems that it causes this problem.

I will fix this load, and will comment accordingly.

Set goals, and work to achieve them
Fuad_1
Regular Advisor

Re: Sendmail not starting

The server load is about 30 in average, I bring down the load and sendmail is accepting connections.

Thanks to all.
Set goals, and work to achieve them