If an alias has multiple destinations, multiple records exist, due to
the nature of the database. address_list would then return the same
alias multiple times, which does not add any information, eats screen
space and is potentially confusing.
Therefore, we SELECT DISTINCTly from the alias table.
Signed-off-by: martin f. krafft <madduck@debian.org>
---
VirtualMailManager/common.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
v0.6.02012-06-28PascalVolk<user+vmm@localhost.localdomain.org>*NowvmmsupportsDovecotv.2.0.xandv2.1.x*AddedsupportforPsycopg2*AddedsupportforBlowfish-,SHA-256-andSHA-512-cryptpasswordhashes.WorksalsowithDovecot<v2.0.x.Newsubcommand:listpwschemes*AddedsupportforPostgreSQL-baseddictionaryquotalimitsperuser.Configurablegloballyandperdomain.Newcommands:domainquotaanduserquota.(RequiresDovecot>=v1.1.2)*Commandaliasaddacceptsmultipledestinations.*Commanddomainaddcanautomaticallycreateapostmasteraccount.*Commanduseraddcangeneraterandompasswords.*Notescanbeassignedtodomainsandaccounts(byMartinF.Krafft).Newsubcommandsdomainnoteandusernote.*Thesubcommandsuserenableanduserdisablehavebeenreplacedbyuserservices.Itisnowalsopossibletoenable/disableservicesperdomainwiththeadditionalsubcommanddomainservices.*Newtranslation:Vietnamese+Catch-allsupport(byMartinF.Krafft)Newsubcommands:catchalladd,catchalldeleteandcatchallinfo.+Interpolatedaliasdestinations(byMartinF.Krafft).Forexample:Thealiaspostmaster@example.org→postmaster+%d@admin.example.orgwillforwardmailsaddressedtopostmaster@example.orgtopostmaster+example.org@admin.example.org.+Newsubcommands:configgetandconfigset.+NewsubcommandsbyMartinF.Krafft:listaddresses,listaliases,listrelocatedandlistusers+AddedsupportforDovecot's own high-performance mailbox formats single- and multi-dbox. - Fixed Python 2.6 DeprecationWarnings - Command domaindelete replaced keywords 'delalias', 'deluser' and 'delall' by the keyword 'force'. - Command listdomains lists now all matching domains, also when the result contains primary and alias names, but the found alias is not alias for any of the found primaries. - Commands userenable/userdisable accept multiple service names. The keyword 'all' has been removed. - Command userdelete replaced keyword 'delalias' by 'force'.v0.5.2 2009-09-09 Pascal Volk <neverseen@users.sf.net> * Now vmm supports Dovecot v1.2.x. * vmm.cfg: renamed services.managesieve to services.sieve, added misc.dovecotvers. * New translations: Dutch and French. + Improved error handling for the domaininfo, aliasdomaininfo, userinfo, aliasinfo and relocatedinfo subcommands. + Sorted alias listing in userinfo output. + Reduction of useless database lookups/updates. + Partly improved database lookups. - Fixed a libpq.OperationalError in Account.delete(). - Eliminated hopefully finally all (potential) UnicodeDecodeErrors.v0.5.1 2009-08-12 Pascal Volk <neverseen@users.sf.net> + Added support for a variable "vmm.cfg" location in /root, /usr/local/etc or /etc (see vmm.cfg(5)) - fixed a few UnicodeDecodeErrors - fixed a quoting mistake in vmm.cfgv0.5 2008-11-26 Pascal Volk <neverseen@users.sf.net> + gettext i18n support (German translation) + support for alias domains (add/info/switch/delete). + support for relocated users (add/info/delete). + base layout of the users Maildir is now configurable. Also a according "subscriptions" file will be created. + subcommand »listdomains«: lists all configured domains or domains that matches the specified search pattern. + subcommand »userinfo« can additional display assigned alias addresses. + subcommand »aliasadd« checks Postfix's"virtual_alias_recursion_limit"beforeaddinganadditionaldestinationaddress.+optionalSQLfunctions(seecreate_optional_types_and_functions.pgsql)-»useradd«/»userpassword«:fixedbehaviorofinteractivepasswordprompt.-fixedsomeencodingproblems(UnicodeEncodeErrors).-fixedbugingenerationofDIGEST-MD5hashes.