[Mimedefang] discarding messages that are sent to addresses with [ or ] characters in them.

Jan Pieter Cornet johnpc at xs4all.nl
Thu Feb 10 17:31:22 EST 2005


On Thu, Feb 10, 2005 at 06:35:08PM +0000, Tom Hodder wrote:
> Hi,
> 
> I have a filter in filter

Your mail looks truncated...

Did you mean something like

    sub filter_recipient {
	my($recipient) = @_;

	### note: untested...
	return("REJECT", "User unknown")
	    if $recipient =~ /\[/ or $recipient =~ /\]/;
	return("CONTINUE", "ok");
    }

-- 
There isn't much space
in a haiku, so it's
hard to finish what



More information about the MIMEDefang mailing list