VirtualMailManager/Handler.py
branchv0.6.x
changeset 262 6eea85d8b91d
parent 259 6c699837b4d4
child 264 04fea4d8b900
equal deleted inserted replaced
261:1c2241dde942 262:6eea85d8b91d
    19 from subprocess import Popen, PIPE
    19 from subprocess import Popen, PIPE
    20 
    20 
    21 from pyPgSQL import PgSQL  # python-pgsql - http://pypgsql.sourceforge.net
    21 from pyPgSQL import PgSQL  # python-pgsql - http://pypgsql.sourceforge.net
    22 
    22 
    23 import VirtualMailManager.constants.ERROR as ERR
    23 import VirtualMailManager.constants.ERROR as ERR
    24 from VirtualMailManager import ENCODING, exec_ok, set_configuration
    24 from VirtualMailManager import ENCODING, set_configuration
    25 from VirtualMailManager.Account import Account
    25 from VirtualMailManager.Account import Account
    26 from VirtualMailManager.Alias import Alias
    26 from VirtualMailManager.Alias import Alias
    27 from VirtualMailManager.AliasDomain import AliasDomain
    27 from VirtualMailManager.AliasDomain import AliasDomain
       
    28 from VirtualMailManager.common import exec_ok
    28 from VirtualMailManager.Config import Config as Cfg
    29 from VirtualMailManager.Config import Config as Cfg
    29 from VirtualMailManager.Domain import Domain, ace2idna, get_gid
    30 from VirtualMailManager.Domain import Domain, ace2idna, get_gid
    30 from VirtualMailManager.EmailAddress import EmailAddress
    31 from VirtualMailManager.EmailAddress import EmailAddress
    31 from VirtualMailManager.errors import VMMError, AliasError, DomainError, \
    32 from VirtualMailManager.errors import VMMError, AliasError, DomainError, \
    32      RelocatedError
    33      RelocatedError