VirtualMailManager/VirtualMailManager.py
changeset 113 e35755191ff3
parent 109 766299a8639d
child 115 21f264a88ab2
equal deleted inserted replaced
112:d1f345f91e1c 113:e35755191ff3
   599             acc.setPassword(self.__pwhash(password))
   599             acc.setPassword(self.__pwhash(password))
   600         acc.save(self.__Cfg.get('maildir', 'name'),
   600         acc.save(self.__Cfg.get('maildir', 'name'),
   601                 self.__Cfg.getboolean('services', 'smtp'),
   601                 self.__Cfg.getboolean('services', 'smtp'),
   602                 self.__Cfg.getboolean('services', 'pop3'),
   602                 self.__Cfg.getboolean('services', 'pop3'),
   603                 self.__Cfg.getboolean('services', 'imap'),
   603                 self.__Cfg.getboolean('services', 'imap'),
   604                 self.__Cfg.getboolean('services', 'managesieve'))
   604                 self.__Cfg.getboolean('services', 'sieve'))
   605         self.__mailDirMake(acc.getDir('domain'), acc.getUID(), acc.getGID())
   605         self.__mailDirMake(acc.getDir('domain'), acc.getUID(), acc.getGID())
   606 
   606 
   607     def aliasAdd(self, aliasaddress, targetaddress):
   607     def aliasAdd(self, aliasaddress, targetaddress):
   608         alias = self.__getAlias(aliasaddress, targetaddress)
   608         alias = self.__getAlias(aliasaddress, targetaddress)
   609         alias.save(long(self._postconf.read('virtual_alias_expansion_limit')))
   609         alias.save(long(self._postconf.read('virtual_alias_expansion_limit')))