Skip to content
Snippets Groups Projects
Commit feaa407a authored by taggart's avatar taggart
Browse files

add unsubscribe script

parent ef08ecb1
Branches
Tags
No related merge requests found
#!/bin/bash
# unsubscribe - removes an address from a list
# NOTE: this script requires the current user has read access to the db
echo "removing $1 from $2:"
# remove all list subscriptions
mysql --batch --database=sympa --execute "delete from subscriber_table where use
r_subscriber='${1}' AND list_subscriber='${2}'"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment