Operating System - HP-UX
1752346 Members
5338 Online
108787 Solutions
New Discussion юеВ

Re: Sendmail cannot start properly.

 
SOLVED
Go to solution
Jose Mosquera
Honored Contributor

Re: Sendmail cannot start properly.

Have you installed a new version of sendmail?, Pls take note about new version have new capabilties and improves, for this if you are trying with old /etc/mail/sendmail.cf file some troubles will appear.

Rgds.
Artyom Voronchihin
Respected Contributor

Re: Sendmail cannot start properly.

Try to start sendmail manually from root account. Type the command:
/usr/sbin/sendmail -bd -q30m.
This command is invoking in starting sendmail's script (/sbin/init.d/sendmail). If sendmail started successfully check /sbin/init.d/sendmail for errors as it was described in above discussion. Symlink /sbin/rc2.d/S540sendmail must be linked to /sbin/init.d/sendmail and /sbin/init.d/sendmail is a _script_, NOT a link !
"Intel inside" is not a label, it's a warning.
Jochen Heuer
Respected Contributor

Re: Sendmail cannot start properly.

Correct /sbin/init.d/sendmail by removing the link and doing one of the following three options:

- copying from other system
- reinstalling sendmail patch PHNE_17190
- install more current sendmail patch

/sbin/init.d/sendmail is usually a script which is run at startup with the option 'start'. Since on your system this is a direct link to /usr/sbin/sendmail at startup the sendmail *binary* is run with option start and therefore treats start us 'username'
Well, yeah ... I suppose there's no point in getting greedy, is there?
Jose Mosquera
Honored Contributor

Re: Sendmail cannot start properly.

Be carefully with your current /etc/mail/sendmail.cf file, always keep a original copy in a safe place!!!
T G Manikandan
Honored Contributor

Re: Sendmail cannot start properly.

Jochen Heuer
Respected Contributor

Re: Sendmail cannot start properly.

Hi T G,

I don't think this will help since /sbin/init.d/sendmail is not a script but a link:

$ ll /sbin/init.d/sendmail
lrwxrwxrwx 1 root sys 18 Aug 28 13:29 /sbin/init.d/sendmail -/usr/sbin/sendmail
Well, yeah ... I suppose there's no point in getting greedy, is there?
T G Manikandan
Honored Contributor

Re: Sendmail cannot start properly.

Jochen Heuer
Respected Contributor

Re: Sendmail cannot start properly.

Okay, but in *this* case it does not matter if you run

$ /sbin/init.d/sendmail start

or

$ /usr/sbin/sendmail start

since the first one is a symbolic link to the second one ....

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Steven E. Protter
Exalted Contributor

Re: Sendmail cannot start properly.

I got this very problem on a Linux server a ways back.

/etc/aliases file.

It needs specific users authorized pointing to unix accounts. I know there are better ways to do this, but this is how I did it.

inv@investmenttool.com: invester
inq@investmenttool.com: invester
webmast@investmenttool.com: invester


here is a script to build the hash databases.


#!/bin/sh

# A script designed to rebuild all relavent mail databases after a con
# change.
#
#

newaliases
cd /etc/mail
makemap -r -v hash access.db < access
makemap -r -v hash domaintable.db < domaintable
makemap -r -v hash genericstable.db < genericstable
makemap -r -v hash mailertable.db < mailertable
makemap -r -v hash virtusertable.db < virtusertable
cp /etc/sendmail.cf /root
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

echo "You need to edit the sendmail.cf file for localhost et al"
sleep 3
vi /etc/sendmail.cf
/etc/init.d/sendmail restart

You need to update the Dj$w.... parameter if your mail server can't figure out your domain name from your hostname, at least on Linux.

I have lots more on this, having screwed everything up possible with this configuration.

Understand that to get mail onto aol's system, dns names must be validated, otherwise they reject the mail with a nasty message. It gets better, yahoo accepts the mail but won't deliver it.

Steve
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
Randy_34
Occasional Advisor

Re: Sendmail cannot start properly.

Hi All,

Good morning !With all the inputs, I managed to solve my problem. The main issue is that /sbin/init.d/sendmail should be a script not a link. I copied these file from somewhere.
It may not be the correct version but i can be bear with it right now.

Thanks for all the good suggestions !

Rgds
Randy