[Mailman-Users] number of bounces

Harald Meland Harald.Meland at usit.uio.no
Wed Jun 2 21:38:03 CEST 1999

[Boris Goldowsky]

> How can one determine how many times mail to a user has bounced, and
> whatever other statistics mailman uses to decide whether to disable
> them?

  python -i bin/withlist LISTNAME
  Loading list: LISTNAME (unlocked)
  >>> m.bounce_info

The bounce_info "documentation" is in the comment above it's
initialization in in Mailman/Bouncer.py:

        # self.bounce_info registers observed bounce incidents.  It's a
        # dict mapping members addrs to a list:
        #  [
        #    time.time() of last bounce,
        #    post_id of first offending bounce in current sequence,
        #    post_id of last offending bounce in current sequence
        #  ]

Thus, the _total_ number of bounces for this address isn't recorded,
only the number of bounces in the "current sequence" -- which is given
by (last_post_id + 1 - first_post_id).


More information about the Mailman-Users mailing list