Converted to new-style class, added __slots__, updated queries.
Use the _uid attribute in queries whenever it is possible.
===0.5.1===2009-08-12PascalVolk<neverseen@users.sourceforge.net>*NEWS,UPGRADE,VirtualMailManager/constants/VERSION.py:Releasedvmm-0.5.1[dc98cc162c66][vmm-0.5.1]*pgsql-relocated_maps.cf,pgsql-smtpd_sender_login_maps.cf,pgsql-transport.cf,pgsql-virtual_alias_maps.cf,pgsql-virtual_gid_maps.cf,pgsql-virtual_mailbox_domains.cf,pgsql-virtual_mailbox_maps.cf,pgsql-virtual_uid_maps.cf:SetdefaultvalueofhoststolocalhostUpdatedcomments2009-08-09PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Config.py:Replacedthelastnonencodedprintstatement.*install.sh,upgrade.sh:DonowstrictPOSIXcompliantstringcomparisoninexpressions.Fixedatypoinupgrade.sh.*nearlyallfiles:Removedthesubversionkeywords$Date$,$Id$and$Rev$fromallfiles.2008-12-27PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Config.py:Config.configure():EliminatedanotherUnicodeEncodeError.*vmm.cfg:removedsinglequotesaroundbin.postconfThankstosamfischforreportingbothbugs2008-12-23PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Config.py:fixedparenthesisinConfig.configure()*setup.py:adjustedlong_descriptionupdatedurltohttp://vmm.localdomain.org/*vmm:fixedUnicodeDecodeError,thatcouldoccurwithGermanlocale2008-12-08PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/VirtualMailManager.py,VirtualMailManager/Config.py:Addedsupportforvariable"vmm.cfg"locationin/root:/usr/local/etc:/etc===0.5===2008-11-26PascalVolk<neverseen@users.sourceforge.net>*NEWS:Addedtorepository.News(enhancements,bugfixes)fornonprogrammers*VirtualMailManager/constants/VERSION.py:Updatedversionfrom0.5-devto0.52008-09-16PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/ext/Postconf.py:AddedtorepositorytoreadsomePostfixsettings2008-09-09PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Domain.py,vmm,VirtualMailManager/VirtualMailManager.py:Addedrelocatedstuff2008-09-08PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/EmailAddress.py:Addedtorepository,tosimplify/reduceaddressvalidation2008-09-01PascalVolk<neverseen@users.sourceforge.net>*create_optional_types_and_functions.pgsql:Addedtorepository,forfasterdatabaselookups2008-08-29PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/VirtualMailManager.py:FixedDIGEST-MD5hashgeneration.2008-08-23PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Exceptions.py:FixedAttributeErrorinclassVMMExceptiononolderPythoninstallations.(VMMExceptioninstancehasnoattribute'message')2008-08-22PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Domain.py,VirtualMailManager/AliasDomain.pyVirtualMailManager/VirtualMailManager.py:didsomealiasdomainmodifications/enhancements*vmm:Implementedw_std()towriteencodedoutputtostdout2008-08-19PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Config.py.VirtualMailManager/VirtualMailManager.py,vmm:RenamedclassVMMConfig->ConfigAdjustedConfigimport2008-08-16PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/VirtualMailManager.py,VirtualMailManager/Domain.py:Addedaliasdomainstuff2008-08-14PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Account.py,VirtualMailManager/Domain.py:adjustedtomodifieddatabaselayout*create_tables.pgsql,update_tables_0.4.x-0.5.pgsql:modifieddatabaselayout2008-08-07PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Account.py:Account.getInfo()addedi18nstuff2008-08-06PascalVolk<neverseen@users.sourceforge.net>*vmm(_getOrder):Respectvmm.cfg/maildir/diskusagesettings*VirtualMailManager/VirtualMailManager.py:Addsawarningifadirectorynotexists:VirtualMailManager.__getDiskUsage()VirtualMailManager.__maildirdelete()VirtualMailManager.__domdirdelete()Implemented:VirtualMailManager.__isdir()VirtualMailManager.cfgGetBoolean()VirtualMailManager.cfgGetInt()VirtualMailManager.cfgGetString()*po/vmm.pot,po/de.po:Updated2008-06-17PascalVolk<neverseen@users.sourceforge.net>*install.sh,upgrade.sh:fixed$MANDIR*vmm:removedBELescapesequences2008-06-11PascalVolk<neverseen@users.sourceforge.net>*install.sh:removedverbosestufffixed(multilingual)manpagesinstallationstuff*man/man1/vmm1,man/man5/vmm.cfg.5:movedtosubfolders2008-05-25PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/VirtualMailManager.py(VirtualMailManager):Renamed:__idn2ascii()->idn2ascii()__ace2idna()->ace2idna()Implementeddomain_list()somesmallcodecleanups*vmm:Implementeddomain_list()somesmallcodecleanups*VirtualMailManager/Domain.py:Implementedsearch()2008-05-18PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Account.py,VirtualMailManager/Alias.py,VirtualMailManager/Config.py,VirtualMailManager/Domain.py,VirtualMailManager/MailLocation.py,VirtualMailManager/Transport.py,VirtualMailManager/VirtualMailManager.py,po/de.po,po/vmm.pot,vmm:completedgettextsupport2008-05-15PascalVolk<neverseen@users.sourceforge.net>*vmm.cfg:nowvmm.cfgconformstoexampleinINSTALL.2008-05-13PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Alias.py,VirtualMailManager/MailLocation.py,VirtualMailManager/Account.py,VirtualMailManager/Transport.py,VirtualMailManager/VirtualMailManager.py,VirtualMailManager/Config.py,VirtualMailManager/Domain.py,vmm:Addedi18n(gettext)support*install.sh:Installmessageobjects2008-05-10PascalVolk<neverseen@users.sourceforge.net>*install.sh:Shouldnowalsoworkonall*BSDs2008-05-01PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/VirtualMailManager.py(VirtualMailManager.__chkenv()):Createthebasedirectorywithcorrectaccessmodeandgid,ifitdoesnotexistyet.*update_config_0.3.x-0.4.py,update_tables_0.3.x-0.4.py,UPGRADE,upgrade.sh:removedbecausevmm0.4wasreleased===0.4-r41===2008-05-01PascalVolk<neverseen@users.sourceforge.net>*create_tables.pgsql:fixedtypoinCREATETABLEusers*install.sh,upgrade.sh:Addedagain$PF_GID(wasremovedwithr19)2008-04-30PascalVolk<neverseen@users.sourceforge.net>*UPGRADE:addedhintforvirtual_mailbox_domainsinUPGRADE===0.4===2008-04-30PascalVolk<neverseen@users.sourceforge.net>*vmm.1,vmm.cfg.5:Rewordedsomeparts.*vmm:Addedfunction_getOrder()fora(hopefully)betterstructuredoutputfromthedomaininfo,userinfoandgetusersubcommands.2008-04-28PascalVolk<neverseen@users.sourceforge.net>*vmm.cfg:*update_config_0.3.x-0.4.py:*VirtualMailManager/VirtualMailManager.py:*VirtualMailManager/Config.py:Movedoption'base'fromsection'maildir'tosection'domdir'*VirtualMailManager/Account.py(Account._setAddr()):Removedparameter'address'*VirtualMailManager/Domain.py(Domain.getAccounts(),Domain.getAliases()):Added'ORDER BY'clauseinqueries.+setup.py:Adjustedtroveclassifiers.2008-04-21PascalVolk<neverseen@users.sourceforge.net>*create_tables.pgsql(tableusers):Replacedcolumn'disabled'withcolumnssmpt,pop3,imapandmanagesieve*create_tables.pgsql(viewdovecot_password):updatedview,addedservicecolumnssmpt,pop3,imapandmanagesieve*update_tables_0.3.x-0.4.py:Updatedtoconsiderthepointsabovementioned*vmm.cfg:Addedsection»services«withoptions:smtp,pop3,imapandmanagesieve*update_config_0.3.x-0.4.py,VirtualMailManager/Config.py:Updated,toaddnewsection»services«*VirtualMailManager/Account.py(Account._switchState(),Account.enable(),Account.disable(),Account.save(),Account.getInfo()),VirtualMailManager/VirtualMailManager.py(VirtualMailManager.user_add(),VirtualMailManager.user_disable(),VirtualMailManager.user_enable()),vmm(usage(),user_disable(),user_enable()):Modified,tofitnewdatabasestructure*UPGRADE,INSTALL:Updatedinformation*update_tables_0.4-dev_r24.py:Addedtemporarytotherepository2008-04-18PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Account.py:ImplementedgetAccountByID()*VirtualMailManager/VirtualMailManager.py(VirtualMailManager):*vmm:Implementeduser_byID()2008-04-15PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Account.py(Account.modify()):*vmm(main):Addedcodeformodifyuser's transport * VirtualMailManager/VirtualMailManager.py: Implemented VirtualMailManager.user_transport() * VirtualMailManager/VirtualMailManager.py (VirtualMailManager.domain_transport()): * vmm: * VirtualMailManager/Domain.py (Domain.updateTransport()): Added code to optional force new transport for all existing accounts.2008-04-14 Pascal Volk <neverseen@users.sourceforge.net> * VirtualMailManager/VirtualMailManager.py: Implemented: VirtualMailManager.__getSalt(), VirtualMailManager.__pwCrypt(), VirtualMailManager.__pwSHA1(), VirtualMailManager.__pwMD5() and VirtualMailManager.__pwMD4() updated VirtualMailManager.__pwhash() * VirtualMailManager/constants/VERSION.py: Set Version to 0.4-dev * INSTALL: Added hint for python-crypto, fixed user_query2008-04-10 Pascal Volk <neverseen@users.sourceforge.net> * update_tables_0.3.x-0.4.py: Replaced view dovecot_user * create_tables.pgsql (VIEW: dovecot_user): Added extra field mail * UPGRADE: fixed filename, hint for view permissions and user_query * INSTALL: Replaced mail_extra_groups with mail_privileged_group, updated user_query2008-04-06 Pascal Volk <neverseen@users.sourceforge.net> * install.sh: Removed $PF_GID * INSTALL: Added hints for pyPgSQL and smtpd_recipient_restrictions * update_config_0.3.x-0.4.py: * upgrade.sh: * UPGRADE: Added to repository * VirtualMailManager/VirtualMailManager.py (VirtualMailManager.__init__): Don'tcallVirtualMailManager.__chkenv()ifvmmisstartedwithoptionconfigure.*VirtualMailManager/VirtualMailManager.py(VirtualMailManager.__chkenv):Addedvalueforplaceholderinerrormessage.2008-03-05PascalVolk<neverseen@users.sourceforge.net>*create_tables.pgsql:Removedunneedednewlinesfromviewsdovecot_userandpostfix_uid*update_tables_0.2.x-0.3.pgsql:Removedfromrepository*update_tables_0.3.x-0.4.py:Addedtorepository2008-03-04PascalVolk<neverseen@users.sourceforge.net>*VirtualMailManager/Alias.py:*VirtualMailManager/VirtualMailManager.py:*vmm:Nowit's possible to delete an alias with a specific destination2008-03-03 Pascal Volk <neverseen@users.sourceforge.net> * pgsql-virtual_mailbox_domains.cf: Added to repository * INSTALL: fixed postfix docu2008-03-02 Pascal Volk <neverseen@users.sourceforge.net> * create_tables.pgsql: Added view vmm_domain_info * VirtualMailManager/Alias.py: Removed attribute Alias._aid Removed parameter basedir from Alias.__init__() and Alias._setAddr() * VirtualMailManager/MailLocation.py: Fixed typo in MailLocation.__init__() * VirtualMailManager/Account.py: Integrated Transport- and MailLocation-stuff Removed attributes: Account._base and Account._home * VirtualMailManager/VirtualMailManager.py: some small fixes * VirtualMailManager/Domain.py: Added Transport-stuff * vmm.cfg: Added option transport in section misc * pgsql-transport.cf: changed query for new table layout * pgsql-smtpd_sender_login_maps.cf: added missing single quote in query2008-02-02 Pascal Volk <neverseen@users.sourceforge.net> * create_tables: Renamed table maildir to maillocation Added transport id to table domains, for default transport * VirtualMailManager/Transport.py: * VirtualMailManager/MailLocation.py: Added to repository * VirtualMailManager/constants/ERROR.py: Added error codes for MailLocation and Transport classes * VirtualMailManager/Exceptions.py: Added exception classes for MailLocation and Transport2008-01-18 Pascal Volk <neverseen@users.sourceforge.net> * create_tables.pgsql: Removed unneeded sequences 'alias_id' and 'relocated_id'. Removed unneeded column 'id' from table 'alias' and 'relocated'.2008-01-15 Pascal Volk <neverseen@users.sourceforge.net> * create_tables.pgsql: Redesign of table layout, create separate tables for maildir-folder and transport. Also assign transport to users not to domains2008-01-11 Pascal Volk <neverseen@users.sourceforge.net> * vmm (usage): Fixed a syntax error.2008-01-09 Pascal Volk <neverseen@users.sourceforge.net> * install.sh: Also install docs * VirtualMailManager/Account.py: * VirtualMailManager/Alias.py: * VirtualMailManager/Config.py: * VirtualMailManager/Domain.py: * VirtualMailManager/Exceptions.py: * VirtualMailManager/VirtualMailManager.py: * setup.py: * vmm: Included global version number. * VirtualMailManager/constants/VERSION.py: Added to repository.2008-01-09 Pascal Volk <neverseen@users.sourceforge.net> * VirtualMailManager/Account.py: * VirtualMailManager/Alias.py: * VirtualMailManager/Domain.py: * VirtualMailManager/VirtualMailManager.py: * vmm: Replaced email with e-mail. Corrected opening/closing quotation marks («word» -> »word«). * VirtualMailManager/VirtualMailManager.py: Renamed VirtualMailManager.__chkEmailadress to VirtualMailManager.__chkEmailAddress. * ChangeLog: Added to repository.=== 0.3.1 ===2008-01-08 Pascal Volk <neverseen@users.sourceforge.net> * vmm (getVMM): Fixed names names of excepted errors. * VirtualMailManager/VirtualMailManager.py (VirtualMailManager.__init__): activated check for missing sections/options * vmm-0.3.1.tar.bz2: It'sreallybzip2compressed.;-)