Great Circle Associates Majordomo-Workers
(November 2002)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Reg. Exp in address matching
From: "Joe R. Jah" <jjah @ sol . ccsf . cc . ca . us>
Date: Wed, 6 Nov 2002 13:10:38 -0800 (PST)
To: Luis Michelena <uylug @ fmed . edu . uy>
Cc: <majordomo-workers @ greatcircle . com>
In-reply-to: <200211062315.UAA23413@minerva.fmed.edu.uy>

On Wed, 6 Nov 2002, Luis Michelena wrote:

> Date: Wed, 6 Nov 2002 17:12:49 -0300
> From: Luis Michelena <uylug@fmed.edu.uy>
> To: majordomo-workers@greatcircle.com
> Subject: Reg. Exp in address matching
>
>
> Reading in Majordomo help (on the list's owner doc) found that using regexp
> was posible for some matchings, but when I tried to put a rule to let
> everybody in a domain post to a list, it didn't work, then i found reading
> the majordomo.pl file, on line 188 (in the definition of addr_match) the line
> that follows:
> return($a1[0] eq $a2[0]);
>
> so it doesn't let use regexp in address matching, I was thinking that colud
> be better to use:
> return($a1[0] =~ /^$a2[0]$/);
>
> Have made some test, and it seems to work fine, but I would like to know if
> there is some problem in changing this (like security fouls or mal function
> in some rare cases)
> These test were made in majordomo-1.94.5.
> Thank you for reading this lines, and please forgive my lousy english but is
> not my mother tongue.

You may want to use this patch:

 ftp://ftp.ccsf.org/majordomo-patches/1.94.5/restrict2domain.0

Please read the patch for more information.

Regards,

Joe
-- 
     _/   _/_/_/       _/            ____________    __o
     _/   _/   _/      _/       ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                   ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah       jjah@sol.ccsf.cc.ca.us



Follow-Ups:
References:
Indexed By Date Previous: Reg. Exp in address matching
From: Luis Michelena <uylug@fmed.edu.uy>
Next: Re: Reg. Exp in address matching
From: Luis Michelena <uylug@fmed.edu.uy>
Indexed By Thread Previous: Reg. Exp in address matching
From: Luis Michelena <uylug@fmed.edu.uy>
Next: Re: Reg. Exp in address matching
From: Luis Michelena <uylug@fmed.edu.uy>

Google
 
Search Internet Search www.greatcircle.com