martin f. krafft <madduck@debian.org> [Wed, 08 Aug 2012 14:37:29 +0000] rev 586
VMM/common: Improve search_address complexity
Checking the dictionary (a hash) for existence of a key is likely to be
O(log(n)), while checking a list is O(n). Therefore, to increase
performance, this patch changes the check accordingly.
Pascal Volk <user@localhost.localdomain.org> [Tue, 07 Aug 2012 23:55:41 +0000] rev 585
doc/web: Refreshed vmm.cfg
Pascal Volk <user@localhost.localdomain.org> [Tue, 07 Aug 2012 23:50:11 +0000] rev 584
vmm.cfg: Updated/improved comments.
"martin f. krafft" <madduck@debian.org> [Tue, 07 Aug 2012 21:54:39 +0000] rev 583
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(-)
"martin f. krafft" <madduck@debian.org> [Tue, 07 Aug 2012 21:53:41 +0000] rev 582
Due to the UNION query in address_list, the assumption that the list of
gids received from the database would be continuous does not hold.
To prevent addresses for domains with multiple entry types from being
listed, it is necessary to check the list of domain gids for every
entry.
Signed-off-by: martin f. krafft <madduck@debian.org>
---
VirtualMailManager/common.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Pascal Volk <user@localhost.localdomain.org> [Sun, 29 Jul 2012 16:44:20 +0000] rev 581
doc/web: Emphasized a few lines of Dovecot/PostgreSQL configuration
file excerpts.
Pascal Volk <user@localhost.localdomain.org> [Sun, 29 Jul 2012 14:56:14 +0000] rev 580
.hgignore: "doc/build" is no longer required.
Pascal Volk <user@localhost.localdomain.org> [Sun, 29 Jul 2012 14:46:52 +0000] rev 579
doc: Added source of http://vmm.localdomain.org/.
Pascal Volk <user@localhost.localdomain.org> [Sun, 29 Jul 2012 14:17:05 +0000] rev 578
doc: Moved API documentation to doc/api.
Pascal Volk <user@localhost.localdomain.org> [Sun, 22 Jul 2012 20:19:07 +0000] rev 577
INSTALL: Updated PostgreSQL configuration URL.
Use ${sql} and ${proxysql} expressions in the main.cf description.