Update: My original post was incorrect. Here is the correct procedure: (Works in Debian 5)
edit /etc/amavis/conf.d/50-user
Comment out the following two lines:
Code:
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
Looks like this:
Code:
#@bypass_virus_checks_maps = (
# \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
Restart amavis:
/etc/init.d/amavis restart
Stop clamav:
/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-freshclam stop
Disable clamav from running on system boot:
update-rc.d -f clamav-daemon remove
update-rc.d -f clamav-freshclam remove
Quote:
Original Post:
I'm running Debian 5 and ISPConfig 3. I only have 512mb of ram so I want to disable clamav and free up that memory.
I tried to follow the instructions in this post:
http://www.howtoforge.com/forums/sho...22&postcount=8
Except I used update-rc.d to remove the symbolic links instead of chkconfig.
update-rc.d -f amavis remove
update-rc.d -f clamav-daemon remove
update-rc.d -f clamav-freshclam remove
When I do this my outgoing server stops working. I can connect and send a message, but it never gets delivered. I also noticed that when I reversed the directions and re-enabled clamav, all the emails I tried to send when clamav was disabled were suddenly delivered.
Also, is there a setting in ISPConfig3 to change it from warning you when clamav isn't running? Perhaps that is in the documentation and I should look it up, but I really would like to know how to disable it without fubaring my SMTP server.
|
Recent comments
11 hours 57 min ago
12 hours 2 min ago
17 hours 1 min ago
23 hours 42 min ago
1 day 31 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 18 hours ago