Notes on how to turn off sendmail permanently

Tuesday, November 4th, 2008 at 1:50 am by Jiltin
Filed under: Internet, Unix Scripts, Web & Scripts 

Use the following steps to turn off sendmail permanently

chkconfig –help

chkconfig version 1.3.8 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig –list [name]
chkconfig –add <name>
chkconfig –del <name>
chkconfig [--level <levels>] <name> <on|off|reset>)

chkconfig –list sendmail

sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off

chkconfig –level 2345 sendmail off

chkconfig –list sendmail

sendmail        0:off   1:off   2:off    3:off    4:off    5:off    6:off

service sendmail stop

Comments