Koozali.org: home of the SME Server

spamassassin loading although disabled SME 6.0.1-1

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
spamassassin loading although disabled SME 6.0.1-1
« on: April 19, 2006, 07:57:20 PM »
I note spamassassin starts and runs although we do not have it enabled.
[root@merlin e-smith]# ps -ef |grep spamassassin
root     26768 26347  0 11:32 pts/0    00:00:00 grep spamassassin

Is there a way to remove spamassassin without breaking the server?
I do not know why it is loading.

Offline byte

  • *
  • 2,183
  • +2/-0
spamassassin loading although disabled SME 6.0.1-1
« Reply #1 on: April 19, 2006, 11:57:41 PM »
Is there a link in /etc/rc7.d/S**spamassassin

Where ** is a number, if so you could just delete that link, also to check it really is disabled type...

db configuration show spamassassin
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
Re: spamassassin loading although disabled SME 6.0.1-1
« Reply #2 on: April 20, 2006, 12:07:36 AM »
Quote from: "dilligaf"
I note spamassassin starts and runs although we do not have it enabled.
[root@merlin e-smith]# ps -ef |grep spamassassin
root     26768 26347  0 11:32 pts/0    00:00:00 grep spamassassin


Umm, 2 problems here:

1) The line above isn't showing SA running, it's showing that the grep command has spamassassin in the commandline.  The pts/0 shows that it's being run from an SSH command prompt.

Replace spamassassin with wibble and it would show the same thing:

[root@mailgate root]# ps -ef |grep wibble    
root     21783 21569  0 23:06 pts/0    00:00:00 grep wibble


2) Spamassassin actually runs as spamd - this is mine:

[root@mailgate root]# ps -ef |grep spamd        
root     26898     1  0 Apr16 ?        00:00:00 /usr/bin/spamd -d -c -m5 -H -r /
root     20202 26898  0 Apr16 ?        00:00:26 spamd child
root     20203 26898  0 Apr16 ?        00:00:02 spamd child
root     21623 21569  0 22:59 pts/0    00:00:00 grep spamd
--
Nick......

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: spamassassin loading although disabled SME 6.0.1-1
« Reply #3 on: April 20, 2006, 12:31:59 AM »
Quote from: "NickR"
Quote from: "dilligaf"
I note spamassassin starts and runs although we do not have it enabled.
[root@merlin e-smith]# ps -ef |grep spamassassin
root     26768 26347  0 11:32 pts/0    00:00:00 grep spamassassin


Umm, 2 problems here:

1) The line above isn't showing SA running, it's showing that the grep command has spamassassin in the commandline.  The pts/0 shows that it's being run from an SSH command prompt.

Replace spamassassin with wibble and it would show the same thing:

[root@mailgate root]# ps -ef |grep wibble    
root     21783 21569  0 23:06 pts/0    00:00:00 grep wibble


2) Spamassassin actually runs as spamd - this is mine:

[root@mailgate root]# ps -ef |grep spamd        
root     26898     1  0 Apr16 ?        00:00:00 /usr/bin/spamd -d -c -m5 -H -r /
root     20202 26898  0 Apr16 ?        00:00:26 spamd child
root     20203 26898  0 Apr16 ?        00:00:02 spamd child
root     21623 21569  0 22:59 pts/0    00:00:00 grep spamd

Hi,
I logged into the server that has spamassassin disabled in the server manager, yet shows it loading when you boot.
In /etc/rc7.d is @S85spamassassin, and running
[root@smeserver rc7.d]# /sbin/e-smith/db configuration show spamassassin
spamassassin=service
    status=enabled
So to me, it looks like it is running?

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
spamassassin loading although disabled SME 6.0.1-1
« Reply #4 on: April 20, 2006, 12:39:44 AM »
What is the output of:

# ps -ef |grep spamd
--
Nick......

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
spamassassin loading although disabled SME 6.0.1-1
« Reply #5 on: April 20, 2006, 12:47:50 AM »
Quote from: "NickR"
What is the output of:

# ps -ef |grep spamd

Here you are, I wonder if this is contributing to our OUTLOOK 2003 IMAP timeouts?

[root@smeserver root]# ps -ef |grep spamd
root      2586     1  0 Apr18 ?        00:00:00 /usr/bin/spamd -d -c -m5 -H
root      2662  2586  0 Apr18 ?        00:00:00 spamd child
root      2663  2586  0 Apr18 ?        00:00:00 spamd child
root     24552 24484  0 16:48 pts/1    00:00:00 grep spamd
[root@smeserver root]#

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
spamassassin loading although disabled SME 6.0.1-1
« Reply #6 on: April 20, 2006, 12:55:15 AM »
OK, SA is certainly running.  IME, Outlook 2003 is severly broken unless you have patched it to SP2.  IMAP troubles are unlikely to be caused by SA.

If you want to turn SA off temporarily, do:

# /etc/rc.d/init.d/spamassassin stop
--
Nick......

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
spamassassin loading although disabled SME 6.0.1-1
« Reply #7 on: April 20, 2006, 12:59:36 AM »
Quote from: "NickR"
OK, SA is certainly running.  IME, Outlook 2003 is severly broken unless you have patched it to SP2.  IMAP troubles are unlikely to be caused by SA.

If you want to turn SA off temporarily, do:

# /etc/rc.d/init.d/spamassassin stop

The OS (XP Pro) and the OFFICE 2003 install, have all service packs and updates. Outlook on these pc's works just fine on POP, but times out all day long when on IMAP.
I have changed servers, cards etc. I do not want to use hacks to modify tcp.sys etc, as later service packs and so on change all that and very hard to support a situation like that.

Puzzling is that like I say, even with the SPAMASSASSIN disabled in server manager, it continues to run.
Is there a clean way to uninstall that?
It was not downloaded seperately, it was in the ISO I used.

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
spamassassin loading although disabled SME 6.0.1-1
« Reply #8 on: April 20, 2006, 01:08:17 AM »
# rpm -qa spamass*

will probably give you 1 or 2 rpm's  Just do a:

# rpm -e

on one commandline for all the rpm's & you should be good to go.

I still don't think it's SA :)
--
Nick......

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
spamassassin loading although disabled SME 6.0.1-1
« Reply #9 on: April 20, 2006, 01:12:04 AM »
I presume you've looked at changing values found in:

/etc/e-smith/templates/var/service/imap/runenv

It's worth mentioning that a test change of client (say Thunderbird) for a couple of days would help narrow it down to Outlook or not. I had a wierd one a couple of months back which turned out to be a faulty network switch occasionally booting people of the server.
--
Nick......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: spamassassin loading although disabled SME 6.0.1-1
« Reply #10 on: April 21, 2006, 05:04:02 PM »
Quote from: "dilligaf"
I note spamassassin starts and runs although we do not have it enabled.


Why do you care? It can start, but if it is unused, it will take up very little of your system's resources, and won't have any other effects.