Skip to Content.
Sympa Menu

en - RE: [sympa-users] Using robot domain breaks alias manager in sympa 6.1.19?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: David Verdin <address@concealed>, "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Using robot domain breaks alias manager in sympa 6.1.19?
  • Date: Wed, 28 May 2014 08:45:39 +0000

Aha... thanks.  I should have checked deeper into the 6.1.20 updates.

We're using 6.1.19 now, because a mailmerge plugin we have developed relies on 'bug' #10307 (parameters from mail headers may be overwritten by a subpart).  We need to know the MIME-type of the subpart currently being merged as it handles differently if HTML or text.

I've applied the relevant patch to out 6.1.19 and all is now good.

Thanks again -

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
Ph: +64 9 373 7599 ext 86487
 

From: address@concealed [address@concealed] on behalf of David Verdin [address@concealed]
Sent: Wednesday, 28 May 2014 7:11 p.m.
To: address@concealed
Subject: Re: [sympa-users] Using robot domain breaks alias manager in sympa 6.1.19?

Hi Steve,

Yes, this was one of the reasons of the 6.1.20 release... You can read that the bug was fixed in the release notes: https://www.sympa.org/distribution/current/NEWS

The 6.1.20 is the current stable for people installing from the sources and is not packaged in Ubuntu / Debian, so I think there is a small risk for people to install it.

Thanks for sharing this trouble with the list.

Cheers,

David

Le 28/05/14 05:09, Steve Shipway a écrit :

Hi –

 

I have discovered an issue with sympa_newaliases.pl in v6.1.19

 

If I create a list in the default domain then it works; however in robot domains it does not.  Specifying the robot domain with --domain on the command line has the same effect.

 

May 28 13:39:36 lstappprd01 sympa_newaliases[23193]: err Conf::valid_robot() Robot list.auckland.ac.nz  was not loaded by this Sympa process

May 28 13:39:36 lstappprd01 sympa_newaliases[23193]: err robot list.auckland.ac.nz does not exist

May 28 13:39:36 lstappprd01 wwsympa[22485]: err admin::install_aliases() admin::install_aliases : Unable to run newaliases

May 28 13:39:37 lstappprd01 wwsympa[22485]: err [robot list.auckland.ac.nz] [session 49832123177394] [client 130.216.66.3] [user address@concealed] [list sshi052] main::do_create_list() Failed to install list aliases

 

… and the aliases are created but the database is not rebuilt.  Rebuilding the aliases file manually is fine; I can run sympa_newaliases-wrapper and it rebuilds without error.

 

Examining sympa_newaliases it seems that it does not load in any of the robot configs by calling load_robots, and so valid_robot always returns a fail.  This is because load_conf is called with a ‘no_db’ parameter which skips the loading of robots.

 

This seems to be fixed in v6.1.20? and was not an issue in 6.1.14…  anyone upgrading to 6.1.19 who is using multiple robots should be aware of this.

 

Steve

 

Steve Shipway

University of Auckland

UNIX Systems Design Team Lead

address@concealed

+64 (9) 3737 599 ext 86487

 


--
A bug in Sympa? Quick! To the bug tracker!
RENATER logo
 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex






Archive powered by MHonArc 2.6.19+.

Top of Page