Skip to Content.
Sympa Menu

en - Re: [sympa-users] change with include_file?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Mathieu Roquefort <address@concealed>
  • To: Sympa users <address@concealed>
  • Subject: Re: [sympa-users] change with include_file?
  • Date: Tue, 18 Feb 2020 07:27:25 +0000

Hello,

 

We have here the exact same problem since v6.2.52.

 

 


Mathieu Roquefort
Chef de projet internet
Secours populaire français
Tél. : 33 (0)6 07 11 69 01
9/11 rue Froissart - 75140 Paris cedex 03
secourspopulaire.fr

    


 

De : <address@concealed> au nom de Amos <address@concealed>
Répondre à : Amos <address@concealed>
Date : lundi 17 février 2020 à 23:35
À : "address@concealed >> address@concealed" <address@concealed>
Objet : Re: [sympa-users] change with include_file?

 

On Mon, Feb 17, 2020 at 3:23 PM Amos <address@concealed> wrote:

Prior to 6.2.48, the contents of the include_file could be more than just the email address.  I could have something like:

 

email@domain Firstname Lastname

 

and anything after the email address would be considered the displayName.  Now it seems it is no longer doing that. 

 

Amos

 

 

Maybe this is all that's needed?

--- bin/Sympa/DataSource/File.pm._orig  2020-02-17 16:27:05.139543494 -0600
+++ bin/Sympa/DataSource/File.pm        2020-02-17 16:27:27.143689188 -0600
@@ -75,7 +75,7 @@
             $log->syslog('err', 'Skip badly formed line: "%s"', $line);
             next;
         }
-        my ($email, $gecos) = ($1, $2);
+        my ($email, $gecos) = ($1, $4);
         $gecos =~ s/\s+\z// if defined $gecos;
         $found++;
 
 

 

 




Archive powered by MHonArc 2.6.19+.

Top of Page