VirtualMailManager/Domain.py
branchv0.6.x
changeset 316 31d8931dc535
parent 294 7d1bafc6fa30
equal deleted inserted replaced
315:81bccfd14355 316:31d8931dc535
    10 
    10 
    11 import os
    11 import os
    12 import re
    12 import re
    13 from random import choice
    13 from random import choice
    14 
    14 
    15 from VirtualMailManager.constants.ERROR import \
    15 from VirtualMailManager.constants import \
    16      ACCOUNT_AND_ALIAS_PRESENT, ACCOUNT_PRESENT, ALIAS_PRESENT, \
    16      ACCOUNT_AND_ALIAS_PRESENT, ACCOUNT_PRESENT, ALIAS_PRESENT, \
    17      DOMAIN_ALIAS_EXISTS, DOMAIN_EXISTS, DOMAIN_INVALID, DOMAIN_TOO_LONG, \
    17      DOMAIN_ALIAS_EXISTS, DOMAIN_EXISTS, DOMAIN_INVALID, DOMAIN_TOO_LONG, \
    18      NO_SUCH_DOMAIN
    18      NO_SUCH_DOMAIN
    19 from VirtualMailManager.errors import DomainError as DomErr
    19 from VirtualMailManager.errors import DomainError as DomErr
    20 from VirtualMailManager.Transport import Transport
    20 from VirtualMailManager.Transport import Transport