Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2002
    Location
    US
    Posts
    101

    Default Completely disable SpamAssassin

    Hi,

    I implemented the excelent ASSP spam solution by Radio Head so I don't need SpamAssassin anymore. I disabled it under tweak settings and service manager, however, when I restart exim, I get:

    Shutting down clamd: [ OK ]
    Shutting down exim: [ OK ]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [FAILED]
    Starting clamd: [ OK ]
    Starting exim: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]

    It is still trying to shut down spamd. How can I completely remove spamassassin from the server?

    Warmest Regards!

  2. #2
    Member kens6139's Avatar
    Join Date
    Dec 2003
    Location
    Chattanooga TN
    Posts
    24

    Default

    You can edit the exim startup script, /etc/init.d/exim.

    backup your file first, #cp exim exim.bak

    then, #nano exim

    scroll down and remove the following section

    if [ -x "/usr/bin/spamd" ]; then
    echo -n "Starting spamd: "
    $DAEMONIZE /usr/bin/spamd -d ${local+"--local"} --allowed-ips=${allowedips-127.0.0.1} \
    ${timeouttcp+"--timeout-tcp="}${timeouttcp} ${timeoutchild+"--timeout-child="}${timeoutchild} \
    --pidfile=${pidfile-"/var/run/spamd.pid"} --max-children=${maxchildren=5} \
    ${maxconnperchild+"--max-conn-per-child="}${maxconnperchild}
    echo $RESULT
    fi
    fi


    scroll down a few more lines and remove this section

    echo -n "Shutting down spamd: "
    killproc spamd
    echo $RESULT
    rm -f /var/lock/subsys/exim


    exit and save, that should do it

    If things go south restore backup, #cp exim.bak exim
    BadMo
    FatCat Servers
    Hosting from $9.95

Similar Threads & Tags
Similar threads

  1. How do I completely disable POP3 in WHM?
    By Vatoloco in forum E-mail Discussions
    Replies: 4
    Last Post: 01-25-2011, 09:35 PM
  2. Disable WebDav completely ?
    By SherifBuzz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-02-2010, 11:59 AM
  3. How to disable email completely?
    By tuxfan in forum E-mail Discussions
    Replies: 6
    Last Post: 08-27-2008, 08:24 PM
  4. How can I COMPLETELY Remove SpamAssassin?
    By HendrikM in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-01-2005, 03:54 AM
  5. Disable DNS Completely!?!
    By rweiss in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 09-27-2002, 11:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube