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(-)