Re: problems with new perl???

"Benn Boulton" <[email protected]> Sat, 16 Mar 2013 08:02:34 -0400
Newsgroups gmane.mail.majordomo.general
Message-ID <001901ce223e$3dca54f0$4401000a@HP6320>
Rick,
One possibility to get you up and running again

you could install an older version of perl and run it from a separate 
directory.

I have done this in a pinch when things stop working due to an upgrade.
for example get 5.8.? and build.compile/make it in a different directory and 
create a link to the executable named perl58 in /usr/bin or whatever you 
want.

then change the majordomo scripts call to perl to perl58 (#!/usr/bin/perl58 
for example)

Just an idea that may help, not trying to start a battle on the 
merits/pitfalls.

Benn

----- Original Message ----- 
From: "Rick Green" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 14, 2013 4:49 PM
Subject: problems with new perl???


We recently had our server die, and are in the process of building and
configuring a replacement.  I've been pulling my hair out trying to get
majordomo working.  It has been working fine for me for years on several
generations of old machines...

Our most recent installation was on Ubuntu 9.04 with Postfix and majordomo
1.94.5.  This new machine is being built with Ubuntu 12.04, postfix, and
majordomo 1.94.5.

I've got past all the normal install, permissions, and alias issues, and
have tracked it down to a perl issue in ParseAddrs in majordomo.pl.  This
routine is supposed to be stripping all the comments off of an email
address.  It doesn't seem to be doing anything.

I turned on debugging, and added another debug statement to the addr_match
routine, so I've got a snapshot before and after ParseAddrs is called:

addr_match: enter
addr_match: comparing Rick Green <[email protected]> against Richard Green 
<[email protected]>
addr_match: comparing rick green <[email protected]> against richard green 
<[email protected]>

...all that seems to be happening is the first regexp, which is actually
in addr_match.  None of the actual stripping that is supposed to happen in
ParseAddrs is being done.

I don't believe any changes have been made to majordomo in the past few
years, so I'm suspecting a change in the perl interpreter.  I'm seeing
several warning messages in other places about 'deprecated usage'...

The perl package installed on the new system is: 5.14.2-6ubuntu2.2

Any thoughts on that version of perl breaking majordomo code?

-- 
Rick Green

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
                                   -Benjamin Franklin

"As for our common defense, we reject as false the choice between our
safety and our ideals."
                                -President Barack Obama 20 Jan 2009