Adding to Many Lists
The add command may also be used to add members to many lists at once. This is an extension of the regular syntax:
add listname1 [listname2 [listname3 [...]] [onehello][oneconfirm]] emailaddress
The onehello and oneconfirm modifiers are optional.
If you specify the onehello modifier, the new member will receive a single hello document, from the first list listed. This allows you to add a member at once to many lists without
bombarding them with a slew of hello documents. Here is an example:
add jazztalk ticketlist concertgroup onehello bob@somewhere.com
The above example adds bob@somewhere.com to the jazztalk, ticketlist, and concertgroup lists, and only sends the hello document from 'jazztalk'.
If you specify the oneconfirm modifier, the new member will receive a single confirmation request that will act as a confirmation on each list that requires confirmation. Here is an example:
add greenlist redlist bluelist oneconfirm bob@somewhere.com
The above example adds bob@somewhere.com to the greenlist, redlist, and bluelist lists, and sets his type to "confirm". Since greenlist, redlist, and bluelist are set to require
confirmations, a single confirmation will be sent to him, which he can reply to in order to confirm for all three lists.
|