[Mimedefang] Dropping email based on specific filename

Stephen Loeckle stephen at lucidnetworks.net
Mon Oct 20 08:54:46 EDT 2003


hehehe I'm not always one for the obvious. Thanks!

Stephen

> Have you read the manual pages? :-)  This is very easy -- practically a
one-liner:
>
> sub filter {
> 	my($entity, $fname, $ext, $type) = @_;
> 	return action_discard() if ($fname eq 'magic-filename.bad');
> }
>
> Regards,
>
> David.



More information about the MIMEDefang mailing list