The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spamassassin - hot to REMOVE?

Discussion in 'General Discussion' started by H2Hosting.com, Feb 11, 2002.

  1. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    How to remove spamassassin from the server. I don't want to change current themes - I just want to completely remove it from the server.

    Please HELP!
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    It actually is working quite well now, if you've followed previous threads/bugs....

    If you want it dead, first remove this line from exim.conf:

    command = /usr/bin/spamassassin -w $sender_address

    Lock exim.conf (chattr +i)
    ....................
    Then..... remove the &.spamassassin& placeholder file in the root of every cpanel account that has activated it, just in case.

    Finally, wax the Mail::SpamAssassin perl module
    (from within your .cpan directory structure and perl 5.6.1 structure)... that's up to your server.

    And lastly.... chmod 0000 /scripts/installspam
    chattr +i /scripts/installspam

    Restart exim and that's golden.
    /etc/rc.d/init.d/exim restart

    :p
     
  3. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    thank you :)

    BTW, all previous threads about spamassassin bugs can't help me as I still have this error.

    i hate spamassassin and don't like such sort of software to be installed on my server!
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Define &this error&
    it might be better to try to tackle it now rather then prevent updates just so you can avoid one particular component.
     
  5. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    http://support.cpanel.net/obb/read.php?TID=1381&page=2

    &D=sa_localuser T=local_sa_delivery: Child process of local_sa_delivery transport returned 127 from command: /usr/bin/spamassassin&

    /usr/bin/perl: relocation error: /usr/lib/perl5/5.6.1/i686-linux/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open


    even after PERL reinstall and
    rsync -av rsync://rsync.cpanel.net/scripts /scripts
    /scripts/killndbm

    etc.
     
  6. bdraco

    bdraco Guest

    [quote:e13cfe13fe][i:e13cfe13fe]Originally posted by H2Hosting.com[/i:e13cfe13fe]

    http://support.cpanel.net/obb/read.php?TID=1381&page=2

    &D=sa_localuser T=local_sa_delivery: Child process of local_sa_delivery transport returned 127 from command: /usr/bin/spamassassin&

    /usr/bin/perl: relocation error: /usr/lib/perl5/5.6.1/i686-linux/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open


    even after PERL reinstall and
    rsync -av rsync://rsync.cpanel.net/scripts /scripts
    /scripts/killndbm

    etc.
    [/quote:e13cfe13fe]


    Are you sure you ran killndbm ?? The first line in that script is going to remove the .so file you are refering so.. I'm not sure how it can load a file that doesn't exist...
     
  7. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/killndbm can't delete NDBM_File.so file. :)

    ok. Finally i had to manually delete it (usr/local/lib/perl5/5.6.1/i686-linux-ld/auto/NDBM_File/NDBM_File.so )

    It works now.

    BTW, I sent 10 spam emails and received 1 warning only
    Very useful script :) :)
     
  8. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    thank you for your help.
     
  9. bdraco

    bdraco Guest

    [quote:5e8f2f822b][i:5e8f2f822b]Originally posted by H2Hosting.com[/i:5e8f2f822b]

    /scripts/killndbm can't delete NDBM_File.so file. :)

    ok. Finally i had to manually delete it (usr/local/lib/perl5/5.6.1/i686-linux-ld/auto/NDBM_File/NDBM_File.so )

    It works now.

    BTW, I sent 10 spam emails and received 1 warning only
    Very useful script :) :)[/quote:5e8f2f822b]

    You might want to adjust your ~/.spamassassin/* files
     
  10. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    bdraco, i'll try. Thank you for your support.
     
  11. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    spam ass

    on our servers spam a$$ blocks ALL email. is there settings to get mail going again?&

    Ed
     
Loading...
Similar Threads - Spamassassin hot REMOVE
  1. sandstorm
    Replies:
    2
    Views:
    273

Share This Page