At 5:08 PM -0700 2005-10-04, Mark Sapiro wrote:

>  If I couldn't find anything obvious in the above ideas, I'd try putting
>  a debug logging statement conditional on mlist.internal_name() ==
>  listname in Mailman/Queue/IncomingRunner.py in the while loop in
>  _dopipeline to see how far it gets.

        I added a bit more debugging, and the important section looks like this:

             except Errors.DiscardMessage:
                 # Throw the message away; we need do nothing else with it.
                 syslog('vette', 'Message discarded, listname: %s, msgid: %s',
                        listname,
                        msg.get('message-id', 'n/a'))
                 return 0
             except Errors.HoldMessage:
                 # Let the approval process take it from here.  The message no
                 # longer needs to be queued.
                 return 0
             except Errors.RejectMessage, e:
                 mlist.BounceMessage(msg, msgdata, e)
                 syslog('vette', 'Message bounced, listname: %s, msgid: %s',
                        listname,
                        msg.get('message-id', 'n/a'))
                 return 0


        So, now I'm seeing the listname in conjunction with the "message 
discarded" log entries, and I'm getting a completely new "message 
bounced" log entry which wasn't there before at all.

        But I'm not seeing any details as to why a message is being 
discarded or bouncing.  I see two more messages that came in today to 
the list in question, and by matching message-ids and listnames 
between the Mailman "vette" log and the postfix syslog, I can tell 
that these two messages bounced.  But not why.  Maybe they were spam?

        And I have yet to see any "normal" messages come into this list 
so far, so I can't tell what may have been happening to them and why 
they weren't being posted.

-- 
Brad Knowles, <[EMAIL PROTECTED]>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.
_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to