Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you turn off sendmail? I n

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can you turn off sendmail? I need to stope sendmail and re-route smtp traffic through domsmtp.
 
In /etc/init.d, you should find a script taht starts sendmail (usually called sendmail). find in /etc/rc0.d and /etc/rc2.d the links to /etc/init.d/sendmail and rename them to something that does not start with S or K (you can also remove them if you like).
Then kill the sendmail daemon.
ps -ef | grep sendmail
kill no_process

to kill sendmail you can also run :
/etc/init.d/sendmail stop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top