[Mimedefang] Adding X-Virus-Scanned header

Jason Englander jason at englanders.cc
Sun Jan 19 21:17:01 EST 2003


On Sun, 19 Jan 2003, syn uw wrote:

> Now where in mimedefang-filter should I place my
> action_add_header("X-Virus-Scanned", "OK") function ? I currently tryed at

If your filter looks anything like the default one, I'd put it after this
line:

    $FoundVirus = ($category eq "virus");

in filter_begin, looking something like this:

    action_add_header("X-Virus-Scanned", "OK") if ! $FoundVirus;

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list