Ben-Nes Michael <[EMAIL PROTECTED]> wrote:
> I need to be able executing remove_members by other users ( like
> nobody )
Maybe I can give you a trick.
Generate a list of the members who you want to delete from the list
as the "other user" and dump it to a text file which is readable and
writable for Mailman.
Save this script into your Mailman/bin/ dir as delete.sh:
#!/bin/bash
if [ -f /tmp/unwanted_members.txt ]; then
~/bin/remove_members -f /tmp/unwanted_members.txt listname
rm -rf /tmp/unwanted_members.txt
fi
And run this script from the Mailman's crontab entry. Eg. if you
want to syncronize your memberlist every day 5 am:
0 5 * * * /home/mailman/bin/delete.sh
That is all.
Szilard Vizi
-------------
mailto:[EMAIL PROTECTED] UIN:10676592
------------------------------------------------------
Mailman-Users maillist - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users