Join/Leave List

Script name: joinleave.asp

 

This script can be used to add and remove people from a list mailbox depending on a message sent to a mailbox.

 

To use it:

  1. To use it create a Robot mailbox (e.g. joinlist)

  2. Go to Mailboxes|joinlist|Options, where LocalDomain is the name of your local domain and joinlist is the name of the robot mailbox.

  3. Enter joinleave.asp?join=1&list=listname&domain=localdomain in the edit field, where listname is the name of the list to add the sender to and localdomain is the name of the local domain containing the list mailbox.

  4. Click the button.

  5. To use it create a Robot mailbox (e.g. leavelist)

  6. Go to Mailboxes|leavelist|Options, where leavelist is the name of the robot mailbox.

  7. Enter joinleave.asp?join=0&list=listname&domain=localdomain in the edit field, where listname is the name of the list to remove the sender from and localdomain is the name of the local domain containing the list mailbox.

  8. Click the button.

 

Now messages sent to the joinlist mailbox will add the sender to the list, and messages sent to leavelist will remove the sender from the list.