Zbigniew Szalbot
>
>Is there anything else I can check? I am about to delete the members
>as this was time-limited subscription but we wanted to send a final
>thank you message to them and frustrating as it is, we can't do that.


You can edit Mailman/Queue/IncomingRunner.py as follows:

Find the code in the do_pipeline() method that says

            except Errors.DiscardMessage:
                # Throw the message away; we need do nothing else with
it.
                syslog('vette', 'Message discarded, msgid: %s',
                       msg.get('message-id', 'n/a'))
                return 0

and change it to

            except Errors.DiscardMessage:
                # Throw the message away; we need do nothing else with
it.
                syslog('vette', 'Message discarded by %s, msgid: %s',
                       handler, msg.get('message-id', 'n/a'))
                return 0

and then restart Mailman.

This will add the name of the handler to the vette log message. Then,
at least we know what to look at.

The attached patch.txt is an actual patch for the above change.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

=== modified file 'Mailman/Queue/IncomingRunner.py'
--- Mailman/Queue/IncomingRunner.py     2005-08-27 01:40:17 +0000
+++ Mailman/Queue/IncomingRunner.py     2008-03-25 16:23:29 +0000
@@ -157,8 +157,8 @@
                     os._exit(1)
             except Errors.DiscardMessage:
                 # Throw the message away; we need do nothing else with it.
-                syslog('vette', 'Message discarded, msgid: %s',
-                       msg.get('message-id', 'n/a'))
+                syslog('vette', 'Message discarded by %s, msgid: %s',
+                       handler, msg.get('message-id', 'n/a'))
                 return 0
             except Errors.HoldMessage:
                 # Let the approval process take it from here.  The message no

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
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-users/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