From: Julien Cristau Date: Tue, 8 Oct 2019 18:09:12 +0000 (+0200) Subject: ud-mailgate: remove exception for münchen.debian.net X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain ud-mailgate: remove exception for münchen.debian.net 19:58 < aba> weasel: I'm happy with removing the münchen.debian.net if this helps DSA (and further xn-- are blocked), this is just the same redirect as muenchen.d.n --- diff --git a/ud-mailgate b/ud-mailgate index baaf08a..30af583 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -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