Great Circle Associates Majordomo-Users
(February 1995)
 

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

Subject: Possible ReplyTo Bug?
From: Paul-Joseph de Werk <paul%av2 . vrx . vhi . com @ vhipub . vhi . com>
Date: 28 Feb 1995 13:54:39 -0800
To: majordomo-users.;@vhipub.vhi.com
Read-receipt-to: paul@av2.vrx.vhi.com

I use Majordomo-1.62 on my Linux box at home and have run into a
possible bug.  I retrieved version 1.93 today and looked at the code
there and found the same problem.

The problem is in majordomo.pl the subroutine in question is as
follow:

	sub main'RetMailAddr  ## Public
	{
	    local(*array) = @_;

	    local($ReplyTo) = defined($array{'reply-to'}) ?
	                $array{'reply-to'} : $array{'from'};

	    $ReplyTo = $array{'apparently-from'} unless $ReplyTo;

	    join(", ", &main'ParseAddrs($ReplyTo)) if $ReplyTo;
	    $ReplyTo;
	}

Given a return address as follows:

	From: Paul-Joseph de Werk <pdewerk@mondrian.csufresno.edu>

The above subroutine will return:

	Paul-Joseph de Werk <pdewerk@mondrian.csufresno.edu>

If instead I change to join() line to:

	$ReplyTo = join(", ", &main'ParseAddrs($ReplyTo)) if $ReplyTo;

The subroutine correctly responds with:

	pdewerk@mondrian.csufresno.edu

Any comments on this?


--
 __________________________________________________________________________
[ Paul-Joseph de Werk, B.S. \ RX Net, Inc.                                 ]
[ Systems Analyst II         \ MIS Dept.                                   ]
[                             \ vrx: paul@av2.vrx.vhi.com                  ]
[                              \ inet: paul%av2.vrx.vhi.com@vhipub.vhi.com ]
[_______________________________\__________________________________________]

Indexed By Date Previous: Re: Hello
From: hal9001@panix.com (Robert A. Rosenberg)
Next: [no subject]
From: harryb@mdd.comm.mot.com (Harry Barnett)
Indexed By Thread Previous: Known problem? - NOW with the CORRECT message!
From: eop@encina.vilspa.esa.es
Next: [no subject]
From: harryb@mdd.comm.mot.com (Harry Barnett)

Google
 
Search Internet Search www.greatcircle.com