Disabling sendmail

Hello everyone,
can anyone tell me how to disable sendmail on solaris 10?

I seem to have the sendmail process from hell. Did an SVCS | grep for mail and disabled the 2 processes it threw up. But something is still respawning sendmail (if I kill it manually) and it's doing the usual complaint about it's DNS and not being able to fully qualify it's domain.

Any help would be appreciated

Thanks

Martin

sendmail is usually started where all the system daemons are being fired up: have a look in the rc-scripts of your runlevel and/or "/etc/inittab".

Disable it there. I don't know Solaris too well, but in AIX there is a super-daemon (System Resource Controller) with the ability to restart cored daemons - perhaps there is something similar in Solaris too, no? You may have to have a look at / change of its configuration too.

I hope this helps.

bakunin

rc scripts and run levels are being obsoleted with Solaris 10. sendmail is no more launched by /etc/init.d/sendmail but by an SMF service.

You need to disable both the sendmail server and client services:

svcadm disable sendmail
svcadm disable sendmail-client