------------------------------------------------------------
revno: 1691
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Tue 2017-02-14 22:30:03 -0800
message:
  Added recognition for a newly seen mailEnable bounce.
added:
  tests/bounces/simple_41.txt
modified:
  Mailman/Bouncers/SimpleMatch.py
  NEWS
  tests/test_bounces.py


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Bouncers/SimpleMatch.py'
--- Mailman/Bouncers/SimpleMatch.py	2013-05-31 02:29:33 +0000
+++ Mailman/Bouncers/SimpleMatch.py	2017-02-15 06:30:03 +0000
@@ -188,6 +188,10 @@
     (_c('A message that you sent was rejected'),
      _c('This is a copy of your message'),
      _c('\s(?P<addr>[^\s@]+@[^\s@]+)')),
+    # MailEnable
+    (_c('Message could not be delivered to some recipients.'),
+     _c('Message headers follow'),
+     _c('Recipient: \[SMTP:(?P<addr>[^\s@]+@[^\s@]+)\]')),
     # Next one goes here...
     ]
 

=== modified file 'NEWS'
--- NEWS	2017-02-15 03:15:58 +0000
+++ NEWS	2017-02-15 06:30:03 +0000
@@ -26,6 +26,8 @@
 
   Bug fixes and other patches
 
+    - Added recognition for a newly seen mailEnable bounce.
+
     - Fixed an uncaught NotAMemberError when a member is removed before a
       probe bounce for the member is returned.  (LP: #1664729)
 

=== added file 'tests/bounces/simple_41.txt'
--- tests/bounces/simple_41.txt	1970-01-01 00:00:00 +0000
+++ tests/bounces/simple_41.txt	2017-02-15 06:30:03 +0000
@@ -0,0 +1,47 @@
+Received: from intercitytime.com (unknown [218.255.171.146])
+	by mail.mailman3.org (Postfix) with ESMTP id 7675880267
+	for <mailman-users-boun...@mailman3.org>; Tue, 14 Feb 2017 09:29:16 +0000 (UTC)
+From: "Delivery Subsystem" <postmas...@intercitytime.com>
+To: <mailman-users-boun...@mailman3.org>
+Subject: Message Delivery Failure
+Date: Tue, 14 Feb 2017 17:29:12 +0800
+Message-ID: <bd6cb5fa118f4a91b33fff4def67e03e....@intercitytime.com>
+X-MEFilter: 1
+Precedence: bulk
+Auto-Submitted: auto-replied
+Message-ID-Hash: QD4JEJZEMX3L2YZ3EPVXIXH2QNFQ5Z7D
+X-Message-ID-Hash: QD4JEJZEMX3L2YZ3EPVXIXH2QNFQ5Z7D
+X-MailFrom: <>
+
+
+MailEnable: Message could not be delivered to some recipients.
+The following recipient(s) could not be reached:
+
+	Recipient: [SMTP:jeff.c...@intercitytime.com]
+	Reason: Remote SMTP Server Returned: 550 Requested action not taken: mailbox unavailable or not local.
+
+
+Message headers follow:
+
+Received: with MailEnable Postoffice Connector; Tue, 14 Feb 2017 17:29:09 +0800
+Received: from mail.mailman3.org ([104.239.228.201]) by intercitytime.com with MailEnable ESMTP; Tue, 14 Feb 2017 17:29:08 +0800
+Received: from mailman.iad1.psf.io (ip6-localhost [127.0.0.1])
+	by mail.mailman3.org (Postfix) with ESMTP id 468CC80267
+	for <free-tr...@intercitytime.com>; Tue, 14 Feb 2017 09:29:08 +0000 (UTC)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailman3.org;
+	s=default; t=1487064548;
+	bh=aulHL7gMEucDw5WDL8d6/+CPIEzXORHWiObo1NS4HuE=;
+	h=Subject:From:To:Date;
+	b=uGQifVlhvVfe2PWe+A8qsiVzSXpFho30W6YE8OEIX5ql3vSxPQURW9rpD/GjVI0sR
+	 nt09YhHzwh0Df7NvwNMa6uHIZaGGOMSpWd2irIj+onwOi8di4yoFK4r/JQjBr4PZ7n
+	 v/X846uBX3c8rKnAg8h6qTSb6dI5xziORKlgh1B4=
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
+Content-Transfer-Encoding: 7bit
+Subject: Your message to mailman-us...@mailman3.org awaits moderator approval
+From: mailman-users-boun...@mailman3.org
+To: free-tr...@intercitytime.com
+Message-ID: <20170214092907.10185.42...@mailman.iad1.psf.io>
+Date: Tue, 14 Feb 2017 09:29:07 +0000
+Precedence: bulk
+X-Mailman-Version: 3.1.0b4

=== modified file 'tests/test_bounces.py'
--- tests/test_bounces.py	2013-12-20 23:45:28 +0000
+++ tests/test_bounces.py	2017-02-15 06:30:03 +0000
@@ -80,7 +80,8 @@
         ('SimpleMatch', 'simple_36.txt', ['ga...@xxx.com']),
         ('SimpleMatch', 'simple_37.txt', ['u...@uci.edu']),
         ('SimpleMatch', 'simple_38.txt', ['pru...@domain.com']),
-        ('SimpleMatch', 'simple_39.txt', [b'f...@mail.ru']),
+        ('SimpleMatch', 'simple_39.txt', ['f...@mail.ru']),
+        ('SimpleMatch', 'simple_41.txt', ['jeff.c...@intercitytime.com']),
         ('SimpleMatch', 'bounce_02.txt', ['acin...@midsouth.rr.com']),
         ('SimpleMatch', 'bounce_03.txt', ['ja...@jeborall.demon.co.uk']),
         # SimpleWarning

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to