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, ace2idna, exec_ok |
24 from VirtualMailManager import ENCODING, exec_ok |
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.Config import Config as Cfg |
28 from VirtualMailManager.Config import Config as Cfg |
29 from VirtualMailManager.Domain import Domain, get_gid |
29 from VirtualMailManager.Domain import Domain, ace2idna, get_gid |
30 from VirtualMailManager.EmailAddress import EmailAddress |
30 from VirtualMailManager.EmailAddress import EmailAddress |
31 from VirtualMailManager.errors import VMMError, AliasError, DomainError, \ |
31 from VirtualMailManager.errors import VMMError, AliasError, DomainError, \ |
32 RelocatedError |
32 RelocatedError |
33 from VirtualMailManager.Relocated import Relocated |
33 from VirtualMailManager.Relocated import Relocated |
34 from VirtualMailManager.Transport import Transport |
34 from VirtualMailManager.Transport import Transport |