View Single Post
  #13  
Old 8th January 2013, 16:46
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

Thank you for the fast response, Till. I really appreciate it.

On the first page of this thread, I describe how I tried exactly what you suggested when I ran into this on a different server last year. It didn't work for me last year, and it didn't work this time.

When I comment-out the lines you suggested, the message changes slightly from being ClamAV-specific to being more generic:

Code:
Jan  8 07:37:07 example amavis[13387]: (13387-01) (!!)WARN: all primary virus scanners failed, considering backups
Jan  8 07:37:07 example amavis[13387]: (13387-01) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: NO VIRUS SCANNERS AVAILABLE
Jan  8 07:37:07 example amavis[13387]: (13387-01) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20130108T073707-13387
Jan  8 07:37:07 example postfix/smtp[13346]: 37B276A3001A: to=<user@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.1, delays=0.01/0/0.01/0.08, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=13387-01, virus_scan FAILED: AV: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
So, now Amavis is saying that no virus scanner is available (as opposed to saying that ClamAV is not available). Again, I don't understand why Amavis cares if no virus scanner is available when I have intentionally disabled all virus scanning (at least, that was my intention).

Furthermore, shouldn't one be able to disable all virus scanning simply by adjusting those two lines in /etc/amavis/conf.d/50-user? Isn't that the point of @bypass_virus_checks_maps? It seems much less ideal to comment-out the actual ClamAV code in 15-av_scanners.

On that note, it is not clear whether @bypass_virus_checks_maps should be commented or un-commented to disable all virus scanning. Of course, this is again something that I discussed in this thread last year, and I thought I had made this determination, but now I am not so sure.

Thanks again for any help; this is frustrating.
Reply With Quote