Great Circle Associates Majordomo-Users
(May 1994)
 

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

Subject: Re: bug in 1.90 with mungedomain=yes
From: "John P. Rouillard" <rouilj @ terminus . cs . umb . edu>
Date: Tue, 17 May 1994 17:07:37 -0400
To: pdc @ lunch . asd . sgi . com (Paul Close)
Cc: majordomo-workers @ greatcircle . com, majordomo-users @ greatcircle . com
In-reply-to: Your message of "Tue, 17 May 1994 13:30:52 PDT." <9405172030.AA03175@lunch.asd.sgi.com>


In message <9405172030.AA03175@lunch.asd.sgi.com>, Paul Close writes:
> Sorry I didn't find this sooner.  If you turn on mungedomain, addresses with
> no '@' will always fail in addr_match.  The code in question is below:
> [...]
> The problem is, if addr1 has no '@' character, $#addr1 will not == 1, and
> thus addr_match will fail.  I would suggest changing the first line to:
> 
> # see if non-matching addresses are foo@baz.bax.edu, foo@bax.edu
> if ($partial == 2 && $a1[0] ne $a2[0]) {

Got it. I put it into the 1.91 working tree.

				-- John
John Rouillard

Special Projects Volunteer	University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred)	Boston, MA, (617) 287-6480
==============================================================================
My employers don't acknowledge my existence much less my opinions.


References:
Indexed By Date Previous: bug in 1.90 with mungedomain=yes
From: pdc@lunch.asd.sgi.com (Paul Close)
Next: Re: Can some hostile addresses be parsed?
From: "John P. Rouillard" <rouilj@terminus.cs.umb.edu>
Indexed By Thread Previous: bug in 1.90 with mungedomain=yes
From: pdc@lunch.asd.sgi.com (Paul Close)
Next: Linux - anything odd?
From: Gary Day <gday@hp.k12.ar.us>

Google
 
Search Internet Search www.greatcircle.com