VirtualMailManager/handler.py
branchv0.6.x
changeset 407 3162ff959375
parent 390 660b42391c8e
child 417 8209da83e256
equal deleted inserted replaced
406:58e23bd7c97f 407:3162ff959375
   429             dom.set_transport(Transport(self._dbh,
   429             dom.set_transport(Transport(self._dbh,
   430                               transport=self._cfg.dget('misc.transport')))
   430                               transport=self._cfg.dget('misc.transport')))
   431         else:
   431         else:
   432             dom.set_transport(Transport(self._dbh, transport=transport))
   432             dom.set_transport(Transport(self._dbh, transport=transport))
   433         dom.set_quotalimit(QuotaLimit(self._dbh,
   433         dom.set_quotalimit(QuotaLimit(self._dbh,
   434                            bytes=self._cfg.dget('misc.quota_bytes'),
   434                            bytes=long(self._cfg.dget('misc.quota_bytes')),
   435                            messages=self._cfg.dget('misc.quota_messages')))
   435                            messages=self._cfg.dget('misc.quota_messages')))
   436         dom.set_directory(self._cfg.dget('misc.base_directory'))
   436         dom.set_directory(self._cfg.dget('misc.base_directory'))
   437         dom.save()
   437         dom.save()
   438         self._make_domain_dir(dom)
   438         self._make_domain_dir(dom)
   439 
   439