* 'VirtualMailManager/VirtualMailManager.py'
- implemented:
* VirtualMailManager.__getSalt()
* VirtualMailManager.__pwCrypt()
* VirtualMailManager.__pwSHA1()
* VirtualMailManager.__pwMD5()
* VirtualMailManager.__pwMD4()
- updated VirtualMailManager.__pwhash()
* 'VirtualMailManager/constants/VERSION.py'
- set version to 0.4-dev
* 'INSTALL'
- added hint for python-crypto
- updated user_query
#!/usr/bin/env python# -*- coding: UTF-8 -*-# Copyright 2007-2008 VEB IT# See COPYING for distribution information.# $Id$"""Exception classes for Virtual Mail Manager"""fromconstants.VERSIONimportVERSION__author__='Pascal Volk <p.volk@veb-it.de>'__version__=VERSION__revision__='rev '+'$Rev$'.split()[1]__date__='$Date$'.split()[1]classVMMException(Exception):"""Ausnahmeklasse für die Klasse VirtualMailManager"""def__init__(self,msg):Exception.__init__(self,msg)classVMMConfigException(Exception):"""Ausnahmeklasse für Konfigurationssausnamhem"""def__init__(self,msg):Exception.__init__(self,msg)classVMMPermException(Exception):"""Ausnahmeklasse für Berechtigungsausnamhem"""passclassVMMNotRootException(Exception):"""Ausnahmeklasse für unberechtige Zugriffe"""def__init__(self,msg):Exception.__init__(self,msg)classVMMDomainException(VMMException):"""Ausnahmeklasse für Domainausnamhem"""def__init__(self,msg):VMMException.__init__(self,msg)classVMMAccountException(VMMException):"""Ausnahmeklasse für Accountausnamhem"""def__init__(self,msg):VMMException.__init__(self,msg)classVMMAliasException(VMMException):"""Exception class for Alias exceptions"""def__init__(self,msg):VMMException.__init__(self,msg)classVMMMailLocationException(VMMException):"""Exception class for MailLocation exceptions"""def__init__(self,msg):VMMException.__init__(self,msg)classVMMTransportException(VMMException):"""Exception class for Transport exceptions"""def__init__(self,msg):VMMException.__init__(self,msg)