[Mimedefang] Virus rules problems

David F. Skoll dfs at roaringpenguin.com
Fri Dec 14 16:55:27 EST 2001

On Fri, 14 Dec 2001, Ashley M. Kirchner wrote:

>     Ok, so I'm using the standard Virus rule that comes with MDefang:

Not quite...

>         return action_drop_with_warning($entity,
>                 "The attachment \"$fname\" contains a known virus.  It
> has been quarantined.\n" .
>                 "Here is the output from the virus
> scanner:\n$VirusScannerMessages");

Nope.  action_drop_with_warning takes only one argument, not two.
Do not include the "$entity" argument; just the message.


More information about the MIMEDefang mailing list