majordomo woes after perl upgrade

Invader Zim

Verified User
Joined
Sep 4, 2004
Messages
188
Last weekend we did a severy needed upgrade of perl from 5.10 to 5.16. Now majordomo is throwing errors:

Code:
  pipe to |/etc/virtual/majordomo/wrapper resend -C /etc/virtual/<domain>/majordomo/majordomo.cf -l <listname> -h <domainname> -f owner-<listname> <emailaddress>
    generated by <emailaddress>
    local delivery failed

The following text was generated during the delivery attempt:

------ pipe to |/etc/virtual/majordomo/wrapper resend -C /etc/virtual/<domainname>/majordomo/majordomo.cf -l <listname> -h <domainname> -f owner-<lsitname> <emailaddress>
       generated by <emailaddress> ------

Can't locate getopts.pl in @INC (@INC contains: /usr/local/lib/perl5/5.16.2/BSDPAN /usr/local/lib/perl5/site_perl/5.16.2/mach /usr/local/lib/perl5/site_perl/5.16.2 /usr/local/lib/perl5/5.16.2/mach /usr/local/lib/perl5/5.16.2 .) at /etc/virtual/majordomo/resend line 74.

Since getopts.pl doesn't exist in perl 5.16 anymore we changed all instances of require "getopts.pl"; to use Getopt::Std;, to no avail, since the wrapper, as it turns out, is a binary and not a script.

So I make a symlink from /usr/local/lib/perl5/5.10.1/getopts.pl to /usr/local/lib/perl5/5.16.2/getopts.pl

Now majordomo says the following:

Code:
Use of assignment to $[ is deprecated at /usr/local/lib/perl5/5.16.2/getopts.pl line 19.
Can't locate ctime.pl in @INC (@INC contains: /etc/virtual/majordomo /usr/local/lib/perl5/5.16.2/BSDPAN /usr/local/lib/perl5/site_perl/5.16.2/mach /usr/local/lib/perl5/site_perl/5.16.2 /usr/local/lib/perl5/5.16.2/mach /usr/local/lib/perl5/5.16.2 .) at /etc/virtual/majordomo/resend line 96.

Does anyone have any bright ideas as to the solution? I'd have to have to downgrade perl. :(
 
We installed Perl4::CoreLibs (http://search.cpan.org/perldoc?Perl4::CoreLibs) which restores a number of gone libraries. Majordomo seems to be working again, except for this situation:

Our client uses the 'Restrict Post' field to limit the people able to send anything to the mailing list. Only members of the mailing list listed in 'Restrict Post' may post to the mailing list. He's been using this for many years now. However, the mail is accepted but no mails are sent off to the subscribers since the perl update and installation of Perl4::CoreLibs.

edit: We do see errors in exim's mainlog:

Code:
2013-04-09 21:35:44 cwd=/data/var/spool/exim 3 args: /usr/sbin/exim -Mc 1UPeKV-00088L-U0
2013-04-09 21:35:44 cwd=/etc/virtual/majordomo 5 args: /usr/sbin/sendmail -oi -oee -fowner-<mailing list> -t
2013-04-09 21:35:44 cwd=/data/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1UPeKW-00088Y-9q
2013-04-09 21:35:44 1UPeKW-00088b-AF <= <> R=1UPeKW-00088Y-9q U=mail P=local S=916 T="Mail failure - no recipient addresses" from <> for owner-<mailing list>

No bounces though.
 
Last edited:
Hello,

Googling around, I found similar issues with majordomo after Perl upgrades, eg:
http://henrysnotes.org/?p=448
http://forum.directadmin.com/showthread.php?t=41870


If no new releases of majordomo come out to keep up with the newer versions of Perl, we might need to put MailMan higher up the priority list for implementation (it's actually partially done, but keeps getting pushed for higher priority items)

John
 
It doesn't look promising on the majordomo part, since it hasn't been updated since January 19th, 2000. Not exactly keeping up to date.

I for one would like to see MailMan.
 
Back
Top