From 1803838 at bugs.launchpad.net Sat Nov 17 17:49:07 2018 From: 1803838 at bugs.launchpad.net (Fernando) Date: Sat, 17 Nov 2018 22:49:07 -0000 Subject: [Bug 1803838] [NEW] Mailman Upgrade to 2.1.29 - Ubuntu 16.04 Message-ID: <154249494734.26726.3840053317022915105.malonedeb@soybean.canonical.com> Public bug reported: In Ubuntu 16.04 LTS the version of Mailman currently available in the package manager is 2.1.20 while the latest one is 2.1.29 and which is also the latest available on Mailman website. There has been several bug and security fixes since 2.1.20 to 2.1.29 which look interesting to get the package managed upgraded. What it takes to get the package bumped to 2.1.29 in Ubuntu 16.04 ? ** Affects: mailman Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1803838 Title: Mailman Upgrade to 2.1.29 - Ubuntu 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1803838/+subscriptions From mark at msapiro.net Sat Nov 17 19:50:26 2018 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 18 Nov 2018 00:50:26 -0000 Subject: [Bug 1803838] Re: Mailman Upgrade to 2.1.29 - Ubuntu 16.04 References: <154249494734.26726.3840053317022915105.malonedeb@soybean.canonical.com> Message-ID: <154250222640.18251.16662531621345615363.malone@gac.canonical.com> If you want to upgrade the Ubuntu 16.04 package from source, see https://wiki.list.org/x/17891606. ** Also affects: ubuntu Importance: Undecided Status: New ** No longer affects: mailman -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1803838 Title: Mailman Upgrade to 2.1.29 - Ubuntu 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1803838/+subscriptions From 1805137 at bugs.launchpad.net Mon Nov 26 07:28:59 2018 From: 1805137 at bugs.launchpad.net (Cristiano de Paula Costa) Date: Mon, 26 Nov 2018 12:28:59 -0000 Subject: [Bug 1805137] [NEW] Bounces sent from opensmtpd not parsed Message-ID: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> 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[^\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 From mark at msapiro.net Mon Nov 26 21:02:53 2018 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 27 Nov 2018 02:02:53 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154328417334.32159.11980333871394053105.malone@wampee.canonical.com> Thank you for the report and suggested patch. If possible, please post the entire, raw bounce message including all headers. We need that for the testing data. Also, depending on the headers and MIME structure of the message, SimpleMatch may not be the optimum recognizer. -- 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 From 1805137 at bugs.launchpad.net Wed Nov 28 07:21:46 2018 From: 1805137 at bugs.launchpad.net (Cristiano de Paula Costa) Date: Wed, 28 Nov 2018 12:21:46 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154340770648.15000.3074572654036904977.malone@soybean.canonical.com> Hi Mark, Thanks for your answer. I'm attaching one of the messages that mailman have sent to us. But I had to anonymize some headers. Hope it is still useful for you guys. In my last message, I said that we was using version 2.1.11. This info was wrong: we are in 2.1.17. The patch that I have sent applies to this version (not 2.1.29 nor 2.1.11). Thanks, ** Attachment added: "original-message.eml" https://bugs.launchpad.net/mailman/+bug/1805137/+attachment/5216984/+files/original-message.eml -- 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 From mark at msapiro.net Wed Nov 28 12:13:48 2018 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Nov 2018 17:13:48 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154342522893.16790.12463011738666034402.malone@gac.canonical.com> Thanks for the message. The anonymizing is not a problem. It turns out that this is almost an RFC 3464 compliant DSN and should be recognized by Mailman/Bouncers/DSN.py except for the fact that the 'action' in the Delivery Report is 'error'. This is non-compliant. RFC 3464, sec 2.3.3 defines action as: action-value = "failed" / "delayed" / "delivered" / "relayed" / "expanded" Thus, 'Action: error' in this DSN is non-compliant. It should be 'Action: failed'. You may wish to report this to the opensmtpd developers. If the mean time, if you look at Mailman/Bouncers/DSN.py at line 59, you'll see if not action.startswith('fail'): # Some non-permanent failure, so ignore this block continue If you change that to if not (action.startswith('fail') or action.startswith('error')): # Some non-permanent failure, so ignore this block continue this DSN should be recognized by DSN.py. I'll be incorporating this fix for the next release. -- 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 From mark at msapiro.net Wed Nov 28 15:11:56 2018 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Nov 2018 20:11:56 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154343591739.9710.13620756839833102442.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Importance: Undecided => Low ** Changed in: mailman Status: New => Fix Committed ** Changed in: mailman Milestone: None => 2.1.30 ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- 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 From 1805137 at bugs.launchpad.net Wed Nov 28 15:06:14 2018 From: 1805137 at bugs.launchpad.net (Launchpad Bug Tracker) Date: Wed, 28 Nov 2018 20:06:14 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154343558351.16205.17203244501809681451.launchpad@ackee.canonical.com> ** Branch linked: lp:mailman/2.1 -- 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 From 1805137 at bugs.launchpad.net Thu Nov 29 10:41:42 2018 From: 1805137 at bugs.launchpad.net (Cristiano de Paula Costa) Date: Thu, 29 Nov 2018 15:41:42 -0000 Subject: [Bug 1805137] Re: Bounces sent from opensmtpd not parsed References: <154323533980.15899.18330420192997885292.malonedeb@gac.canonical.com> Message-ID: <154350610236.16551.1774712381097001435.malone@gac.canonical.com> thanks Mark, I will send a message to the opensmtpd guys. -- 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