VirtualMailManager/VirtualMailManager.py
changeset 138 617f27715b01
parent 136 fb61f64e6351
child 140 ffac064bd728
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     2 # Copyright (c) 2007 - 2009, VEB IT
     2 # Copyright (c) 2007 - 2009, VEB IT
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """The main class for vmm."""
     5 """The main class for vmm."""
     6 
     6 
     7 from constants.VERSION import *
     7 
     8 
       
     9 import os
       
    10 import re
       
    11 from encodings.idna import ToASCII, ToUnicode
     8 from encodings.idna import ToASCII, ToUnicode
    12 from getpass import getpass
     9 from getpass import getpass
    13 from shutil import rmtree
    10 from shutil import rmtree
    14 from subprocess import Popen, PIPE
    11 from subprocess import Popen, PIPE
    15 
    12 
    16 from pyPgSQL import PgSQL # python-pgsql - http://pypgsql.sourceforge.net
    13 from pyPgSQL import PgSQL # python-pgsql - http://pypgsql.sourceforge.net
    17 
    14 
    18 import constants.ERROR as ERR
    15 from __main__ import os, re, ENCODING, ERR, w_std
    19 from __main__ import ENCODING, w_std
       
    20 from ext.Postconf import Postconf
    16 from ext.Postconf import Postconf
    21 from Account import Account
    17 from Account import Account
    22 from Alias import Alias
    18 from Alias import Alias
    23 from AliasDomain import AliasDomain
    19 from AliasDomain import AliasDomain
    24 from Config import Config as Cfg
    20 from Config import Config as Cfg