ud-mailgate: remove exception for münchen.debian.net
[mirror/userdir-ldap.git] / ud-sync-accounts-to-afs
index 4fccaa9..1cc478b 100755 (executable)
@@ -123,7 +123,7 @@ def filter_have(a):
       if n == 'anonymous': # keep account, so remove from the have list
          a.del_name(n)
          continue
-      m = re.match('[0-9a-z]+$', n)
+      m = re.match('[0-9a-z-]+$', n)
       if not m: # weird name, probably has dots like weasel.admin etc.
          a.del_name(n)
          continue