Re: [Mailman-Users] Fwd: Re: How to allow Poster to change default reply to from the list to the poster

2011-01-06 Thread Stephen J. Turnbull
Jason Bilbrey writes:
 > The other idea I had was to create a 2nd mailing list with the exact same
 > members and changing the reply for the 2nd list to go to the poster.  That
 > makes it easy for the poster...  Just wish I could automatically sync to the
 > two lists without having to manually add/remove people to the 2nd "mirrored"
 > list...

Don't add members, add lists.

Ie, the only member of the "reply to me" list is the discussion/
announcments list.  I don't think "Poster" is appropriate here; you
should set the reply-to explicitly to the quizmaster's address.  If
you have multiple quizmasters, you can have a separate owner password
for that list only, and give it to the quizmasters so that they can
reset the reply-to to their own address immediately before posting.

There may be additional configuration you want to do, to make it look
as though the quiz list is the same as the original, or maybe you
don't.

HTH
--
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] globally unbouncing a group of subscribers.

2011-01-06 Thread Mark Sapiro



"Michael Capelle"  wrote:

>Hello there.
>I own a few lists, and we are having bouncing issues.  How do I
>globally 
>unbounce people, without going in and individually unboun cing them?
>thanks.
>mike


See http://www.msapiro.net/scripts/reset_bounce.py


-- 
Mark Sapiro - m...@msapiro.net

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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] globally unbouncing a group of subscribers.

2011-01-06 Thread Michael Capelle

Hello there.
I own a few lists, and we are having bouncing issues.  How do I globally 
unbounce people, without going in and individually unboun cing them?

thanks.
mike

--
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] Fwd: Re: How to allow Poster to change default reply to from the list to the poster

2011-01-06 Thread Jason Bilbrey
The other idea I had was to create a 2nd mailing list with the exact same
members and changing the reply for the 2nd list to go to the poster.  That
makes it easy for the poster...  Just wish I could automatically sync to the
two lists without having to manually add/remove people to the 2nd "mirrored"
list...

I still think the nicest idea would be the "listn...@domain.com" and allow
adding a "-replytome" tag...for example: "listname-replyt...@domain.com".
 Simple, don't have to manage multiple lists and has the desired effect.
 There could be a checkbox in the config that allows the list admin to
allow/disallow the "-replytome" tag...

Anyway, thanks for all the various ideas.  I appreciate everyone's
suggestions!

Jason



On Thu, Jan 6, 2011 at 5:49 PM, Mark Sapiro  wrote:

> Ironically, or perhaps appropriately, I fumbled the addressing of this
> reply.
>
>
>
>
>  Original Message 
> Subject: Re: [Mailman-Users] How to allow Poster to change default reply to
> from the list to the poster
> From: "Mark Sapiro" 
> To: "Richard Damon" 
> CC:
>
>
>
> "Richard Damon"  wrote:
> >
> >I see two possibilities.
> >
> >One is to change the settings so while you continue to add the reply
> >to list header, you do not strip it out if present. Then the quizzer
> >can add the reply to header and the list will leave that, but
> >otherwise replies go to the list  ... unless someone has their email
> >program setup to add the reply to header to their mail, then replies
> >to their messages will not automatically go to the list.
>
>
> This won't work in this context. The list address will just be added to the
> posters reply to and reply will go to both addresses.
>
>
> >A second solution is to have the quizzer add a token like [Quiz] to
> >these messages, and set the list to automatically hold all messages
> >with this token. You then accept the quiz, but reject the improperly
> >sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding
> >the Quiz up, but this assumes that everyone who messes up where to
> >send the replies has their program properly set up to add the Re:
>
>
> Good idea.
>
>
> --
> Mark Sapiro - m...@msapiro.net
>
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> --
> 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/jason%40bilbrey.me
>
--
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] Fwd: Re: How to allow Poster to change default reply to from the list to the poster

2011-01-06 Thread Mark Sapiro
Ironically, or perhaps appropriately, I fumbled the addressing of this reply.




 Original Message 
Subject: Re: [Mailman-Users] How to allow Poster to change default reply to 
from the list to the poster
From: "Mark Sapiro" 
To: "Richard Damon" 
CC: 



"Richard Damon"  wrote:
>
>I see two possibilities.
>
>One is to change the settings so while you continue to add the reply
>to list header, you do not strip it out if present. Then the quizzer
>can add the reply to header and the list will leave that, but
>otherwise replies go to the list  ... unless someone has their email
>program setup to add the reply to header to their mail, then replies
>to their messages will not automatically go to the list.


This won't work in this context. The list address will just be added to the 
posters reply to and reply will go to both addresses.


>A second solution is to have the quizzer add a token like [Quiz] to
>these messages, and set the list to automatically hold all messages
>with this token. You then accept the quiz, but reject the improperly
>sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding
>the Quiz up, but this assumes that everyone who messes up where to
>send the replies has their program properly set up to add the Re:


Good idea.


-- 
Mark Sapiro - m...@msapiro.net

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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] Subscriber Counts - daily report

2011-01-06 Thread Adam McGreggor
On Thu, Jan 06, 2011 at 03:11:33PM -0500, Drew Tenenholz wrote:

> In our majordomo (yikes!) system, someone created some PERL and a

*cough*


http://perldoc.perl.org/perlfaq1.html#What%27s-the-difference-between-%22perl%22-and-%22Perl%22%3f

> cron to send a daily message to the list admins (and other interested
> parties) about the number of subscribers to individual lists and a
> de-duped total number of subscribers with columns for yesterday's
> total, today's total, difference, %change, and list name.  Is anyone
> doing something similar in Mailman/Python?  Are you willing to share
> your code?

My cobbled together ones (and some other Mailman bits, I've still not
put all my bin-dirs in one place...) are at

http://code.amyl.org.uk/adam/mailman-scripts/debian/
(warning, that's my own box, so waits until others are fixed,
usually; if unavailable, try again a bit later on.)

probably most useful (if, indeed, useful at all) are:
list-members-count
list-stats
mailman-subs-count
mlist-stats

They do the jobs I wrote them for ;)

Each does something slightly different, and there are almost certainly
more elegant ways to do things. Most should just need changes to the
variables to Just Work For You.

Patches welcome...

-- 
"Youth cannot know how age thinks and feels. But old men are guilty if
 they forget what it was to be young" 
-- Ch37, Order of the Phoenix, JK Rowling
--
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] exclude lists question

2011-01-06 Thread Mark Prewitt
Thanks.. Somehow I must have missed that not to mutually exclude note.
I'll read the email and thread for more information.


Mark


Mark Prewitt
Director of IT
M: 503.984.9700

Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin | 
Dallas | Houston | Chicago

NOTICE: This communication may contain privileged or confidential information 
and is protected from disclosure. If you have received this email in error, 
please delete this message and any attachments without replying, copying, or 
disclosing the contents and if possible inform the sender of the error. Thank 
you.


-Original Message-
From: Bill Cole [mailto:mailmanu-20100...@billmail.scconsult.com] 
Sent: Thursday, January 06, 2011 12:19 PM
To: mailman-users@python.org
Subject: Re: [Mailman-Users] exclude lists question

Mark Prewitt wrote, On 1/6/11 1:54 PM:
> Good Day,
>   I have two lists that have essentially the same members except for one
> person.  Unfortunately, they are client facing lists and we have different
> clients using them so we cannot combine them or eliminate one which would
> make this so much easier.
>
> List a has 5 people on it
> List b has 6 people on it
>
> When we send an email to lista&  listb  many of the people get 2 emails, so
> we put listb in the lista exclude list and lista in the listb exclude list.
> What happened then was surprising, no one got any emails, even the non-duped
> people (as far as I have been able to tell anyway).

This is as documented in the web interface's "details" page for 
regular_exclude_lists:

 Do not specify this list address mutually in the exclude list
 configuration page of the other list, or members of both lists
 won't get any message.

> Anyone have an idea why this would happen and how to resolve it?

This has been raised here before and answered, e.g. the second half of my 
long message at 
http://www.mail-archive.com/mailman-users@python.org/msg57524.html

The setup I described there works, i.e. my regular_exclude_lists settings 
for 4 siblings is like this:

list4: list1, list2, list3
list3: list1, list2
list2: list1
list1: (empty)


This assures that no list excludes a sibling list that excludes it in return.


--
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] Subscriber Counts - daily report

2011-01-06 Thread Brad Knowles
On Jan 6, 2011, at 2:11 PM, Drew Tenenholz wrote:

> In our majordomo (yikes!) system, someone created some PERL and a cron to 
> send a daily message to the list admins (and other interested parties) about 
> the number of subscribers to individual lists and a de-duped total number of 
> subscribers with columns for yesterday's total, today's total, difference, 
> %change, and list name.  Is anyone doing something similar in Mailman/Python? 
>  Are you willing to share your code?

There is a script I created called "mmdsr" which lives in the /contrib section 
of the more recent releases of Mailman.  Mark Sapiro has taken over maintenance 
of that script, so please feel free to feed any changes back to him and he can 
get them into the next release.

--
Brad Knowles 
LinkedIn Profile: 

--
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] How to allow Poster to change default reply to from the list to the poster

2011-01-06 Thread Richard Damon
On Wed, 5 Jan 2011 15:51:28 -0600, Jason Bilbrey 
wrote:

>I have a mailing list and the default if a recipient chooses reply or
>reply-to-all in their mail client is for the reply to go to the list.  (This
>is great for 99.9% of the time and exactly what I want).  However in certain
>situations I’d like to be able to send to the list but change the default
>behavior when someone chooses reply or reply-to-all to reply only to the
>original poster.
>
>
>
>Is that possible?
>

I see two possibilities.

One is to change the settings so while you continue to add the reply
to list header, you do not strip it out if present. Then the quizzer
can add the reply to header and the list will leave that, but
otherwise replies go to the list  ... unless someone has their email
program setup to add the reply to header to their mail, then replies
to their messages will not automatically go to the list.

A second solution is to have the quizzer add a token like [Quiz] to
these messages, and set the list to automatically hold all messages
with this token. You then accept the quiz, but reject the improperly
sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding
the Quiz up, but this assumes that everyone who messes up where to
send the replies has their program properly set up to add the Re:

Richard Damon
--
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] Subscriber Counts - daily report

2011-01-06 Thread Drew Tenenholz
All --

In our majordomo (yikes!) system, someone created some PERL and a cron to send 
a daily message to the list admins (and other interested parties) about the 
number of subscribers to individual lists and a de-duped total number of 
subscribers with columns for yesterday's total, today's total, difference, 
%change, and list name.  Is anyone doing something similar in Mailman/Python?  
Are you willing to share your code?

Thanks,
Drew Tenenholz
--
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] exclude lists question

2011-01-06 Thread Bill Cole

Mark Prewitt wrote, On 1/6/11 1:54 PM:

Good Day,
  I have two lists that have essentially the same members except for one
person.  Unfortunately, they are client facing lists and we have different
clients using them so we cannot combine them or eliminate one which would
make this so much easier.

List a has 5 people on it
List b has 6 people on it

When we send an email to lista&  listb  many of the people get 2 emails, so
we put listb in the lista exclude list and lista in the listb exclude list.
What happened then was surprising, no one got any emails, even the non-duped
people (as far as I have been able to tell anyway).


This is as documented in the web interface's "details" page for 
regular_exclude_lists:


Do not specify this list address mutually in the exclude list
configuration page of the other list, or members of both lists
won't get any message.


Anyone have an idea why this would happen and how to resolve it?


This has been raised here before and answered, e.g. the second half of my 
long message at 
http://www.mail-archive.com/mailman-users@python.org/msg57524.html


The setup I described there works, i.e. my regular_exclude_lists settings 
for 4 siblings is like this:


list4: list1, list2, list3
list3: list1, list2
list2: list1
list1: (empty)


This assures that no list excludes a sibling list that excludes it in return.
--
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] exclude lists question

2011-01-06 Thread Mark Prewitt
Good Day,
 I have two lists that have essentially the same members except for one
person.  Unfortunately, they are client facing lists and we have different
clients using them so we cannot combine them or eliminate one which would
make this so much easier.

List a has 5 people on it
List b has 6 people on it

When we send an email to lista & listb  many of the people get 2 emails, so
we put listb in the lista exclude list and lista in the listb exclude list.
What happened then was surprising, no one got any emails, even the non-duped
people (as far as I have been able to tell anyway).

Anyone have an idea why this would happen and how to resolve it?
I also have the opposite happening where the same setup with listc & listd
and even though both are on each others' exclude lists, people are still
getting 2 emails. I suspect this is a forward rule doing this as not
everyone is getting duplicates, only some.  Any help figuring this out would
be greatly appreciated as well.


We have about 170 lists on the server and are running a stock 2.1.13 version
except the exclude list patch that is posted.

Thoughts?
 (oh! It's on an Apple Xserve running 10.6.x)

Mark


Mark Prewitt
Director of IT
M: 503.984.9700
O: 206.521.8717
TERIS.com   

Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin |
Dallas | Houston | Chicago

TERIS 
  Built on Experience
  Powered by Technology

NOTICE: This communication may contain privileged or confidential
information and is protected from disclosure. If you have received this
email in error, please delete this message and any attachments without
replying, copying, or disclosing the contents and if possible inform the
sender of the error. Thank you.


--
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] How to allow Poster to change default reply to fromthe list to the poster

2011-01-06 Thread Mark Sapiro
Jason Bilbrey wrote:

>I have a mailing list and the default if a recipient chooses reply or
>reply-to-all in their mail client is for the reply to go to the list.  (This
>is great for 99.9% of the time and exactly what I want).  However in certain
>situations I'd like to be able to send to the list but change the default
>behavior when someone chooses reply or reply-to-all to reply only to the
>original poster.
>
>
>
>Is that possible?


Probably not in the way you envision.


>Let give you an exact example to clear it up.  I have a mailing list for
>trivia enthusiasts and generally speaking I want people to be able to
>discuss topics and everyone on the list to see the replies.  Everyone once
>in a while a person on the list makes up a trivia quiz and they want users
>to reply with the answers only to the creator of the quiz...  Inevitably
>everyone once in a while someone clicks "reply" and replies with their
>answers to the list instead of manually typing in the quiz creator's actual
>email address.
>
>
>
>Is there a way that the quiz creator/poster (a member of the mailing list)
>could send certain messages that alters the reply-to address from the
>default of replying to the list, to reply to them directly instead?


This is a problem of user education and there is no good solution in
Mailman. As I see it you have two choices, neither of which will do
what you want.

One choice is to not mung reply-to at all. I.e. set
first_strip_reply_to No and reply_goes_to_list to Poster. Then users
need to reply-all or otherwise include the list in replies that should
go to the list, or posters could include a Reply-To: header with the
list address in every post whose replies should be on the list.
Repliers would need to do this too. Obviously, your users have already
proven that they cannot reliably address their mail appropriately, so
this won't work.

The other choice is to set reply_goes_to_list to This list as you have
done, and this doesn't work in all cases either. In order to make this
work better, you could moderate all users (or maybe just the slow
learners) and reject their posts that shouldn't be on the list, but
you may not want to do the moderation work.

So you have to decide whether choice 1 - some replies that should be on
the list aren't - or choice 2 - some replies that shouldn't be on the
list are or a much increased moderator workload and the attendant
moderation delays - is the lesser of two evils.

-- 
Mark Sapiro The 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] problem e.g. with subscription of new members

2011-01-06 Thread Mark Sapiro
Werner Spirk wrote:
>
>I have installed mailman-2.1.14 on NFS.
>We use NFS as the common platform between mailman server and
>WWW server.
>
>The problem is that it could happen that
>the subscription of new members ether via the add-members cmd
>or via the WWW surface as an admin did not do:
>the members have got welcome messages, there are log entries
>in the subscribe log but the members aren't in the list
>(no changes/mail addresses in the pck-file).
>
>If you repeat the subscription directly after the first trail
>it will normally do.
>
>There were no activities on the mailman server at that times.


There is an issue that can cause this behavior, but it only occurs if
two parallel processes, e.g. the member add and another member add or
a post to the same list, occur within the same second.


>In the locks log there can be an entry - not always
>when  subsrcriptions fails:
>.lock lifetime has expired, breaking
>But there are no lock/unlock entries.


You can get more information including lock/unlock entries in the locks
log by putting

LIST_LOCK_DEBUGGING = On

in mm_cfg.py and restarting Mailman.

Is there anything in Mailman's error log?

I have attached a patch (list_reload.patch.txt) that addresses the
issue I mention above. It may help, but I suspect some kind of NFS
delays are involved. Try setting LIST_LOCK_DEBUGGING = On and report
what's in the locks log.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

=== modified file 'Mailman/MailList.py'
--- Mailman/MailList.py 2008-08-21 21:35:20 +
+++ Mailman/MailList.py 2008-08-22 22:16:29 +
@@ -599,8 +599,11 @@
 # file doesn't exist, we'll get an EnvironmentError with errno set
 # to ENOENT (EnvironmentError is the base class of IOError and
 # OSError).
+# We test strictly less than here because the resolution is whole
+# seconds and we have seen cases of the file being updated by
+# another process in the same second.
 mtime = os.path.getmtime(dbfile)
-if mtime <= self.__timestamp:
+if mtime < self.__timestamp:
 # File is not newer
 return None, None
 fp = open(dbfile)
@@ -618,8 +621,9 @@
 return None, e
 finally:
 fp.close()
-# Update timestamp
-self.__timestamp = mtime
+# Update the timestamp.  We use current time here rather than mtime
+# so the test above might succeed the next time.
+self.__timestamp = int(time.time())
 return dict, None
 
 def Load(self, check_version=True):

--
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