> This is exactly what I would do (if I understtod correctly
> the matcher/mailet behaviour): inside a "HasAttachment"
> matcher, processed by the current spooler thread, I would
> invoke a mailet that: 1) creates a temporary work
> directory with some unique name; 2) copies the attachments
> into that directory; 3) starts the inline scanner on all
> files of that directory; 4) waits synchronously
> (waitFor()) the  result (only this spooler thread would
> wait, isn't it?); 5a) if no firus is found just deletes
> the work directory and that's it (most of the times it
> will be this way); or 5b) if a virus is found ... does
> something - to think about.
> 
> Perhaps all steps from (1) to (5a) should be done in a new
> matcher, and have the mailet just do (5b).
> 
yes, that makes sense - the matcher "InfectedMail", the
mailet "Quarintine" - or something like that.

my earlier focus was on the mailet ....



_______________________
thanks,
alan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to