Sun Java Communications Suite 5 Installation Guide

ProcedureTo Disable the sendmail Daemon

  1. Change to the /etc/init.d directory.

    cd /etc/init.d
  2. Stop the sendmail daemon if it is running.

    ./sendmail stop
  3. Modify /etc/default/sendmail by adding MODE="".

    If the sendmail file does not exist, create the file and then add MODE="".

    If a user accidentally runs sendmail start, or if a patch restarts sendmail, then adding this modification prevents sendmail from starting up in daemon mode.

    Note –

    In some cases (especially on Solaris 10), even after you run the /etc/init.d/sendmail stop command, sendmail is autorestarted. In this case, use the following command to stop the sendmail process:

    svcadmin disable network/smtp:sendmail