VirtualMailManager/domain.py
changeset 701 110491a871a7
parent 675 d24f094d1cb5
child 703 58815c004a61
--- a/VirtualMailManager/domain.py	Tue Aug 27 21:13:28 2013 +0000
+++ b/VirtualMailManager/domain.py	Sun Jan 26 16:13:00 2014 +0000
@@ -25,7 +25,7 @@
 
 
 MAILDIR_CHARS = '0123456789abcdefghijklmnopqrstuvwxyz'
-RE_DOMAIN = re.compile(r"^(?:[a-z0-9-]{1,63}\.){1,}[a-z]{2,6}$")
+RE_DOMAIN = re.compile(r"^(?:[a-z0-9-]{1,63}\.){1,}[a-z0-9-]{2,}$")
 _ = lambda msg: msg
 cfg_dget = lambda option: None