[Mimedefang] Help with bouncing e-mails to group of users

Jim McCullars jim at info.uah.edu
Fri Sep 30 12:32:27 EDT 2005



On Fri, 30 Sep 2005, John Rudd wrote:

> if ($recipient =~ /^jdow....\@curtiswright\.com$/) {
>
> (note: you forgot the $/ at the end of the regex)

   If you're going to anchor it like that, then you should account for
the optional angle brackets; e.g.,

	if ($recipient =~ /<?^jdow....\@curtiswright\.comi>?$/i) {

I would also recommend a case-insensitive match.

   HTH...

Jim McCullars
University of Alabama in Huntsville





More information about the MIMEDefang mailing list