[Exim] Exiscan failing to scan *any* emails

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Kenyon - David Austin Roses Limited
Data:  
A: Exim users mailing list
Assumpte: [Exim] Exiscan failing to scan *any* emails
Continuing on with my attempt to virus scan email, I am attempting to use
Exiscan. Exiscan does not support Cybersoft's vfind but I have hacked in the
code (I think) to do so. My perl is non-existent so getting this far is quite
an achievement.

Having run a few tests, including stuffing SirCam though, I was concerned that
*no* viruses were being detected. I initially thought it was my poor perl
coding that was preventing vfind from being run, but I've since added in some
debugging lines in order to watch Exiscan's progress. Conclusion: it doesn't
get anywhere near the virus scanning code segment. At all. Ever.

I am running Perl "5.004_04 built for i486-pc-sco3.2v5.0" i.e. SCO Openserver
5.0.x.

The code I added for Vfind is:

# Cybersoft's vfind
if ($scanner =~ /vfind/i) {
$result = system("$scannerex $checkdir/$id-tmp/* --vexit | grep \"VIRUS ID\"
> $checkdir/$id-out 2>&1");

};

To test this better, I set $result to -12345 rather than 0, and then tested
later on, die-ing if $result was -12345 or -1. This code is never run.

When a message is processed, Exiscan on debug mode reports that:

Entering process loop for 15UR7G-0001bs-00
15UR7G-0001bs-00: header read
15UR7G-0001bs-00: delayed, attempting dequeue again
15UR7G-0001bs-00: launching exim dequeue process
15UR7G-0001bs-00: leaving process loop

What's this delayed stuff? Am I misunderstanding what print "..." does? Or
Exiscan for that matter?
--
Mike Kenyon <mike@???> | Tel: +44 (0) 1902 376351
I.T. Manager for David Austin Roses Ltd | Fax: +44 (0) 1902 372142