Pascal Volk <user@localhost.localdomain.org> [Sat, 05 Jan 2013 23:49:42 +0000] rev 675
Updated copyright notices to include the year 2013.
Pascal Volk <user@localhost.localdomain.org> [Sat, 05 Jan 2013 18:39:15 +0000] rev 674
VMM/config: Post-2to3 fix. PEP8-ified imports.
Pascal Volk <user@localhost.localdomain.org> [Sat, 05 Jan 2013 18:33:52 +0000] rev 673
VMM: Post-2to3 fix. Use the re.ASCII flag for ASCII-only patterns.
The local-part of an email address and Postfix configuration parameters
may contain only ASCII characters.
Pascal Volk <user@localhost.localdomain.org> [Sat, 05 Jan 2013 18:23:05 +0000] rev 672
VMM/network: Post-2to3 fix. s/addr.encode('hex')/b2a_hex(addr).
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 18:13:56 +0000] rev 671
VMM/*: Post-2to3 fix. Updated some error messages/comments.
Replaced `long' by `int' - part II.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 18:08:23 +0000] rev 670
VMM/*: Post-2to3 fix. Updated some error messages/comments.
Replaced `long' by `int' (or integer).
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 16:41:19 +0000] rev 669
VMM/cli/clihelp: Removed module clihelp.
It's no longer needed. Online help is included in the subcommand module.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 16:16:09 +0000] rev 668
VMM/cli: Small cleanup.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 16:15:13 +0000] rev 667
VMM/constants: Removed constants, which are obsolete now.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 16:12:18 +0000] rev 666
VMM/cli/main: Adjusted to new argparse functionality.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Dec 2012 16:10:29 +0000] rev 665
VMM/cli/subcommands: Switched argument parsing over to argparse.
Pascal Volk <user@localhost.localdomain.org> [Fri, 21 Dec 2012 12:28:56 +0000] rev 664
VMM/password: Added scheme CLEAR.
Pascal Volk <user@localhost.localdomain.org> [Sun, 09 Dec 2012 17:34:10 +0000] rev 663
VMM/cli: Deleted unnecessary encode()s from read_pass.
Pascal Volk <user@localhost.localdomain.org> [Sun, 09 Dec 2012 15:03:33 +0000] rev 662
merged changes from default(29295afafa91)
Pascal Volk <user@localhost.localdomain.org> [Sun, 09 Dec 2012 14:59:46 +0000] rev 661
VMM/account: Fixed a typo in Account.delete().
Due to a wrong placed comma `userdelete … force' ended in a TypeError.
Pascal Volk <user@localhost.localdomain.org> [Sat, 08 Dec 2012 14:48:30 +0000] rev 660
VMM/mailbox: Decode error messages from doveadm.
Those errors occur only with the dbox mailbox format when the
mailbox.folders contains non-ASCII mailbox names.
Pascal Volk <user@localhost.localdomain.org> [Mon, 03 Dec 2012 19:19:52 +0000] rev 659
VMM/cli/config: … encode/decode …
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Dec 2012 15:51:17 +0000] rev 658
VMM{/cli}/config: Explicitly pass utf-8 as the encoding to open().
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Dec 2012 14:54:24 +0000] rev 657
VMM/cli/subcommands: Fixed some encode/decode issues.
Pascal Volk <user@localhost.localdomain.org> [Sat, 01 Dec 2012 17:25:11 +0000] rev 656
VMM/cli/subcommands: Print usable password schemes in sorted order.
Pascal Volk <user@localhost.localdomain.org> [Mon, 26 Nov 2012 22:07:20 +0000] rev 655
VMM/password: Code cleanups:
- Rely no longer on Crypto.Hash for md4 support. Python's hashlib
on FreeBSD, Linux and OpenBSD provides the md4 hash.
- Dropped DIGEST-MD5 password hashing for Dovecot <= v1.1.12/v1.2.beta2
Pascal Volk <user@localhost.localdomain.org> [Mon, 26 Nov 2012 19:04:38 +0000] rev 654
VMM/cli: Avoid UnicodeDecodeErrors with some „obsolete“ encodings.
Pascal Volk <user@localhost.localdomain.org> [Sun, 25 Nov 2012 17:06:17 +0000] rev 653
VMM: Post-2to3 fixes.
Added, (re)moved some (en|de)code() calls.
Pascal Volk <user@localhost.localdomain.org> [Sun, 25 Nov 2012 14:37:09 +0000] rev 652
VMM: Post-2to3 fix.
Don't pass 'str=1' ('unicode=1' before 2to3) to gettext.install().
Pascal Volk <user@localhost.localdomain.org> [Sat, 24 Nov 2012 22:48:12 +0000] rev 651
VMM/password: Post-2to3 fixes.
Replaced ….encode('hex') and ….encode('base64') by b64encode(…)
and b2a_hex(…). Added some necessary encode() and decode() calls.
Fixed NTLM hash generating with non ASCII characters.
Pascal Volk <user@localhost.localdomain.org> [Thu, 22 Nov 2012 18:31:55 +0000] rev 650
VMM/config: s/_boolean_states/BOOLEAN_STATES/g
Pascal Volk <user@localhost.localdomain.org> [Thu, 22 Nov 2012 12:49:36 +0000] rev 649
VMM/handler: Dropped psycopg2 typecaster registration.
Pascal Volk <user@localhost.localdomain.org> [Wed, 21 Nov 2012 22:37:22 +0000] rev 648
VMM/handler: Reworked config file permission check.
Pascal Volk <user@localhost.localdomain.org> [Wed, 21 Nov 2012 13:13:31 +0000] rev 647
merged changes from default(86c2ed36aba8)
Pascal Volk <user@localhost.localdomain.org> [Wed, 21 Nov 2012 12:53:56 +0000] rev 646
po: Updated Finnish translation (translated by Jorma Karvonen).
Pascal Volk <user@localhost.localdomain.org> [Tue, 20 Nov 2012 13:55:46 +0000] rev 645
Updated shebang to use python3 instead of python.
Pascal Volk <user@localhost.localdomain.org> [Tue, 20 Nov 2012 13:48:00 +0000] rev 644
pgsql/set-permissions.py: Ran 2to3 from Python 3.2.3.
Pascal Volk <user@localhost.localdomain.org> [Tue, 20 Nov 2012 13:40:32 +0000] rev 643
Ran 2to3 from Python 3.2.3.
Pascal Volk <user@localhost.localdomain.org> [Sun, 11 Nov 2012 16:53:52 +0000] rev 642
Use the with statement for file operations.
Pascal Volk <user@localhost.localdomain.org> [Tue, 06 Nov 2012 23:23:55 +0000] rev 641
VMM/config: Undone changeset 90d69ae4f40d.
Pascal Volk <user@localhost.localdomain.org> [Tue, 06 Nov 2012 21:45:50 +0000] rev 640
VMM/cli/subcommands: Code cleanup in list_pwschemes().
Pascal Volk <user@localhost.localdomain.org> [Tue, 06 Nov 2012 19:46:06 +0000] rev 639
setup.py: PEP-314-ified.
Distutils setup() function now has the 'requires` keyword parameter.
Pascal Volk <user@localhost.localdomain.org> [Mon, 05 Nov 2012 21:57:37 +0000] rev 638
VMM: Partial PEP-308-ification.
Pascal Volk <user@localhost.localdomain.org> [Sun, 04 Nov 2012 18:33:11 +0000] rev 637
VMM: Removed module pycompat.
Pascal Volk <user@localhost.localdomain.org> [Sun, 04 Nov 2012 18:02:19 +0000] rev 636
VMM/pycompat: Removed module hashlib.
Pascal Volk <user@localhost.localdomain.org> [Sat, 03 Nov 2012 16:22:48 +0000] rev 635
doc/web: Updated OpenBSD's package names.
Pascal Volk <user@localhost.localdomain.org> [Wed, 31 Oct 2012 20:45:43 +0000] rev 634
doc/web: Fixed a typo.
Pascal Volk <user@localhost.localdomain.org> [Tue, 30 Oct 2012 20:09:40 +0000] rev 633
VMM/password: Added scheme SCRAM-SHA-1.
Pascal Volk <user@localhost.localdomain.org> [Sun, 28 Oct 2012 18:57:49 +0000] rev 632
Documentation: Fixed dictionary quota URI.
Pascal Volk <user@localhost.localdomain.org> [Sun, 28 Oct 2012 12:59:30 +0000] rev 631
install.sh: Don't fail if $SYSCONFDIR doesn't exist.
Pascal Volk <user@localhost.localdomain.org> [Wed, 24 Oct 2012 19:04:32 +0000] rev 630
doc/web/ext_references: Fixed URL of pg_hba.conf.
Pascal Volk <user@localhost.localdomain.org> [Fri, 19 Oct 2012 15:27:28 +0000] rev 629
doc/web: Added links to the Debian package and the git repos.
README: Added git-URL.
Pascal Volk <user@localhost.localdomain.org> [Wed, 03 Oct 2012 12:51:35 +0000] rev 628
Added tag vmm-0.6.1 for changeset 682431c45b24
Pascal Volk <user@localhost.localdomain.org> [Wed, 03 Oct 2012 12:51:24 +0000] rev 627
Released vmm-0.6.1
Pascal Volk <user@localhost.localdomain.org> [Wed, 03 Oct 2012 12:43:27 +0000] rev 626
doc/web: Updated documentation for vmm-0.6.1.
martin f. krafft <madduck@madduck.net> [Tue, 02 Oct 2012 07:47:20 +0200] rev 625
Add list* commands to manpages
Pascal Volk <user@localhost.localdomain.org> [Mon, 01 Oct 2012 18:57:44 +0000] rev 624
UPGRADE: Added procedure for updating from v0.6.0.
Pascal Volk <user@localhost.localdomain.org> [Sun, 30 Sep 2012 16:09:37 +0000] rev 623
update_config: Updated to work with version 0.6.0.
Fixed some PEP8 related issues.
Pascal Volk <user@localhost.localdomain.org> [Sat, 29 Sep 2012 17:13:29 +0000] rev 622
doc/web: Updated and extended documentation.
Updated description of subcommands aliasdelete and catchalldelete.
Added description of subcommands listaddresses, listaliases,
listrelocated and listusers.
Pascal Volk <user@localhost.localdomain.org> [Sat, 29 Sep 2012 15:57:24 +0000] rev 621
VMM/cli/clihelp: Added missing help messages.
Added descriptions of subcommands listaddresses, listaliases,
listrelocated and listusers.
Pascal Volk <user@localhost.localdomain.org> [Thu, 27 Sep 2012 20:20:49 +0000] rev 620
po: Updated Dutch translation (translated by Erwin Poeze).
Pascal Volk <user@localhost.localdomain.org> [Thu, 27 Sep 2012 20:03:05 +0000] rev 619
VMM/alias: Load destination addresses sorted.
This produces sorted output for the aliasinfo subcommand.
Pascal Volk <user@localhost.localdomain.org> [Thu, 27 Sep 2012 19:15:09 +0000] rev 618
VMM: {alias,catchall}delete: Accept multiple destinations.
Pascal Volk <user@localhost.localdomain.org> [Mon, 24 Sep 2012 19:13:51 +0000] rev 617
po: Updated Dutch translation (translated by Erwin Poeze).
Pascal Volk <user@localhost.localdomain.org> [Sun, 23 Sep 2012 17:22:42 +0000] rev 616
VMM/cli/main: Check if we have warnings before exiting.
If so, print them and exit afterwards.
Pascal Volk <user@localhost.localdomain.org> [Sun, 16 Sep 2012 17:09:45 +0000] rev 615
VMM/domain: Enabled transport-validation.
Validate the transport also in Domain.set_transport() and
Domain.update_transport().
Pascal Volk <user@localhost.localdomain.org> [Sun, 16 Sep 2012 17:05:33 +0000] rev 614
VMM: Moved transport-validation to common.
Pascal Volk <user@localhost.localdomain.org> [Sat, 15 Sep 2012 17:31:34 +0000] rev 613
VMM/account: Fixed account's transport check.
Make sure that 'virtual:' isn't used as transport when the mailbox-format
is set to mdbox or sdbox.
Pascal Volk <user@localhost.localdomain.org> [Wed, 12 Sep 2012 19:19:05 +0000] rev 612
po: Updated Dutch translation (translated by Erwin Poeze).
Pascal Volk <user@localhost.localdomain.org> [Wed, 05 Sep 2012 21:30:42 +0000] rev 611
PEP8: Fixed all PEP8 related issues.
Pascal Volk <user@localhost.localdomain.org> [Mon, 03 Sep 2012 22:40:01 +0000] rev 610
po: Regenerated vmm.pot
Pascal Volk <user@localhost.localdomain.org> [Mon, 03 Sep 2012 22:32:17 +0000] rev 609
Added a few comments for the Translation Project.
Pascal Volk <user@localhost.localdomain.org> [Mon, 03 Sep 2012 19:59:49 +0000] rev 608
VMM: Corrected/updated some msgids.
Unified some messages and corrected a few typos.
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 21:33:53 +0000] rev 607
VMM/cli/subcommands: Corrected username's usage string.
username's name argument is optional.
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 21:01:40 +0000] rev 606
VMM/cli: Activated help subcommand.
Implemented Command.help_(), which reads the command's help message from
cli.clihelp.
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 20:18:16 +0000] rev 605
VMM/handler: Fixed user{quota,services,transport} subcommands.
The subcommands user{quota,services,transport} actually failed with the
arguments '<address> domain'.
This is part II of changeset a75923ce2842
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 17:23:46 +0000] rev 604
doc/web: Added missing userservices description.
Fixed order of subcommand listing.
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 16:47:53 +0000] rev 603
man: Typo-fix.
Pascal Volk <user@localhost.localdomain.org> [Sun, 02 Sep 2012 15:24:41 +0000] rev 602
VMM/cli/subcommands: Corrected two usage strings.
domainnote's and usernote's note argument is optional.
Pascal Volk <user@localhost.localdomain.org> [Sat, 01 Sep 2012 23:02:01 +0000] rev 601
VMM: Decode localized numbers to the current encoding.
That avoids UnicodeDecodeErrors since locale.format(%d) may return localized
numbers, which contain NO-BREAK SPACE as the thousands separator.
Pascal Volk <user@localhost.localdomain.org> [Tue, 28 Aug 2012 22:37:43 +0000] rev 600
VMM/cli/subcommands: Don't mark empty strings as translatable.
gettext('') returns the header entry with meta information, not the empty
string.
Pascal Volk <user@localhost.localdomain.org> [Tue, 28 Aug 2012 00:52:50 +0000] rev 599
doc/web: Added description 'Upgrade to Dovecot ≧ v1.2.beta2'.
Pascal Volk <user@localhost.localdomain.org> [Mon, 27 Aug 2012 23:58:33 +0000] rev 598
pgsql: Added dovecot_update_v1.2+.pgsql.
Use this file when you are upgrading your Dovecot installation to
a version >= 1.2.beta2.
Pascal Volk <user@localhost.localdomain.org> [Mon, 27 Aug 2012 22:35:05 +0000] rev 597
VMM/cli/subcommands: Reverted accidentally committed help() code.
Pascal Volk <user@localhost.localdomain.org> [Mon, 27 Aug 2012 22:24:11 +0000] rev 596
pgsql/create_tables.pgsql: Eliminated two unnecessary differences.
Yeah, cosmetic only.
Pascal Volk <user@localhost.localdomain.org> [Mon, 27 Aug 2012 22:09:24 +0000] rev 595
pgsql: Don't select service_set.ssid in dovecotpassword() unconditional.
This may cause an empty result, which will make logins impossible.
Pascal Volk <user@localhost.localdomain.org> [Mon, 27 Aug 2012 20:49:31 +0000] rev 594
VMM/serviceset: Fixed a conditional ProgrammingError.
Affects only setups with Dovecot < v1.2.beta2. Actually the SQL query in
method ServiceSet._load_by_services wasn't updated.
Removed unnecessary code, which would have also produced a
ProgrammingError, if it would have been correct.
Pascal Volk <user@localhost.localdomain.org> [Thu, 23 Aug 2012 21:27:33 +0000] rev 593
VMM/cli/subcommands: Added 'missing' newline below domain notes.
This patch contains also a small code cleanup and PEP8-fix.
Pascal Volk <user@localhost.localdomain.org> [Sun, 19 Aug 2012 11:47:21 +0000] rev 592
doc/web: Added the transport filed to the usertransport example.
Pascal Volk <user@localhost.localdomain.org> [Sun, 12 Aug 2012 21:09:21 +0000] rev 591
doc/web: Added the 'Howto'.
The reStructuredText version of vmm.1, in multiple parts.
Pascal Volk <user@localhost.localdomain.org> [Sun, 12 Aug 2012 18:10:42 +0000] rev 590
man/{de/}man1: A few more corrections.
Pascal Volk <user@localhost.localdomain.org> [Sun, 12 Aug 2012 13:59:50 +0000] rev 589
man/{de/}man1: Small corrections for domaininfo's description.
Pascal Volk <user@localhost.localdomain.org> [Sun, 12 Aug 2012 13:31:44 +0000] rev 588
man/{de/}man5: s/Wiki/Homepage/g
Pascal Volk <user@localhost.localdomain.org> [Sat, 11 Aug 2012 16:13:12 +0000] rev 587
man/{de/}man1: s/Wiki/Homepage/g
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.
Pascal Volk <user@localhost.localdomain.org> [Sun, 01 Jul 2012 18:50:32 +0000] rev 576
README: Substituted a few words.
Pascal Volk <user@localhost.localdomain.org> [Sat, 30 Jun 2012 19:09:20 +0000] rev 575
README: Updated URL of the hg repository@sf.net.
Pascal Volk <user@localhost.localdomain.org> [Sat, 30 Jun 2012 16:21:26 +0000] rev 574
man: Deleted erroneous placed backslash.
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 21:40:08 +0000] rev 573
Added tag vmm-0.6.0 for changeset 3238c58d01ae
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 21:39:59 +0000] rev 572
Released vmm-0.6.0
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 19:26:50 +0000] rev 571
Merged changes from v0.6.x(28230a8230bf).
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 19:23:24 +0000] rev 570
Close v0.6.x branch.
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 18:48:37 +0000] rev 569
vmm: Don't insert the module directory into sys.path by default.
Doesn't make much sense, if the code is installed inside sys.path.
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 18:33:32 +0000] rev 568
Updated copyright notices to include the year 2012.
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 18:03:48 +0000] rev 567
TODO: Removed "listpwschemes" entry.
Was done with changeset a64c1b5e08b4
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 17:51:23 +0000] rev 566
UPGRADE: Updated documentation.
Pascal Volk <user@localhost.localdomain.org> [Thu, 28 Jun 2012 16:16:01 +0000] rev 565
VMM/cli/subcommands: Replaced the keyword `default' by `domain'.
Patch by Martin F. Krafft
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 21:36:36 +0000] rev 564
INSTALL: Added description how to create additional dove* user/group.
`doveauth' user and group for the authentication process and the group
`dovemail' for mail related Dovecot processes.
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 20:20:00 +0000] rev 563
INSTALL: Updated documentation.
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 20:15:06 +0000] rev 562
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 13:11:28 +0000] rev 561
VMM: The Python 2.4.x compatibility commit - part III.
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 12:46:27 +0000] rev 560
VMM/account: Check the account's transport only when we have a transport.
Pascal Volk <user@localhost.localdomain.org> [Wed, 27 Jun 2012 12:18:53 +0000] rev 559
VMM: The Python 2.4.x compatibility commit.
Pascal Volk <user@localhost.localdomain.org> [Thu, 14 Jun 2012 20:45:12 +0000] rev 558
pgsql/set-permissions.py: Extended permissions.
Postfix needs read access on the postfix_gid view. Dovecot needs read
permissions on both mailboxformat columns.
Pascal Volk <user@localhost.localdomain.org> [Thu, 14 Jun 2012 16:06:09 +0000] rev 557
VMM/handler: Restored method Handler.domain_transport().
It went somehow lost with changeset 5806fb74130b.
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.
martin f. krafft <madduck@madduck.net> [Sun, 15 Apr 2012 14:10:40 +0200] rev 546
Add docstring for common.format_domain_default
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 21:48:00 +0200] rev 545
Document domainnote in manpages
5806fb74130b did not contain this, so I must have forgotten it. Oops.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 22:56:52 +0200] rev 544
Remove domain/account notes from TODO
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 22:53:21 +0200] rev 543
Include account note in getuser output
Modify the getuser output to include an account note, if one is present
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 22:52:40 +0200] rev 542
Display formatted notes in info output
If the user/domain object has an attached note, this patch makes the
userinfo/domaininfo output print the note, wrapped to the terminal size.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 21:20:06 +0200] rev 541
Ignore *.egg-status build directory created by setuptools
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 15:44:23 +0200] rev 540
Add user/domainnote commands to manpages
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 13:29:01 +0200] rev 539
Add note field to Account/Domain and CLI
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 12:58:20 +0200] rev 538
Modify SQL to add note field to domain_data and users
Pascal Volk <user@localhost.localdomain.org> [Sat, 14 Apr 2012 16:02:46 +0000] rev 537
man: vmm.1: subcommand's name argument is optional now.
Based on martin f. krafft's v2 of changeset c340ba4bd544.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 14:33:21 +0200] rev 536
Allow username to take no argument to erase value
Once a username has been set, it could not be removed via the UI. Now, if no
argument is passed to username, the value stored is replaced with NULL.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 12:39:06 +0200] rev 535
Add inheritance as a feature to README
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 12:37:08 +0200] rev 534
Change 'force' argument to reset user records for tid/ssid/qid
If domain{quotalimit,transport,serviceset} are run with 'force' and settings
are inheritable from the domain, then rather than to copy the ID to the user
table, the affected field in the user records should be set to NULL so that
the domain default is used.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 00:36:43 +0200] rev 533
Change UI to accept 'default' to restore inherited values
Instead of explicit values for tid/ssid/qid, the UI now accepts 'default',
which removed user-pecific settings and hence causes domain defaults to be
used.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 23:24:12 +0200] rev 532
Modify userinfo output to indicate when domain defaults are displayed
When Account instances reference NULL tid/qid/ssid, the data must come from
the associated domain, and this should be indicated. For transport and
services, this is easy to do as the string passed in the info dict can simply
be modified. For quotalimit, however, another method must be used due to the
CLI-side formatting.
All approaches use a common formatter outsourced to the common.py file.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 23:09:40 +0200] rev 531
Modify Account class to handle NULL references
This patch modifies the Account class to defer to using the associated
domain's tid/ssid/qid fields if the per-instance fields are None/NULL.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 17:49:14 +0200] rev 530
Modify SQL update script to accept NULL fields for users
The value NULL in the qid/ssid/tid fields of the user table means that the
value from the associated domain record should be used instead.
This patch modifies the PL/pgSQL functions used by Dovecot and Postfix
accordingly.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 23:49:26 +0200] rev 529
man: Add examples for userservices
Pascal Volk <user@localhost.localdomain.org> [Sat, 14 Apr 2012 15:11:27 +0000] rev 528
Reverted previous three changesets (e09139525580, 85517c8fde36, 3acbff727626)
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 23:24:12 +0200] rev 527
Modify userinfo output to indicate when domain defaults are displayed
When Account instances reference NULL tid/qid/ssid, the data must come from
the associated domain, and this should be indicated. For transport and
services, this is easy to do as the string passed in the info dict can simply
be modified. For quotalimit, however, another method must be used due to the
CLI-side formatting.
All approaches use a common formatter outsourced to the common.py file.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 23:09:40 +0200] rev 526
Modify Account class to handle NULL references
This patch modifies the Account class to defer to using the associated
domain's tid/ssid/qid fields if the per-instance fields are None/NULL.
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 17:49:14 +0200] rev 525
Modify SQL update script to accept NULL fields for users
The value NULL in the qid/ssid/tid fields of the user table means that the
value from the associated domain record should be used instead.
This patch modifies the PL/pgSQL functions used by Dovecot and Postfix
accordingly.
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 11:50:33 +0200] rev 524
Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net> [Sat, 14 Apr 2012 10:41:10 +0200] rev 523
add domain/account notes to TODO
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 22:57:23 +0200] rev 522
Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net> [Fri, 13 Apr 2012 14:56:29 +0200] rev 521
Cache interpolated destination
Instead of running the string modification function for destination
interpolation twice, store the result once and use the stored result
subsequently.
Pascal Volk <user@localhost.localdomain.org> [Thu, 12 Apr 2012 18:22:54 +0000] rev 520
man: Use example.com in catchallinfo example output.
Pascal Volk <user@localhost.localdomain.org> [Thu, 12 Apr 2012 18:18:02 +0000] rev 519
README: reStructuredText fix: ERROR/3 and WARNING/2.
martin f. krafft <madduck@madduck.net> [Wed, 11 Apr 2012 16:23:27 +0200] rev 518
Enable interpolation of alias destinations
This patch modifies the virtual_alias_maps function so that the destination
address is parsed for the place holders %n, %d and %=, which are replaced with
the localpart, the domain or the full address with '@' replaced by '=' of the
queried key.
In combination with alias domains, this allows for domain-specific recipients.
E.g. given example.org and its alias domain example.com, defining an alias
postmaster@example.org → postmaster+%d@example.org
will cause mail to postmaster@example.*com* to go to
postmaster+example.*com*@example.org.
martin f. krafft <madduck@madduck.net> [Wed, 11 Apr 2012 09:08:19 +0200] rev 517
Add catch-all aliases to README/features
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 23:50:35 +0200] rev 516
Add catchall subcommands to manpages
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 23:50:18 +0200] rev 515
Include catch-all count in domaininfo output
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 22:56:30 +0200] rev 514
Make PL/pgSQL function feed back identity for mailboxes/relocated when there
are catchall destinations.
Without catchall aliases, if no virtual_alias matches, the query can just
return NULL and Postfix will later check mailboxes/relocated for the address
to rewrite.
However, since virtual aliases are handled long before mailboxes/relocated,
a catchall alias would also catch mail to mailboxes and relocated addresses,
which we do not want.
The way to tell postfix to keep delivering is for the virtual alias map to
return the search key itself (identity function).
This patch changes the postfix_virtual_alias_maps Pl/pgSQL function to do
exactly that, but only if there are catchall destinations defined for the
domain in question — otherwise it returns NULL when no match is found.
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 01:08:25 +0200] rev 513
Fix syntax errors
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 00:50:55 +0200] rev 512
Modify virtual_alias_maps function to check mailboxes/relocated first
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 00:33:53 +0200] rev 511
Make virtual_alias_maps function search catchall when no aliases are found
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 00:08:12 +0200] rev 510
Add catchall info to domain_info output
martin f. krafft <madduck@madduck.net> [Tue, 10 Apr 2012 00:07:49 +0200] rev 509
Correct syntax errors
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 23:50:12 +0200] rev 508
Fixup catchall_info to return iterator, not self
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 23:44:36 +0200] rev 507
Correct syntax errors
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 23:40:52 +0200] rev 506
Teach CLI about catchall* commands
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 23:21:56 +0200] rev 505
Provide catchall_* methods to the Handler class
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 18:10:56 +0200] rev 504
First version of a CatchallAlias class
I based the CatchallAlias class in catchall.py heavily on the Alias class, but
by copy, not deriving. The two are functionally related, but the
implementations are too different because CatchallAliases have no localpart.
martin f. krafft <madduck@madduck.net> [Mon, 09 Apr 2012 17:45:02 +0200] rev 503
Add database table for catchall destinations
Catch-all aliases are stored for a domain. Since there can be multiple
destinations per domain, this is done using a 1:n relation on the gid.
This commit extends the SQL schema definition and also provides appropriate
upgrade DDL.
Pascal Volk <user@localhost.localdomain.org> [Sun, 08 Apr 2012 19:05:25 +0000] rev 502
pgsql: Merged types and functions into the create_tables… files.
Pascal Volk <user@localhost.localdomain.org> [Sun, 08 Apr 2012 16:29:37 +0000] rev 501
postfix: Removed VIEW-based comments from configuration files.
Pascal Volk <user@localhost.localdomain.org> [Sun, 08 Apr 2012 16:20:43 +0000] rev 500
pgsql: Removed most of the VIEWs.
There are only two views left for now:
- postfix_gid
- vmm_domain_info
All other views have a faster replacement: plpgsql functions.
martin f. krafft <madduck@madduck.net> [Sun, 08 Apr 2012 13:18:02 +0200] rev 499
Ignore even more Debian-build-related files
martin f. krafft <madduck@madduck.net> [Sun, 08 Apr 2012 11:54:17 +0200] rev 498
Ignore more Debian-build-related files
Debian produces log and debhelper files in debian/* that do not need to be
known to mercurial. Hence, this patch adds the globs to .hgignore.
martin f. krafft <madduck@madduck.net> [Sun, 08 Apr 2012 00:02:00 +0200] rev 497
Add non-root TODO
Pascal Volk <user@localhost.localdomain.org> [Sat, 07 Apr 2012 20:38:48 +0000] rev 496
VMM/config: Fixed a typo: s/DB_MUDULES/DB_MODULES/g.
martin f. krafft <madduck@madduck.net> [Sat, 07 Apr 2012 15:23:14 +0200] rev 495
Ignore build files related to Debian packaging
During Debian packaging, the package is built in ./debian/vmm/, and quilt is
used (./.pc/). Both directories contain only generated files and should hence
be ignored from the perspective of Mercurial.
martin f. krafft <madduck@madduck.net> [Sat, 07 Apr 2012 15:00:10 +0200] rev 494
Instruct mercurial to ignore build directory
Python's distutil builds the package into ./build/, which can and should be
ignored with respect to the repository. This patch simply adds the appropriate
line to .hgignore.
Pascal Volk <user@localhost.localdomain.org> [Fri, 06 Apr 2012 23:37:04 +0000] rev 493
VMM/handler: Create domain directory with umask 0022.
martin f. krafft <madduck@madduck.net> [Sat, 07 Apr 2012 00:45:57 +0200] rev 492
Modify address check query to obtain well-defined result
The way in which UNION does not yield the desired result, because (a) UNION
merges results and (b) the result order is undefined. This patch changes the
query to select the counts as columns and hence provides a well-defined order.
Pascal Volk <user@localhost.localdomain.org> [Fri, 06 Apr 2012 21:34:23 +0000] rev 491
postfix: Uncommented the query in pgsql-smtpd_sender_login_maps.cf.
Pascal Volk <user@localhost.localdomain.org> [Fri, 06 Apr 2012 21:32:09 +0000] rev 490
postfix: Renamed pgsql-transport.cf to pgsql-transport_maps.cf.
Now it matches pgsql-${postfix-parameter}.cf.
Pascal Volk <user@localhost.localdomain.org> [Thu, 29 Mar 2012 19:27:18 +0000] rev 489
po: Updated French translation (translated by Dimitri Duc).
Pascal Volk <user@localhost.localdomain.org> [Tue, 13 Mar 2012 20:37:12 +0000] rev 488
po: Updated Finnish translation (translated by Jorma Karvonen).
Pascal Volk <user@localhost.localdomain.org> [Tue, 13 Dec 2011 00:34:39 +0000] rev 487
VMM/cli/subcommands: Fixed a TypeError in user_info().
Pascal Volk <user@localhost.localdomain.org> [Mon, 05 Dec 2011 16:17:01 +0000] rev 486
postfix: Use pgsql functions in query templates where possible.
Pascal Volk <user@localhost.localdomain.org> [Mon, 05 Dec 2011 12:34:29 +0000] rev 485
pgsql: Updated required privileges for function dovecotpassword.
Pascal Volk <user@localhost.localdomain.org> [Sun, 27 Nov 2011 01:52:06 +0000] rev 484
README: Added section `Installation Prerequisites'. Reworked some parts.
Pascal Volk <user@localhost.localdomain.org> [Sat, 26 Nov 2011 17:28:59 +0000] rev 483
update_config: Write the old package install dir to a tmp file.
upgrade: Remove old CamelCase files. Removed some unused variables.
Pascal Volk <user@localhost.localdomain.org> [Sun, 13 Nov 2011 20:19:40 +0000] rev 482
VMM: The pyPgSQL compatibility commit.
Pascal Volk <user@localhost.localdomain.org> [Sun, 13 Nov 2011 20:18:41 +0000] rev 481
VMM: The Python 2.4.x compatibility commit.
Pascal Volk <user@localhost.localdomain.org> [Sun, 13 Nov 2011 19:59:26 +0000] rev 480
VMM/relocated: Don't accept something@localhost as destination.
Pascal Volk <user@localhost.localdomain.org> [Sun, 13 Nov 2011 16:13:50 +0000] rev 479
man1: Updated configuration related descriptions/examples,
accordingly to commit 4ff0fa3ba0fa.
Pascal Volk <user@localhost.localdomain.org> [Sat, 12 Nov 2011 17:52:57 +0000] rev 478
Updated the author's e-mail address.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 12 Nov 2011 17:28:14 +0000] rev 477
man: Updated the URL of the bug tracker.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Nov 2011 22:19:03 +0000] rev 476
man5: Updated the `usable password schemes' part.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 10 Nov 2011 00:01:08 +0000] rev 475
man1: Copied new formatted/translated command output into the examples.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 09 Nov 2011 22:57:46 +0000] rev 474
VMM/cli/subcommands: Small improvement of domaininfo's output.
Pointed out that the displayed quota limit is valid per user.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 09 Nov 2011 04:12:41 +0000] rev 473
man1: Removed obsolete commands and added new commands.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 09 Nov 2011 03:33:08 +0000] rev 472
man/de/man1: Removed translated argument names.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 08 Nov 2011 23:25:30 +0000] rev 471
VMM/cli/subcommands: Use the common output formatting in list_pwschemes().
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 08 Nov 2011 21:31:30 +0000] rev 470
VMM/handler: Added a comment for the Translation Project.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 08 Nov 2011 01:42:49 +0000] rev 469
VMM/cli/subcommands: Subcommand argument placeholders are no longer translatable.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 23:02:33 +0000] rev 468
po: Updated German translation (translated by Mario Blättermann).
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 04:24:25 +0000] rev 467
po: Updated address for message-id bug reports.
Looks like as sf.net would have horrible configured mail servers. :-/
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 03:30:31 +0000] rev 466
merged changes from default(c0e1fb1b0145)
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 03:22:15 +0000] rev 465
po: Added Finnish translation to the repository.
Many thanks to Jorma Karvonen from the Translation Project for the work.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 02:43:07 +0000] rev 464
VMM/password: list_schemes(): report suffixes with a leading dot.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Nov 2011 02:40:10 +0000] rev 463
po: Updated messages template and German translation.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 06 Nov 2011 21:38:18 +0000] rev 462
VMM/cli/subcommands: Added new subcommand `listpwschemes' (lp).
Marked version()'s ctx argument as unused.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 06 Nov 2011 21:26:34 +0000] rev 461
VMM/password: Added function list_schemes().
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 06 Nov 2011 04:47:43 +0000] rev 460
man5: Moved some option descriptions to section doamin,
accordingly to commit 4ff0fa3ba0fa. Added a brief explanation of which
settings will be applied in which situations.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 21:54:31 +0000] rev 459
update_config: Updated, so that the previous config modifications
will be applied to 0.5.2 configurations files.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 21:44:23 +0000] rev 458
VMM/config: Moved some options to section `domain':
old new
------------------------------------------------------------
account.imap -> domain.imap
account.pop3 -> domain.pop3
account.sieve -> domain.sieve
account.smtp -> domain.account
misc.quota_bytes -> domain.quota_bytes
misc.quota_messages -> domain.quota_messages
misc.transport -> domain.transport
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 19:04:07 +0000] rev 457
VMM: Show a warning when a unsupported locale setting was detected.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 16:41:19 +0000] rev 456
VMM/cli/subcommands: Small improvement in domain_add().
Inform the admin, when the postmaster account will be auto-created.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 15:43:23 +0000] rev 455
VMM/cli/subcommands: Fixed a small failure in alias_info().
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 02:00:07 +0000] rev 454
TODO: updated …
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Nov 2011 01:54:12 +0000] rev 453
VMM/domain: Extended Domain._chk_state() to support both states.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 23:56:55 +0000] rev 452
VMM/constants: Cleared out obsolete error codes.