[Bug 500695] Re: Some sendmail bounces not detected

Mark Sapiro mark at msapiro.net
Sun Dec 27 15:59:14 CET 2009


It is unclear whether or not there is a bug in SimpleMatch or not. The
regexp itself is ambiguous. If in fact there is a problem, it should be
resolved differently - e.g. by making two tests:

    (_c('the following addresses had'),
     _c('transcript of session follows'),
     _c(r'\(expanded from: <?(?P<addr>[^>)]*)>?\)')),
    (_c('the following addresses had'),
     _c('transcript of session follows'),
     _c(r'<(?P<addr>[^>]*)>')),

although, I'm not convinced that wouldn't cause other problems.

We never want to match the first address in '<a at example.com> (expanded
from: b at example.net)' since that address is not the address we sent to.

In any case, what is your problem? Your sample bounce message is
recognized correctly by the DSN.py module as it should be (at least
since 2.1.11 if not before).

-- 
Some sendmail bounces not detected
https://bugs.launchpad.net/bugs/500695
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.


More information about the Mailman-coders mailing list