Pascal Volk <user@localhost.localdomain.org> [Thu, 31 May 2012 18:48:00 +0000] rev 556
pgsql: Added helper script: set-permissions.py.
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 13:17:21 +0200] rev 555
Provide list{addresses,aliases,users,relocated} subcommands
The patch provides the list{addresses,aliases,users,relocated} subcommands to
the UI. All commands actually take the same path in the code and only one
query is run with different parameters for each case.
There are still two shortcomings:
1. With alias domains, the output order is not as one might want it, e.g.
foo@example.org
bar@example.org
foo@example.com
bar@example.com
when it should really be foo@ twice and then bar@ twice. I have not found
a way to modify the SQL accordingly.
2. The SELECT queries for Accounts, Alias and Relocated are hard-coded in
common.py.
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 19:56:21 +0200] rev 554
man: escape hyphens
Hyphens inside words must be spelt \- instead of just -. This patch fixes up
the manpages.
* * *
.
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 19:47:58 +0200] rev 553
man: add 'catchall' to domaininfo
Since the addition of catchall, the domaininfo subcommand can also take
'catchall' as a [detail] to limit the output of details to the catch-all
aliases.
Also, the number of catch-all destinations is now included in the simple
domaininfo output.
Pascal Volk <user@localhost.localdomain.org> [Sun, 15 Apr 2012 16:17:50 +0000] rev 552
man: vmm1: Use `fqdn' instead of `domain' in catchall* descriptions.
Fixed a typo s/cadd/cad/. Replaced double quotes by \(dq.
Pascal Volk <user@localhost.localdomain.org> [Sun, 15 Apr 2012 15:56:01 +0000] rev 551
VMM/cli/subcommands: Use the `fqdn' argument placeholder also for
catch-all subcommands.
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 17:51:00 +0200] rev 550
Fix transport_maps function for non-existent domains
The postfix_transport_maps function had a bug causing
2012-04-15 17:40:22 CEST LOG: statement: SELECT transport FROM postfix_transport_map('logcheck', 'domine.madduck.net');
2012-04-15 17:40:22 CEST ERROR: query returned no rows
when the domain was not in the database. This would make did be NULL and make
the query fail.
This patch moves the tid query until after a check for did. If the latter is
NULL, the function RETURNs (rather than fails).
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 17:36:26 +0200] rev 549
Revert caching of destination interpolation
Since 'destination' comes from the table in the query, it cannot be cached
across queries! Doh!
Pascal Volk <user@localhost.localdomain.org> [Sun, 15 Apr 2012 15:30:16 +0000] rev 548
pgsql: update_tables_*: Added missing `NOT' to `… tid DROP NOT NULL;'.
Pascal Volk <user@localhost.localdomain.org> [Sun, 15 Apr 2012 12:54:16 +0000] rev 547
pgsql: Create column `note' as text.