VirtualMailManager/Handler.py
branchv0.6.x
changeset 256 ae80282301a3
parent 255 d2ddd4a6528d
child 259 6c699837b4d4
--- a/VirtualMailManager/Handler.py	Sat Apr 17 21:39:00 2010 +0000
+++ b/VirtualMailManager/Handler.py	Sun Apr 18 15:42:46 2010 +0000
@@ -21,7 +21,7 @@
 from pyPgSQL import PgSQL  # python-pgsql - http://pypgsql.sourceforge.net
 
 import VirtualMailManager.constants.ERROR as ERR
-from VirtualMailManager import ENCODING, exec_ok
+from VirtualMailManager import ENCODING, exec_ok, set_configuration
 from VirtualMailManager.Account import Account
 from VirtualMailManager.Alias import Alias
 from VirtualMailManager.AliasDomain import AliasDomain
@@ -73,8 +73,10 @@
         if not skip_some_checks:
             self._Cfg.check()
             self._chkenv()
-            self._scheme = self._Cfg.dget('misc.password_scheme')
-            self._postconf = Postconf(self._Cfg.dget('bin.postconf'))
+            # will be moved to the new password module and Alias
+            #self._scheme = self._Cfg.dget('misc.password_scheme')
+            #self._postconf = Postconf(self._Cfg.dget('bin.postconf'))
+        set_configuration(self._Cfg)
 
     def __findCfgFile(self):
         for path in ['/root', '/usr/local/etc', '/etc']: