Adding To Many Lists
The email 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 | sendconfirm]] emailaddress
The onehello, oneconfirm, and sendconfirm modifiers are optional. You can use either sendconfirm or oneconfirm, but not both.
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@example.com
The above example adds bob@example.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@example.com
The above example adds bob@example.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.
Alternatively, if you use the sendconfirm modifier, the new member will receive a confirmation message for each list you add them to, as long as the list requires confirmation. Thus, in the example above, bob@example.com will receive a separate confirmation message from greenlist, redlist, and bluelist, assuming they are all lists which require confirmation.