H2Hosting.com

Well-Known Member
Sep 4, 2001
192
0
316
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!
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
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
 

H2Hosting.com

Well-Known Member
Sep 4, 2001
192
0
316
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!
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
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.
 

H2Hosting.com

Well-Known Member
Sep 4, 2001
192
0
316
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.
 
B

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...
 

H2Hosting.com

Well-Known Member
Sep 4, 2001
192
0
316
/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 :) :)
 
B

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
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
224
0
316
spam ass

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

Ed