From f7b7356d991214eeee4f3908bd0927d331d81af1 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 26 Jan 2019 14:14:47 +0000
Subject: [PATCH] Drop the domain check for rcpttocheck()

---
 Mailman/Queue/LMTPRunner.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Mailman/Queue/LMTPRunner.py b/Mailman/Queue/LMTPRunner.py
index 429f44fc..7e44f6f0 100644
--- a/Mailman/Queue/LMTPRunner.py
+++ b/Mailman/Queue/LMTPRunner.py
@@ -357,11 +357,8 @@ class Channel(asynchat.async_chat):
             if '@' not in to:
                 return 'EERR_513'
             name = self.mlistname(to)
-            domain = self.domain(to)
-            sitedomain = get_domain()
-            if domain == sitedomain:
-                if list_exists(name):
-                    return
+            if list_exists(name):
+                return
             else:
                 return 'EERR_511'
         except:
-- 
GitLab