#1  
Old 21st May 2007, 15:59
itwillcome itwillcome is offline
Junior Member
 
Join Date: Feb 2007
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default How to disable clamAV globally?

Dear all,

Both SpamAssassin and ClamAV are taking too much resources in my server (Fedora FC6), I want to disable them.

SpamAssassin is running in daemon mode, which can be disabled by a chkconfig command.

But I don't know how to disable ClamScan.
Any help on this? Thanks a lot.
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2007, 16:20
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

You can comment out or remove the lines in the procmailrc.master file in /root/ispconfig/isp/conf/

Every new or updated user will use the new configuration.

By the way, ISPConfig does not use the spamd from your operating system. If you want to deactivate spam scanning, you will have to disable it in the procmailrc.master too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st May 2007, 16:42
itwillcome itwillcome is offline
Junior Member
 
Join Date: Feb 2007
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up

Thank you for quick reply!! A+++
Reply With Quote
  #4  
Old 30th May 2007, 14:45
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Ok, but how can we get all existing accounts changed at once. Only changing the db data doesn't do the trick as ISPConfig doesn't seem to rewrite the config periodically (as Confixx does). Any timestamp I have to edit or a script to call?

Last edited by AlArenal; 30th May 2007 at 14:49.
Reply With Quote
  #5  
Old 30th May 2007, 14:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Execute the following statement in the ispconfig database:

update isp_isp_user set status = 'u' where status = '';

then change one user in the interface and click save. Now all records will be updated.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 30th May 2007, 15:09
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

That's it! Great!

Tank you
Reply With Quote
  #7  
Old 31st May 2008, 08:45
EvdM EvdM is offline
Junior Member
 
Join Date: Feb 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Execute the following statement in the ispconfig database:

update isp_isp_user set status = 'u' where status = '';

then change one user in the interface and click save. Now all records will be updated.
Is there any way to do this from the command prompt rather than from phpmyadmin? My system is currently choaking under the clamav load to an extent that I can no longer access the web interface. In fact, shell is difficult too.
I had disabled clamav previously, but for some reason (upgrade probably) it kicked back in and is killing my system right now.

Thanks a lot!
Reply With Quote
  #8  
Old 31st May 2008, 10:38
tal56 tal56 is offline
Member
 
Join Date: Oct 2007
Posts: 91
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Since this has been brought up, I'm just wondering can't disabling spam/antivirus be disabled from the "management - settings" tab within Ispconfig?

I mean when I uncheck the spamfilter from the "management - setting - email" tab, it does not give users the option of setting up antivirus or spamfilter. Is this enough to disable spam/antivirus usage, or should we do what Till posted to actually disable the features if we dont want to use them?

Also does Till's change come back after a upgrade of ispconfig? So we'd have to remember to do this each time we upgrade?

Thanks
Reply With Quote
  #9  
Old 31st May 2008, 12:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Quote:
I mean when I uncheck the spamfilter from the "management - setting - email" tab, it does not give users the option of setting up antivirus or spamfilter. Is this enough to disable spam/antivirus usage, or should we do what Till posted to actually disable the features if we dont want to use them?
management - setting - email disables just the option field. If clamav is already enabled for a account, it will stay enabled if you do not disable it sa I described above.

Quote:
Also does Till's change come back after a upgrade of ispconfig? So we'd have to remember to do this each time we upgrade?
This is not changed by updates.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 31st May 2008, 17:37
tal56 tal56 is offline
Member
 
Join Date: Oct 2007
Posts: 91
Thanks: 11
Thanked 2 Times in 2 Posts
 
Default

Sounds good Till. So as long as no one has turned it on yet, then I guess just turning off the option in management-settings-email should be enough. Thanks again.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV update to 0.90 made easy? rbartz Tips/Tricks/Mods 35 10th April 2008 12:11
file uploads with mod-security & clamav tsmaudio Technical 12 2nd February 2007 15:13
clamav install PortMan HOWTO-Related Questions 1 28th September 2006 22:58
Clamav starting error scherpenzeel Installation/Configuration 3 19th May 2006 15:01
ClamAV for postfix-courier-mysql (Debian - Sarge) toastmaster HOWTO-Related Questions 2 24th February 2006 20:00


All times are GMT +2. The time now is 10:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.