Hi List,

I am running:

amavisd -V
amavisd-new-2.6.2 (20081215)

ClamD recently crashed and I found entries in the mailq like the following:

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
78F8763CE01    11253 Fri Feb 13 10:33:28  [email protected]
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
id=29363-02, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED:
ClamAV-clamscan av-scanner FAILED: Not a CODE reference at (eval 87)
line 403, <GEN54> line 65.; ClamAV-clamscan av-scanner FAILED: Not a
CODE reference at (eval 87) line 403, <GEN54> line 65. (in reply to end
of DATA command))
                                         [email protected]

When I reload amavisd, it reports in the maillog:

Feb 13 10:36:38 mail amavis[29477]: Using primary internal av scanner
code for ClamAV-clamd
Feb 13 10:36:38 mail amavis[29477]: Found secondary av scanner
ClamAV-clamscan at /usr/local/bin/clamscan

which is the correct path to clamscan, but amavisd fails when attempting
to scan a message with clamscan.  Here is my secondary scanner entry in
amavisd.conf:

@av_scanners_backup = (

### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
['ClamAV-clamscan', 'clamscan',
  "--stdout --no-summary -r --tempdir=$TEMPBASE {}", [0], [1],
  qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
);

Any ideas on what I might have configured incorrectly?  Any feedback is
greatly appreciated!

Regards,

Bill

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to