LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-21-2005, 03:24 PM   #1
kyletaz
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
HELP, need to disable Spamd


This is not going to be easy (although I hope I'm wrong).

I've been tasked with Disableing the Spamd and MailScanner software on a seerver that was setup be an employee that is no longer with the company and did little to no documantation on anything and none on this.

So my question is where should I be looking for configustion files that need changeing and the like. I would just nuke the box but it is also doing a couple other things.

any help would be great thanks.
 
Old 11-21-2005, 03:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
why on earth would you think that that is remotely hard?! just uninstall the packages... "rpm -e spamassassin" on an rpm based distro etc... alternatively if it is running as a seperate service just stop the service permanently using chkconfig or delete the symlink from /etc/rc.d/rc3.d or /etc/rc.d/rc5.d depedning on your runlevel.

note i can give specific details as you've not told us what distro you are even using... we're not psychic.
 
Old 11-21-2005, 04:03 PM   #3
kyletaz
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry about the vague post in the first place, it is redhat and I don't have many details as I didn't build the box.

As for uninstalling it, that might be the road I take but I was hope I could just disable it for a month or so to make sure our replacement works as intended.

Now that I think of it though I think I will just remove it so if we need it back I can build it myself and do it right and document it.

thanks for the help.
 
Old 11-21-2005, 05:44 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
so on redhat run "chkconfig spamd off" and that'll stop it loading automatically, assuming that the service is called spamd. it's name can change a bit, might actually be called "spamassassin" or such like. similar for the other service.
 
Old 11-22-2005, 12:28 PM   #5
kyletaz
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, but I tried "chkconfig spamd off" and it didn't work, got

bash: chkconfig: command not found

my uname info is Linux ******************* 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux

is there an other comand for this? I can't monkey around to much as this is the email gateway machine for the entire company

Everytime I need to work on this box I want to throttle the guy that set it up and never documented a thing!!
 
Old 11-22-2005, 01:30 PM   #6
kyletaz
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
NM, what a tool, needed to use the full path to run it.

thanks for the help guys, we will be testing this on friday as we don't know if this will bring down email for the company
 
Old 11-22-2005, 03:42 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
in reality, i'd assume you were not su-ing correctly so weren't fully logged in as root. if you open a terminal, run "su -" and then run it, it'll work fine, without that dash it won't load the su'd users full profile, including path details.
 
Old 11-22-2005, 03:45 PM   #8
kyletaz
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Probably what it was, I was sshed to it as it is in the server room and usually just su works fine.

thanks again for the help.

been to long since my Linux training
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 3.4 - spamd log file 2G Sigkill(9) *BSD 2 10-11-2005 02:23 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne Suse/Novell 3 03-16-2005 09:30 AM
SpamAssassin Error "spamd: no response to STREAM cmd, Success" and other errors PlorkZ Linux - Software 1 11-18-2004 05:16 PM
How to filter postfix with spamd pembo13 Linux - Networking 2 09-10-2004 08:08 AM
Disable X mikeshn Linux - Security 1 08-24-2003 03:09 PM


All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration