[Mimedefang] Filtering new Mirosoft virus email ...

Jim McCullars jim at info.uah.edu
Tue Sep 23 22:33:01 EDT 2003


On Wed, 24 Sep 2003, Justin Hennessy wrote:

> Hi All,
>
> I was wondering if someone could tell me how I could DROP an entire email if a certain phrase was in the "subject" of the email.
>
> eg I want to filter any emails that have a subject of this:
>
>        Fwd: Current Net Security Patch

   I think this should work:

sub filter_begin {
  if ($Subject eq "Fwd: Current Net Security Patch") {
    return action_discard
  }
}

   HTH...

Jim






More information about the MIMEDefang mailing list