[Mimedefang] allowing specific filenames?

cam bcp1 at craqskeep.com
Thu Aug 7 16:06:01 EDT 2003


> How about:
> 
> sub filter ($$$$) {
>     my($entity, $fname, $ext, $type) = @_;
> 
>     return if message_rejected(); # Avoid unnecessary work
> 
> 	return action_accept() if ($fname eq 'blah blah'
>                                    || $fname eq 'blub blub')
>                                   && $Sender eq 'mortage mailer'
>                                   && $RelayAddr eq 'num IP of host';
> 
> ...
> }
> 
> And the same in filter_multipart if applies.
> 
> Bye,
> 


I'd like to thank all who responded to my question :) I like this 
particular idea more (similar to what i was thinking about) than others 
since it's very specific about who/what/where. 


gonna work with this on my test box and see what happens.






More information about the MIMEDefang mailing list