[Mimedefang] Subject query

David F. Skoll dfs at roaringpenguin.com
Wed Apr 3 12:05:11 EST 2002


On Wed, 3 Apr 2002, Rob Dege wrote:

> I noticed that with the default filter example file, that MIMEDefang can be
> configured to filter out attachments.  Is there a way that I can create a
> rule that queries for regex matches in the Subject?

Of course:

if ($Subject =~ /my_regexp_here/) {
	# do something
}

The most logical place for a rule like this is in filter_begin.

--
David.




More information about the MIMEDefang mailing list