[Mailman-Users] Bounce handler for MM 2.1

David Gibbs david at midrange.com
Sun Jan 5 19:34:32 CET 2003


Folks:

I'm trying to extend some of the bounce handling features in MM 2.1 to work
with some of the MTA's that I send to (Domino being one of the most
prevelent).

Does anyone have some information on how to write a bounce handler?  I'm not
a python programmer (RPG & Java) and, although it doesn't seem that hard to
hack, I can't seem to get the bounce handler modifications to work.

Here's an example ... I tried adding a new entry to the patterns array in
SimpleWarning.py ...

    (_c('\s*Delivery attempts are still pending for the following
address(es):'),
     _c('\s*Problems usually are due to service interruptions at the
receiving'),
     _c(r'\s*(?P<addr>\S+@\S+)\s*.*')),

To catch the following bounce warning ...

-----------------
    After 4 days (76 hours), your message has not yet been
fully delivered.  Attempts to deliver the message will continue
for 11 more days.  No further action is required by you.

    Delivery attempts are still pending for the following address(es):

        user at host.com (host: host.com) (queue: network)

    Problems usually are due to service interruptions at the receiving
machine.  Less often, they are caused by the communication system.
-----------------

But it doesn't seem to get caught.

Any suggestions?

Thanks!

david







More information about the Mailman-Users mailing list