fintanr's weblog

Archives

« November 2009
MonTueWedThuFriSatSun
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

the links




Twitter Updates

    follow me on Twitter
















    20040618 Friday June 18, 2004

    Disabling Sendmail

    A common comment that comes up when talking to friends and acquaintances who admin Solaris is that sendmail keeps getting reenabled when they install patches, obviously annoying, particularly when they are not using JASS to control your upgrades (personally I'd recommend just downloading JASS and using it, but its not always possible).

    The standard mechanism that people use is to move /etc/rc2.d/S88sendmail to another name, but when you repatch your box this will be recreated. What you need to do is create the file /etc/default/sendmail and put in an entry of

    MODE=
    

    Nice and easy, but like I mentioned, JASS will do this for you. (Did I mention JASS often enough ;) ).
    (2004-06-18 10:35:15.0) Permalink Comments [2]

    Comments:

    This works for me: pkgrm SUNWsndmr SUNWsndmu -Jiiim

    Posted by Jiiim on June 24, 2004 at 06:44 PM IST #

    Setting `MODE=` will disble the listner but you still end up with the queue running (/usr/lib/sendmail -q15m). An entry of 'exit' in /etc/default/sendmail will stop all processes running.

    Posted by Albert White on July 05, 2004 at 08:05 PM IST #

    Post a Comment:

    Comments are closed for this entry.