Re: [Mailman-Users] Bounce updating

2009-04-03 Thread Steff Watkins
 Hi all,
 
 I have a question about the mailman bounce procedure. Is it  possible
to 
 obtain a list of bounces that were removed from the list due  to a
high 
 score? Essentially what I want to do is create a list of  members
that 
 were removed from the list due to bounces and present that  list to
the 
 list owner. Is there a built in function that can do it, or  is there
a 
 way I can do it manually? If this question has already been  addressed
in 
 the FAQ, I apologize, I might have missed it (there were a lot of 
 topics). If you can just point me in the right direction in  that
case, I 
 would be very grateful.
 
 Cheers,
 
 Sam

Hello Sam (and others),

 I had a similar-ish scenario a few weeks back. Quick story: the Mailman
setup here had a short spate of auto-unsubscribing people from various
lists at 9am every day for about four days. One of the lists had about
100 people removed in one morning and the list owner queried whether I
could supply them with a list of those who were unsubscribed .

The easy solution I found was to grep the 'subscribe' logfile for the
listname and the phrase 'auto-unsubscribe' which returns lines like:

Mar 11 09:00:02 2009 (1577) somelist: ...@***.***.net
auto-unsubscribed [reason: BYBOUNCE]

Looking into it a bit further I found that the 'bounce' logfile records
some (minorly) useful info about what it is doing. Doing a grep on the
term 'disabled' returns lines such as:

Mar 10 09:00:02 2009 (3577) Notifying disabled member *...@***.org for
list: somelist

What may be of most use to you however is to modify this grep to match
the phrase deleted after 
exhausting notices which I believe is the error line given when an
email address goes over its bounce score. This returns lines such as:

Mar 12 09:00:02 2009 (3388) somelist: ***...@.com deleted after
exhausting notices

From there it is a short hop to having a script running under cron
that'll grep through the bounce logfile, matching lines containing
deleted after exhausting notices within the cronjob cycle period which
would dump the output to stdio and so by default email back to you.

Regards,
Steff Watkins
===
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce updating

2009-04-03 Thread Mark Sapiro
Steff Watkins wrote:

Looking into it a bit further I found that the 'bounce' logfile records
some (minorly) useful info about what it is doing. Doing a grep on the
term 'disabled' returns lines such as:

Mar 10 09:00:02 2009 (3577) Notifying disabled member *...@***.org for
list: somelist


The above log entry is written when a member whose delivery has been
disabled by bounce is sent a warning message by cron/disabled.
 

What may be of most use to you however is to modify this grep to match
the phrase deleted after 
exhausting notices which I believe is the error line given when an
email address goes over its bounce score. This returns lines such as:

Mar 12 09:00:02 2009 (3388) somelist: ***...@.com deleted after
exhausting notices


Actually, the above log entry is written when the member is removed
from the list which may or may not be at the same time as when the
member's score hits the threshold depending of
bonce_you_are_disabled_warnings.

When a member's score reaches the threshold, the bounce log entry is

Mar 22 12:32:05 2009 (5641) LISTNAME: u...@example.com disabling due to
bounce score n.n = n.n

-- 
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Bounce updating

2009-03-27 Thread Salvatore D'Agostino

Hi all,

I have a question about the mailman bounce procedure. Is it possible to 
obtain a list of bounces that were removed from the list due to a high 
score? Essentially what I want to do is create a list of members that 
were removed from the list due to bounces and present that list to the 
list owner. Is there a built in function that can do it, or is there a 
way I can do it manually? If this question has already been addressed in 
the FAQ, I apologize, I might have missed it (there were a lot of 
topics). If you can just point me in the right direction in that case, I 
would be very grateful.


Cheers,

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce updating

2009-03-27 Thread Mark Sapiro
Salvatore D'Agostino wrote:

I have a question about the mailman bounce procedure. Is it possible to 
obtain a list of bounces that were removed from the list due to a high 
score? Essentially what I want to do is create a list of members that 
were removed from the list due to bounces and present that list to the 
list owner. Is there a built in function that can do it, or is there a 
way I can do it manually? If this question has already been addressed in 
the FAQ, I apologize, I might have missed it (there were a lot of 
topics). If you can just point me in the right direction in that case, I 
would be very grateful.


The easiest way to do this would be to create some script to sumarize
this information from Mailman's bounce log.

You can obtain a list of members whose delivery has been disabled by
bounce processing who haven't yet been removed from the list with
Mailman's

  bin/list_members --nomail=bybounce LISTNAME

but this won't get those whove already been removed. You have to get
that from the bounce or subscribe logs.

-- 
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9