[Mimedefang] virus scanner handling in Example filter

David F. Skoll dfs at roaringpenguin.com
Sun Jul 21 09:51:01 EDT 2002


On Sat, 20 Jul 2002, Martin Bene wrote:

> several problems with this code; let's first look at the possible return
> values. The different interpret_xxx_code functions return:

> I much prefer the following:

>     if ($action eq "tempfail") {
>         return action_tempfail("Internal error in virus scanner, please try
> again later");
>     }
>     $FoundVirus = ($action eq "quarantine");

I agree; I will fix it.

> Oh, and another thing I noticed when compiling the possible return values: in
> interpret_rav_code there's a "tmpfail" action on one line instead of
> "tempfail", should be fixed as well.

Oops; sorry; I fixed that one in CVS.

Regards,

David.




More information about the MIMEDefang mailing list