ud-mailgate: remove exception for münchen.debian.net
[mirror/userdir-ldap.git] / ud-mailgate
index baaf08a..30af583 100755 (executable)
@@ -372,7 +372,7 @@ def DoDNS(Str, Attrs, DnRecord):
         return None
 
     # Check for punycode.  We ought to validate it before we allow it in our zone.
-    if Str.lower().startswith('xn--') and Str.lower() != 'xn--mnchen-3ya':
+    if Str.lower().startswith('xn--'):
         return "Punycode not allowed: " + Str
 
     # Check if the name is already taken