[Mimedefang] RFC: better virus scanner status reporting?
James Ralston
qralston+ml.mimedefang at andrew.cmu.edu
Wed Aug 13 17:17:02 EDT 2003
On 2003-08-12 at 09:41:14-0400 "David F. Skoll" <dfs at roaringpenguin.com> wrote:
> OK. I need to get MIMEDefang 2.36 out today, for other reasons.
> This improved virus handling will have to wait for 2.37, or for
> consensus, whichever comes first. :-)
That's fine; I didn't intend to try to address these issues in 2.36.
> Your other suggestion (adding a way to control command-line
> arguments for virus-scanning) is a good one, but unfortunately will
> have to wait for 2.37 also.
If you have an idea of how you'd like to see this done, I'd be happy
to implement it.
The first thing I thought of was to use the %Features hash. E.g.:
$Features{'Virus:SOPHOS:args'} = '-f -all -archive -ss $path 2>&1';
$Features{'Virus:SOPHOS:regexp'} = '(>>> Virus)|(Password)|(Could not check)';
[...]
However, it might not be a good idea to encourage people to modify
anything in %Features from within mimedefang-filter.
Perhaps instead:
$Options{'Virus:SOPHOS:args'} = '-f -all -archive -ss $path 2>&1';
$Options{'Virus:SOPHOS:regexp'} = '(>>> Virus)|(Password)|(Could not check)';
[...]
Thoughts?
James
More information about the MIMEDefang
mailing list