FAQ
I have started getting the following error message in my log files. It
appears to be when Mailman receives a bounce for a non-member.



Feb 13 21:31:25 2009 qrunner(527): Traceback (most recent call last):

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/bin/qrunner", line 278, in ?

Feb 13 21:31:25 2009 qrunner(527): main()

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/bin/qrunner", line 238, in main

Feb 13 21:31:25 2009 qrunner(527): qrunner.run()

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/Queue/Runner.py", line 88, in run

Feb 13 21:31:25 2009 qrunner(527): self._cleanup()

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/Queue/BounceRunner.py", line 263, in
_cleanup

Feb 13 21:31:25 2009 qrunner(527): BounceMixin._cleanup(self)

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/Queue/BounceRunner.py", line 137, in
_cleanup

Feb 13 21:31:25 2009 qrunner(527): self._register_bounces()

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/Queue/BounceRunner.py", line 125, in
_register_bounces

Feb 13 21:31:25 2009 qrunner(527): mlist.registerBounce(addr, msg,
day=day)Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/Bouncer.py", line 167, in registerBounce

Feb 13 21:31:25 2009 qrunner(527): self.setBounceInfo(member, info)

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/OldStyleMemberships.py", line 362, in
setBounceInfo

Feb 13 21:31:25 2009 qrunner(527): self.__assertIsMember(member)

Feb 13 21:31:25 2009 qrunner(527): File
"/Applications/mailman/Mailman/OldStyleMemberships.py", line 114, in
__assertIsMember

Feb 13 21:31:25 2009 qrunner(527): raise Errors.NotAMemberError,
member

Feb 13 21:31:25 2009 qrunner(527): Mailman.Errors . NotAMemberError :
x at x

Search Discussions

  • Mark Sapiro at Feb 15, 2009 at 4:24 pm

    Jeff Grossman wrote:
    I have started getting the following error message in my log files. It
    appears to be when Mailman receives a bounce for a non-member.



    Feb 13 21:31:25 2009 qrunner(527): Traceback (most recent call last):

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/bin/qrunner", line 278, in ?

    Feb 13 21:31:25 2009 qrunner(527): main()

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/bin/qrunner", line 238, in main

    Feb 13 21:31:25 2009 qrunner(527): qrunner.run()

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/Queue/Runner.py", line 88, in run

    Feb 13 21:31:25 2009 qrunner(527): self._cleanup()

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/Queue/BounceRunner.py", line 263, in
    _cleanup

    Feb 13 21:31:25 2009 qrunner(527): BounceMixin._cleanup(self)

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/Queue/BounceRunner.py", line 137, in
    _cleanup

    Feb 13 21:31:25 2009 qrunner(527): self._register_bounces()

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/Queue/BounceRunner.py", line 125, in
    _register_bounces

    Feb 13 21:31:25 2009 qrunner(527): mlist.registerBounce(addr, msg,
    day=day)Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/Bouncer.py", line 167, in registerBounce

    Feb 13 21:31:25 2009 qrunner(527): self.setBounceInfo(member, info)

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/OldStyleMemberships.py", line 362, in
    setBounceInfo

    Feb 13 21:31:25 2009 qrunner(527): self.__assertIsMember(member)

    Feb 13 21:31:25 2009 qrunner(527): File
    "/Applications/mailman/Mailman/OldStyleMemberships.py", line 114, in
    __assertIsMember

    Feb 13 21:31:25 2009 qrunner(527): raise Errors.NotAMemberError,
    member

    Feb 13 21:31:25 2009 qrunner(527): Mailman.Errors . NotAMemberError :
    x at x

    I don't see how this can happen. If you look at Mailman/Bouncer.py, you
    should see

    def registerBounce(self, member, msg, weight=1.0, day=None):
    if not self.isMember(member):
    return

    Thus, you should never be getting to the

    self.setBounceInfo(member, info)

    later in that method.

    Is there something wierd about the member address? There was a bug at
    one time that would allow a members address to be stored with
    upper-case in the domain, but I don't think even this would cause the
    above error.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Feb 15, 2009 at 10:09 pm
    An embedded and charset-unspecified text was scrubbed...
    Name: Bouncer.patch.txt
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090215/f1c765d4/attachment.txt>
  • Mark Sapiro at Feb 15, 2009 at 10:51 pm
    Mark Sapiro tried to write but fumbled his MUA and sent only the
    attachment to the list:
    I just sent you another e-mail with errors from today. I am going to
    gzip up all of the log files and send them over to you. That way you
    can see everything and hopefully figure out what is going on.

    I haven't looked at the logs yet, but I know what the problem is. This
    code has been in use since 2.1.11, but it's wrong. The error only
    occurs if bounce_you_are_disabled_warnings = 0 so the member is
    immediately removed.

    What happens is we go through all the steps to remove the bouncing
    member including sending the admin and user notice and we do remove
    the member, but then we try to update the bounce info for the removed
    member and encounter the exception. As a result of the exception, the
    updated list is not saved so the member is still there.

    The attached patch should fix it.
    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: Bouncer.patch.txt
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090215/255d42bd/attachment-0001.txt>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedFeb 14, '09 at 5:43p
activeFeb 15, '09 at 10:51p
posts4
users2
websitelist.org

2 users in discussion

Mark Sapiro: 3 posts Jeff Grossman: 1 post

People

Translate

site design / logo © 2022 Grokbase