AEGEE Mailing Lists: How to Add Automatically Subscribers

Here is explained how to write software that adds new subscribers to LISTSERV mailing lists.

Inviting New Subscribers

You can invite somebody to join a mailing list by simulating a request from him to join the mailing list. Just send an email to LISTNAME-L-subscribe-request@lists.aegee.org containing From (as header in the email) : the email address you want to subscribe, including the name of the person (at least two words), and From (as envelope sender) your email address. Then Listserv will think that that person wanted to subscribe to the list and will send him a request to confirum, that he really wants to subscribe. The word "invitation" is not really an invitation.

Adding a Single Address to One or More Lists

To add a single address to one or more list generate an email to listserv@lists.aegee.org using the template:

From: THE-EMAIL-ADDRESS-OF-THE-LISTOWNER
To: listserv@aegee.org
Subject: new subscriber to LISTNAME

ADD LISTNAME EMAIL_ADDRESS_TO_BE_SUBSCRIBED PW=YOUR_PASSWORD_TO_MANAGE_THE_LIST

e.g. to add somebody@aegee.org to AEGEE-L and AEGEE-AGORA-L issue

From: sample@aegee.org
To: listserv@aegee.org
Subject: new subscriber to AEGEE

ADD AEGEE-L somebody@aegee.org PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org
QUIET ADD AEGEE-AGORA-L somebody@aegee.org PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org

If the person shall not be notified about its subscription to the list, but "QUIET" before "ADD". This was done in the subscription above to AEGEE-AGORA-L.

Adding several subscribers to a mailing list with a single email

You can extend the template above to add several email addresses to a mailing list.

From: sample@aegee.org
To: listserv@aegee.org
Subject: new subscribers to AEGEE

QUIET ADD AEGEE-AGORA-L DD=userlist IMPORT PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org
//userlist DD *
Email@address1 Firstname Secondname
Email@address2 Firstname Secondname
Email@address3 Firstname Secondname
/*

Information from LSoft about the bulk operations, and the file format, is available at http://www.lsoft.com/manuals/16.0/htmlhelp/list%20subscribers/LSCommands.html -> List Management Functions .

For questions approach the AEGEE Mail Team.


Written in January 2011 by Дилян Палаузов