View Single Post
  #9  
Old 3rd January 2012, 23:00
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 388
Thanks: 28
Thanked 58 Times in 50 Posts
Default

Thanks to this post ( http://www.howtoforge.com/forums/showthread.php?t=44443 ), I realized my error: the change has to be made in /etc/amavis/conf.d/50-user, instead, as this file overrides 15-content_filter_mode.

Code:
# Place your configuration directives here.  They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#

#@bypass_virus_checks_maps = (
#   \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
Don't forget to restart Amavis:

Code:
# service amavis restart
ClamAV can then be disabled at start-up (e.g., by disabling the service on boot) or uninstalled/removed completely.

Case closed.

Last edited by cbj4074; 4th January 2012 at 19:18. Reason: Added restart Amavis step.
Reply With Quote