Operating System - HP-UX
1752585 Members
4093 Online
108788 Solutions
New Discussion юеВ

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

 
SOLVED
Go to solution
Manuales
Super Advisor

How can i start sendmail daemon (sendmail: accepting connections on port 25)

How can i start sendmail daemon (sendmail: accepting connections on port 25)

thaks.
8 REPLIES 8
Avinash Agarkar
Valued Contributor
Solution

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

Simply you can use -

# /sbin/init.d/sendmail stop

# /sbin/init.d/sendmail start




There is a line :
/usr/bin/sendmail -bd -q30m && echo "sendmail"

The option -q30m means 30 minutes of interval.
You can use (for example) -q20s for 20 seconds of interval or other
interval desired.


Thanks,
Aviansh
Great Power Comes With Great Responsibility
Viswanadhan
Regular Advisor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

Hi Manuales,

Use the following command

# /sbin/init.d/sendmail stop

To stop the sendmail daemon.

# /sbin/init.d/sendmail start

To start the sendmail daemon.

Regards,
Viswa.
Manuales
Super Advisor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

It did not work :'( .....

02:/etc->/sbin/init.d/sendmail start
02:/etc->ps -fea | grep send
root 10607 7410 1 00:06:33 ttyp3 0:00 grep send

why?
Viswanadhan
Regular Advisor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

Hi,

Cross check that sendmail is installed or not ?

Regards,
Viswa.
Manuales
Super Advisor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

I think it does not :

02:/etc->/sbin/init.d/sendmail start
02:/etc->ps -fea | grep send
root 10607 7410 1 00:06:33 ttyp3 0:00 grep send

how can i get that sw?
whiteknight
Honored Contributor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

hi Manuales,


Verify
Sendmail can be stopped with:
#/sbin/init.d/sendmail stop

or

#killsm
Sendmail can be started with:
#/sbin/init.d/./sendmail start

# ll /usr/sbin/sendmail
lrwxr-xr-x 1 root sys 39 Aug 23 2006 /usr/sbin/sendmail -> /usr/contrib/sendmail/usr/sbin/sendmail


hope this help.
WK
Problem never ends, you must know how to fix it
Manuales
Super Advisor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)

$ ll /usr/sbin/sendmail
-r-sr-sr-t 1 root mail 344064 Jun 7 1996 /usr/sbin/sendmail

how can i link?

Regards.
whiteknight
Honored Contributor

Re: How can i start sendmail daemon (sendmail: accepting connections on port 25)


hi Manuales,

Please ignore about the link. the correct one, your file is correct!!

# ll /usr/sbin/sendmail
-r-sr-sr-t 1 root mail 864256 Jul 13 2006 /usr/sbin/sendmail

#cd /sbin/init.d/
#./sendmail stop
Sendmail pid is 1498
Killing sendmail
Please wait .....
Sendmail killed.

#./sendmail start
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail

#ps -ef |grep sendmail
root 19620 1 0 14:01:22 ? 0:00 sendmail: accepting connections on port 25

Hope this help.

Follow my steps...

WK
Problem never ends, you must know how to fix it