1754336 Members
2747 Online
108813 Solutions
New Discussion юеВ

Sendmail stop|start

 
SOLVED
Go to solution
Paul Clark_3
Occasional Advisor

Sendmail stop|start

I can't seem to stop or start sendmail, each time I try I receive this message:-

stop... User unknown

I am running this from / as root

Can anyone help?

Thanks in advance
The Joy of HP-UX ain't nothing like it!
4 REPLIES 4
Armin Feller
Honored Contributor
Solution

Re: Sendmail stop|start

Hi,

when the absolute path name is specified, it all worked fine !!

ie ./sbin/init.d/sendmail start

./sbin.init.d/sendmail stop


Bets regards,
Armin
Juan Manuel L├│pez
Valued Contributor

Re: Sendmail stop|start

/etc/rc.config.d/sendmail stop
/etc/rc.config.d/sendmail start

This commands stop and start sendmail on your machine.

I hope this help you.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Juan Manuel L├│pez
Valued Contributor

Re: Sendmail stop|start

I am Sorry.
The rigth path is :

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

The other path is where you can find the variables who are used by system to start or no the daemons.
On your case, you have to put to 0 the value on file /etc/rc.config.d/mailsrvs :
export SENDMAIL_SERVER=0

With this, the sendmail does not start up with the machine.

I hope this help you.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Khalid A. Al-Tayaran
Valued Contributor

Re: Sendmail stop|start


Hi all,

this is how to shutdown / start sendmail:

Shutdown: /sbin/rc1.d/K460sendmail stop

Start: /sbin/rc2.d/S540sendmail start

Good Luck.