Re: [Mailman-Users] List all members of All lists

2009-11-21 Thread Harold Pritchett

Martin Schütte wrote:

Harold Pritchett wrote:

How do I list all of the members of all of my lists.


Thanks for the ideas.  Here's what I ended up with:

#!/bin/bash

USER=$(/usr/bin/id -un)

if [ $USER != root ] ; then
echo This command must be run as root
exit
fi

if [ $# -ne 1 ]
  then
  echo Usage:
  echo 
  echo delete_domain_from_all_lists addr
  echo 
  echo Options:
  echo 
  echo addr is the domain  address to remove. (required)
  echo 
  exit
fi

cd /usr/lib/mailman/bin

./list_lists -b | while read L
do
./find_member -l ${L} $1 |  \
grep \@ |   \
cut -d   -f 1   \
/tmp/found-mailman
done

sort -u  /tmp/found-mailman  /tmp/found2-mailman
echo The following userids will be deleted from ALL
echo Mailman mailing lists on this server.
echo
cat /tmp/found2-mailman
echo
echo Proper response must be 'Yes (with a capital letter Y)'
echo Anything else and the delete wlil be aborted
echo -n Continue [Yes|No]: 
read response
echo

if [ $response == Yes ]; then
./remove_members --fromall --nouserack -f /tmp/found2-mailman
else
echo Delete aborted...
fi

rm /tmp/found-mailman /tmp/found2-mailman


--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] cannot read moderated posts on iPhone

2009-11-21 Thread Debbie Karimoto
I had previously been able to easily read posts requiring my moderating
attention on my iPhone but recently the sender's message is a
mime-attachment icon on my phone and is not readable at all. The host says
they did not make any changes, Apple says it is not a problem with my phone
yet I still cannot read the posts from my phone. Any ideas? I really must be
able to read these moderated posts from my phone sometimes.

 

Thanks,

 

~Debbie

 

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] List all members of All lists

2009-11-21 Thread Adam McGreggor
On Sat, Nov 21, 2009 at 09:31:53AM -0500, Harold Pritchett wrote:
 Thanks for the ideas.  Here's what I ended up with:
 
 USER=$(/usr/bin/id -un)
 
 if [ $USER != root ] ; then
 echo This command must be run as root

I see no reason to run it as root: it should work with any
user-account where the user's a member of the mailman/list c 
group.

 cat /tmp/found2-mailman

And here I'd use less over cat.

YMMV ;)

a

-- 
``Cabbage-- the opinions of taxi drivers.''
  (new definitions, from `I'm Sorry I Haven't a Clue')
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] cannot read moderated posts on iPhone

2009-11-21 Thread Mark Sapiro
Debbie Karimotowrote:

I had previously been able to easily read posts requiring my moderating
attention on my iPhone but recently the sender's message is a
mime-attachment icon on my phone and is not readable at all. The host says
they did not make any changes, Apple says it is not a problem with my phone
yet I still cannot read the posts from my phone. Any ideas? I really must be
able to read these moderated posts from my phone sometimes.


The admin_immed_notify moderated posts messages are and always have
been a MIME multipart message with 3 sub-parts. The first sub-part is
text/plain and is the notice to the admin about the held message; the
second is a message/rfc822 part containing the held message itself,
and the third is a message/rfc822 part containing the message you can
reply to to discard or, with the addition of an Approved: password
header or line, accept the held message.

My best guess as to what changed is the iPhone mail app.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman current version?

2009-11-21 Thread LuKreme

On Nov 19, 2009, at 12:58, Barry Warsaw ba...@python.org wrote:


or more radically, as a separate project that talks to the API).


Ooo, that sound like a great idea.

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org