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 ]
[_______________________________\__________________________________________]
|
|