[Bug 1805137] [NEW] Bounces sent from opensmtpd not parsed

Cristiano de Paula Costa 1805137 at bugs.launchpad.net
Mon Nov 26 07:28:59 EST 2018


Public bug reported:

Hi,

We have updated our external MTA to use OpenBSD(6.4) and opensmptd.

After we updated, mailman started to send "bounce message w/no
discernable addresses" messages to us (list admins). It seems that
mailman is not able to parse bounce messages sent from opensmtpd.

Please check an example of a bounce message from opensmtpd:

    Hi!

    This is the MAILER-DAEMON, please DO NOT REPLY to this email.

    An error has occurred while attempting to deliver a message for
    the following list of recipients:

XXXXXXXXX at live.com: 550 5.5.0 Requested action not taken: mailbox
unavailable. [VE1EUR02FT047.eop-EUR02.prod.protection.outlook.com]

    Below is a copy of the original message:

We are using mailman 2.1.11 and I could not test the issue on version
2.1.17. But, reading the code, it seem that the problem is still there.

We managed to fix the problem by editing the file
'mailman/Mailman/Bouncers/SimpleMatch.py' and including the following
lines:

191,194d190
<     # opensmtpd
<     (_c('An error has occurred while attempting to deliver a message for'),
<      _c('Below is a copy of the original message'),
<      _c('^\s*(?P<addr>[^\s@]+@[^\s@]+)')),

patch follows attached

Regards,

Cristiano

** Affects: mailman
     Importance: Undecided
         Status: New

** Patch added: "SimpleMatch.py.patch"
   https://bugs.launchpad.net/bugs/1805137/+attachment/5216458/+files/SimpleMatch.py.patch

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1805137

Title:
  Bounces sent from opensmtpd not parsed

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1805137/+subscriptions


More information about the Mailman-coders mailing list