Skip to Content.
Sympa Menu

en - Re: [sympa-users] How to subscribe a user to multiple mailing lists?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] How to subscribe a user to multiple mailing lists?
  • Date: Tue, 10 Apr 2018 10:16:07 +0200

Greetings,

Yes, you can. It's the import command of sympa.pl (see: https://sympa-community.github.io/manual/man/sympa.1.html) :

  • --import=list@dom

    Import subscribers in the list. Data are read from standard input. The imported data should contain one entry per line : the first field is an email address, the second (optional) field is the free form name. Fields are spaces-separated.

    Sample:

      ## Data to be imported
      ## email        gecos
      address@concealed           John - accountant
      address@concealed     Mary - secretary
    

However, if you want to do this in order to migrate from mailman to sympa, I would recommend using the upgrade scripts:

https://www.sympa.org/contribs/migration_and_archives/index#mailman2sympa

Regards,

David


On 10/04/2018 04:05, Mark London wrote:
Hi - I'm trying to convert from mailman to sympa.  Is there a way to add a user to a mailing list, from the command line?

Mailman has a script that allows me to subscribe a user to a mailing list, from the command line.

I use this feature, in order to easily add a user to multiple mailing lists, without having to use the web interface.

Is there a similar feature in sympa?   Or would I need to create an email, sent from the list owner's email address, with an "ADD" command for each mailing list?

Thanks. - Mark

-- 
"Mieux vaut viser la perfection et la rater que viser la médiocrité et l'atteindre."
- Francis Blanche

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page