P wrote:
> Is it possible to do a viruscheck in filter_begin, and then after that
> do ACCEPT_AND_NO_MORE_FILTERING?
No. You need to set a flag in your filter and manually skip all the
rest of the filtering.
Something like:
my $SkipFiltering;
sub filter_begin
{
$SkipFiltering = 0;
# ...
if (some_condition()) {
$SkipFiltering = 1;
}
}
sub filter
{
return if $SkipFiltering;
#...
}
sub filter_end
{
return if $SkipFiltering;
# ...
}
Regards,
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang