Skip to Content.
Sympa Menu

en - RE: [sympa-users] SYMPA "from" name

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Philip Crandall <address@concealed>
  • To: "'Simon Taylor'" <address@concealed>, "'Jobst Schmalenbach'" <address@concealed>
  • Cc: "'address@concealed'" <address@concealed>, "'address@concealed'" <address@concealed>
  • Subject: RE: [sympa-users] SYMPA "from" name
  • Date: Fri, 19 Jun 2009 11:40:58 -0500

I agree that it would be nice to have as a variable that exists in
sympa.conf/robot.conf (maybe as 'gecos'). I set this globally by using a
perl command in your /home/sympa/[bin/]etc/mail_tt2/ directory:

> perl -p -i.old -e 's/^From: SYMPA(.*)/From: My Service\1/g' *.tt2

A patch looks fairly straight-forward. You would need to add the
sympa.conf/robot.conf variable to Conf.pm. There is also an edit required to
List.pm in sub send_file (around line 3190) to make the 'gecos' variable
available to the templates. You could then run the same perl script on the
template files, but it would be like:

> perl -p -i.old -e 's/^From: SYMPA(.*)/From: \[% conf.gecos %\]\1/g' *.tt2

Hope that helps. If I get a chance, I'll submit a patch upstream for it.

Cheers,
Philip Crandall
University of Chicago

> -----Original Message-----
> From: Simon Taylor [mailto:address@concealed]
> Sent: Thursday, June 18, 2009 11:21 PM
> To: Jobst Schmalenbach
> Cc: address@concealed; address@concealed
> Subject: Re: [sympa-users] SYMPA "from" name
>
>
> > But if it comes from "Barrett ListServer" (in my case) it would be
> obvious what that means, especially if you entered your email address
> into a subscription box 10 minutes earlier!
> >
> > The 1600 odd people that are subscribed to one of our lists contain
> Managers, sales people, HR and so on and I had a few people having had
> some troubles due to their low knowledge.
>
> We have a similar problem. It would be nice if the name was
> configurable.
>
> Cheers,
>
> Simon Taylor
>
> P.S. Over 40 but a geek ;-)
>





Archive powered by MHonArc 2.6.19+.

Top of Page