Delete (Unsubscribe)
The Delete
command lets an administrator unsubscribe a member. You must issue the admin login
command before using the Delete
command.
The syntax for the Delete
command is:
delete listname emailaddress [quiet]
The quiet modifier is optional. The abbreviation del
may be used instead of the word Delete
.
For example:
del jazztalk bob@example.com
By default, the member unsubscribed receive the goodbye message for the list. To suppress this message,
use the quiet
modifier:
delete jazztalk bob@example.com quiet
However, if the Delete
command does not succeed, such as if the email address is not a member,
you (the person submitting the Delete
command) are notified unless the message ends
with end quiet
.
The delete
command does not actually delete
the member from the database. The member is still part of
the list, but is unsubscribed. They do not receive normal postings from the list.
Delete with Member ID
As an alternative to providing an email address, you can use the member id of the member you wish to delete.
For example, if you know member with id 1234 needs to be removed from the list, but you do not know that member's email address, you can use the member id without a problem. An example:
delete jazztalk 1234
You can specify any number of members to delete on the command line.
For example, to delete the users
bob@example.com
and jane@example.com
, you would write:
delete jazztalk bob@example.com jane@example.com
or
delete jazztalk <
bob@example.com
jane@example.com
>
Delete from All Lists
To delete an address from all lists, replace the list name with an asterisk *.
Example:
delete * bob@example.com
You may use this syntax to delete multiple members from all lists on your server:
delete * bob@example.com jane@example.com
or
delete * <
bob@example.com
jane@example.com
>
Delete all members in a List
To unsubscribe all members (except admins) from a list, substitute "all" for the email address.
Example:
delete jazztalk all