[Mimedefang] Upgrade to 2.44 questions

Jonas Eckerman jonas_lists at frukt.org
Mon Jul 26 10:20:29 EDT 2004


On Thu, 22 Jul 2004 14:05:31 -0500, Shawn Gendle wrote:

>  How do I now provide graphdefang the needed info to chart viruses
>  now that "entity_contains_virus"
>  is now called in the mimedefang.pl?

"man mimedefang-filter":

--8<--
       The  following  global  variables are set by mimedefang.pl
       and are available for use in your filter.   All  of  these
       variables  are  always  available to filter_begin, filter,
       filter_multipart and filter_end.   In  addition,  some  of
       them  are available in filter_relay, filter_sender or fil-
       ter_recipient.  If this is the  case,  it  will  be  noted
       below.
[...]
       $VirusScannerMessages
              Each time a virus-scanning function is called, mes-
              sages  (if  any) from the virus scanner are accumu-
              lated in this variable.  You can  use  it  in  fil-
              ter_end  to formulate a notification (if you wish.)

       $VirusName
              If a virus-scanning function found  a  virus,  this
              variable  will  hold the virus name (if it could be
              determined.)
--8<--

-- 
Jonas Eckerman, jonas_lists at frukt.org
http://www.fsdb.org/




More information about the MIMEDefang mailing list