VirtualMailManager/domain.py
changeset 701 110491a871a7
parent 675 d24f094d1cb5
child 703 58815c004a61
equal deleted inserted replaced
699:4c8e15c2f01b 701:110491a871a7
    23 from VirtualMailManager.serviceset import ServiceSet
    23 from VirtualMailManager.serviceset import ServiceSet
    24 from VirtualMailManager.transport import Transport
    24 from VirtualMailManager.transport import Transport
    25 
    25 
    26 
    26 
    27 MAILDIR_CHARS = '0123456789abcdefghijklmnopqrstuvwxyz'
    27 MAILDIR_CHARS = '0123456789abcdefghijklmnopqrstuvwxyz'
    28 RE_DOMAIN = re.compile(r"^(?:[a-z0-9-]{1,63}\.){1,}[a-z]{2,6}$")
    28 RE_DOMAIN = re.compile(r"^(?:[a-z0-9-]{1,63}\.){1,}[a-z0-9-]{2,}$")
    29 _ = lambda msg: msg
    29 _ = lambda msg: msg
    30 cfg_dget = lambda option: None
    30 cfg_dget = lambda option: None
    31 
    31 
    32 
    32 
    33 class Domain(object):
    33 class Domain(object):