[Mailman-Users] Adding and removing *single* users from command line...
alex at phred.org
Mon Feb 19 20:21:29 CET 2001
From: "Satya" <satyap at satya.virtualave.net>
> On Feb 18, 2001 at 13:45, Mike Cisar wrote:
> >Is there a way to add or remove a single user from a list via the
> >line? I've looked at the add_members and remove_members but they
> >require a textfile list of user(s) to add or remove from a list. I'd
> >like to be able to add (or remove) one single user without an
> >step of having to create a textfile containing their email address...
> >"add_member listname email at address.com" "remove_member listname
> >email at address.com"
> From the add_members command line help:
> -n <file>
> A file containing addresses of the members to be added, one
> address per line. This list of people become non-digest
> members. If <file> is `-', read addresses from stdin.
> So you want something like:
> echo "email at example.com"| add_members -n - listname
"remove_members list member at domain.com" works too, even though it isn't
More information about the Mailman-Users