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.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 23:55:15 +0000] rev 451
VMM/account: Removed unused import.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 23:52:49 +0000] rev 450
VMM/{maillocation,quotalimit}: Unified object initialization code.
Simply raise a ValueError for wrong values (unknown IDs).
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 22:45:53 +0000] rev 449
VMM/transport: Reworked Transport initialization.
Set the transport id only if we could find a transport with that id.
Raise a ValueError instead of a translatable TransportError(VMMError).
VMM/errors: Deleted class TransportError, it is no longer needed.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 03:25:29 +0000] rev 448
VMM/cli/subcommands: domainservices: Don't fail when neither a
service nor the keyword force was provided.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Nov 2011 02:20:01 +0000] rev 447
VMM/domain: Extended/updated Domain.get_info() in order to:
- include active service(s) || None
- use more understandable English terms
VMM/cli/subcommands: Updated (order of) keys of `domaininfo' output.
.`userinfo' will always show `sieve', no longer `managesieve'.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 03 Nov 2011 05:32:47 +0000] rev 446
VMM/cli/subcommands: Small indent fix.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 03 Nov 2011 05:07:17 +0000] rev 445
VMM/cli/subcommands: Added subcommand domainservices (ds).
Replaced subcommands userdisable and userenable by userservices (us).
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 02 Nov 2011 03:29:51 +0000] rev 444
VMM/account: Integrated class ServiceSet in class Account.
Replaced methods Account.enable() and Account.disable() by
Account.update_serviceset().
VMM/handler: Replaced methods Handler.user_disable() and Handler.user_enable()
by Handler.user_services()
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 01 Nov 2011 23:37:06 +0000] rev 443
VMM/serviceset: Added @property ServiceSet.services -> dict.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 01 Nov 2011 13:07:45 +0000] rev 442
VMM/account: Sorted imports …
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 01 Nov 2011 02:13:57 +0000] rev 441
VMM/domain: Integrated class ServiceSet in class Domain.
VMM/handler: Extended Handler.domain_add() and added Handler.domain_services().
Removed unused domain.get_gid import.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 01 Nov 2011 01:01:33 +0000] rev 440
VMM/serviceset: Use SERVICES inside of ServiceSet - avoid slicing.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 31 Oct 2011 22:14:22 +0000] rev 439
VMM/serviceset: Added module constant SERVICES.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 30 Oct 2011 11:41:11 +0000] rev 438
VMM: Added new module serviceset - provides class ServiceSet.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 28 Oct 2011 15:51:31 +0000] rev 437
pgsql: Added new table `service_set'.
Moved columns `smtp', `pop3' `imap' and `sieve' from the `users' table to
the new `service_set' table.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 26 Oct 2011 23:32:58 +0000] rev 436
update_config: Set database.module to pyPgSQL only when psycopg2
is unavailable.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 26 Oct 2011 18:55:30 +0000] rev 435
README: Added contet.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 26 Oct 2011 03:25:37 +0000] rev 434
man: Removed reStructuredText files.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 26 Oct 2011 03:20:40 +0000] rev 433
man: Reworked/updated German manual pages.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 25 Oct 2011 15:36:38 +0000] rev 432
man: Added missing `.RE' macro to sub section userinfo (ui).
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 16 Oct 2011 23:51:54 +0000] rev 431
po: Fixed 2 fatal msgfmt errors inde.po.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 16 Oct 2011 18:12:55 +0000] rev 430
po: Updated German translation.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 16 Oct 2011 16:48:48 +0000] rev 429
Messages: Replaced some 'Available' by 'Existing'.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 16 Oct 2011 15:08:25 +0000] rev 428
po: Regenerated vmm.pot
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 03 Sep 2011 22:07:55 +0000] rev 427
VMM/emailaddress: Class DestinationEmailAddress accepts also
something@localhost addresses now.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 03 Sep 2011 20:42:05 +0000] rev 426
VMM/handler: Handler.alias_delete() also use class DestinationEmailAddress
for the destination address, instead of class EmailAddress.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 03 Sep 2011 20:28:40 +0000] rev 425
VMM/alias: Alias.del_destination() corrected the value assignment
in the error message's dictionary.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 03 Sep 2011 19:45:31 +0000] rev 424
VMM/alias: Alias._load_dests() use class DestinationEmailAddress
for destination addresses, instead of class EmailAddress.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 31 Jul 2011 22:14:02 +0000] rev 423
VMM/cli/subcommands: user_add() show only generated passwords - not the given.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 10 Mar 2011 19:34:28 +0000] rev 422
VMM: Deleted a few unused variables.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 05 Mar 2011 22:46:17 +0000] rev 421
VMM/network: Added new module network.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 27 Feb 2011 14:35:04 +0000] rev 420
VMM/cli/subcommands: Added function update_cmd_map().
So the items will be added to the cmd_map when gettext's _() has been
installed -> translatable subcommand descriptions.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 24 Feb 2011 22:15:10 +0000] rev 419
po: Regenerated vmm.pot
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 24 Feb 2011 22:01:06 +0000] rev 418
VMM/cli/subcommands: The keyword 'force' is no longer translatable.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 24 Feb 2011 20:47:35 +0000] rev 417
VMM: Updated some messages. (doesn't, isn't) -> (does not, is not)
Added missing dots at the end of some sentences.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 24 Feb 2011 01:02:24 +0000] rev 416
man: Replaced unnecessary \(aq glyphs in man1/vmm.1.
Updated COPYING section in man1/vmm.1 and man5/vmm.cfg.5.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 22 Feb 2011 22:29:58 +0000] rev 415
VMM/mailbox: Use the correct mailbox hierarchy separator in
Mailbox.add_boxes() for mdbox and sdbox mailbox format.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 22 Feb 2011 20:41:16 +0000] rev 414
VMM: Report quota usage/limit/percentage values formatted
according to the current LC_ALL setting.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 22 Feb 2011 20:12:18 +0000] rev 413
VMM/cli/subcommands: Improved legibility of domaininfo's "quota limit"
output a little bit.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 22 Feb 2011 18:10:27 +0000] rev 412
man/man5: Reworked/updated vmm.cfg.5. Removed vmm.cfg.5.rst.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 22 Feb 2011 15:43:25 +0000] rev 411
man/man1: Small syntax fixes in vmm.1.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 21 Feb 2011 18:19:14 +0000] rev 410
man/man1: Reworked/updated vmm.1.
Removed vmm.1.rst. reStructuredText was nice to edit but the generated output …
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 18 Feb 2011 16:14:07 +0000] rev 409
VMM/cli/subcommands: Update also the RunContext's subcommand if
'plan A' in {,alias}domain_info() fails.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 18 Feb 2011 12:36:09 +0000] rev 408
VMM/cli/subcommands: Fixed a msgid issue (format string with unnamed arguments).
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 18 Feb 2011 12:12:54 +0000] rev 407
VMM: Solve the default "misc.quota_bytes = '0'" problem where it may occur.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 18 Feb 2011 01:15:03 +0000] rev 406
VMM/cli/subcommands: Made argument names translatable.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 14 Feb 2011 19:11:34 +0000] rev 405
man1/vmm.1.rst: Added subcommands domainquota and userquota.
Updated description of subcommand aliasadd.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 13 Feb 2011 05:01:04 +0000] rev 404
VMM/{account,domain}: Added a versions check to the update_quotalimit
methods of classes Account and Domain.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 13 Feb 2011 04:33:55 +0000] rev 403
VMM/cli/subcommands: Implemented subcommands domainquota and userquota.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 13 Feb 2011 03:32:31 +0000] rev 402
VMM/domain: Execute the database updates of
Domain.update_{quotalimit,transport}() when argument force is True, even when
the 'new' setting is the same as the current one.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 12 Feb 2011 20:40:44 +0000] rev 401
VMM/cli/subcommands: Divided 'quota usage' from userinfo subcommand
into 'quota storage' and 'quota messages'.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 12 Feb 2011 18:12:37 +0000] rev 400
VMM/quotalimit: Don't fail in QuotaLimit.__init__, if we get the
deafult misc.quota_bytes value: '0'.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 12 Feb 2011 17:19:43 +0000] rev 399
VMM/common: Reworked human_size() once more. Return bytes w/o
prefix. Use translatable $FOO_bibyte prefixes, e.g., MiB.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 12 Feb 2011 01:46:00 +0000] rev 398
VMM/cli/subcommands: Added quota limit/usage output to {domain,user}info
subcommands.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Feb 2011 19:16:37 +0000] rev 397
VMM/cli/subcommands: config_get: Print configured misc.quota_bytes
in human readable format.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Feb 2011 18:22:37 +0000] rev 396
VMM/common: human_size() size argument can be also a string.
Because the default value of misc.quota_bytes is '0', a string in order to
accept also settings like '500M'.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Feb 2011 11:52:59 +0000] rev 395
VMM/common: human_size accept also 0 as size.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Feb 2011 02:15:51 +0000] rev 394
VMM/common: Small code cleanup in human_size().
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 11 Feb 2011 02:11:15 +0000] rev 393
VMM/common: Added function human_size().
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 10 Feb 2011 23:36:31 +0000] rev 392
VMM/domain: Adjusted Domain.get_info() to the updated vmm_domain_info view.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 10 Feb 2011 23:33:57 +0000] rev 391
pgsql: Updated view vmm_domain_info. No longer select data we have already.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 10 Feb 2011 20:10:28 +0000] rev 390
VMM/{account,domain,handler}: Added quota limit support. A few
small modifications in class Account.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 09 Feb 2011 22:09:35 +0000] rev 389
VMM/account: Removed unused method Account.set_transport().
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 08 Feb 2011 18:04:07 +0000] rev 388
pgsql: Added quotalimit's bytes and messages to view vmm_domain_info.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 08 Feb 2011 13:43:35 +0000] rev 387
pgsql/{create,update}_tables*: Added the ON DELETE CASCADE clause
to table userquota{,_11}'s foreign-key constraint fkey_userquota_uid_users.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Feb 2011 21:50:44 +0000] rev 386
VMM/mailbox: Added missing dummy translator (_) and comment for
method Mailbox._add_boxes.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 07 Feb 2011 21:28:33 +0000] rev 385
VMM/quotalimit: Added new module quotalimit to the repository.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 06 Feb 2011 23:17:47 +0000] rev 384
VMM/config: Added quota_bytes and quota_messages settings.
Updated …/man5/vmm.cfg.5 and vmm.cfg.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Feb 2011 23:45:34 +0000] rev 383
VMM/common: Added function size_in_bytes().
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 04 Feb 2011 17:29:35 +0000] rev 382
pgsql/*: Added tables, triggers and functions for quota support.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 02 Feb 2011 21:09:50 +0000] rev 381
VMM:/handler: Fixed typo introduced with the previous commit.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 02 Feb 2011 20:45:40 +0000] rev 380
VMM/handler: Handler._make_domain_dir(): Check if the domain
directory exists before calling os.mkdir().
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 02 Feb 2011 19:03:54 +0000] rev 379
VMM/*: Use target column names in all INSERT statements.
In order to avoid trouble after the definition of a table was changed.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 01 Feb 2011 16:57:09 +0000] rev 378
INSTALL: Updated "user_query".
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 28 Jan 2011 11:03:11 +0000] rev 377
VMM/mailbox: Be more detailed if doveadm couldn't create mailboxes.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 20 Jan 2011 00:41:09 +0000] rev 376
VMM/cli/subcommands: Update also the RunContext's subcommand if
'plan A' in {alias,relocated,user}_info() fails.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 20 Jan 2011 00:22:52 +0000] rev 375
VMM/{,cli/}handler: Moved the 'address-in-use check' (introduced
with changeset ef99be5b7ec0) to {alias,relocated,user}_add().
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 19 Jan 2011 23:58:06 +0000] rev 374
VMM/account: Account._count_aliases() cast the EmailAddress to str,
in order to avoid errors from the database.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 17 Jan 2011 20:19:14 +0000] rev 373
VMM/handler: Handler.relocated_add() check if the target address'
domain is known, if so add a warning when the account/alias doesn't exist.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 17 Jan 2011 19:44:36 +0000] rev 372
VMM/handler: Handler._get_{account,alias,relocated}() check
if the address is already in use.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 17 Jan 2011 19:08:18 +0000] rev 371
VMM/handler: Handler.alias_add() and Handler.relocated_add() use
DestinationEmailAddress instances for target addresses.
Tobias Berling <t-obi@users.sourceforge.net> [Mon, 17 Jan 2011 19:33:18 +0100] rev 370
VMM/alias.py: Fixed TypeError when calling dbc.executemany()
Tobias Berling <t-obi@users.sourceforge.net> [Mon, 17 Jan 2011 17:21:06 +0100] rev 369
setup.py: Fixed syntax error
Tobias Berling <t-obi@users.sourceforge.net> [Mon, 17 Jan 2011 17:20:13 +0100] rev 368
pgsql/create_tables{,-dovecot-1.2.x}.pgsql: Fixed syntax errors
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 17 Jan 2011 14:43:35 +0000] rev 367
VMM/emailaddress: Added class DestinationEmailAddress.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 14 Jan 2011 12:07:14 +0000] rev 366
Updated copyright notices to include the year 2011.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 13 Jan 2011 12:54:53 +0000] rev 365
merged changes from default(cfd29e65e4f2)
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 13 Jan 2011 12:48:30 +0000] rev 364
INSTALL: Use the %L modifier for %u variable in password_query
and user_query.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 10 Aug 2010 04:31:46 +0000] rev 363
VMM/domain: set_{directory,transport} make sure the domain is new.
Assertions could be optimized away.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 10 Aug 2010 04:10:54 +0000] rev 362
VMM/cli/subcommands: Added 'auto postmaster' to domain_add().
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 10 Aug 2010 01:02:21 +0000] rev 361
VMM/cli/handler: Added support for random passwords in user_add().
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 19:39:55 +0000] rev 360
VMM/transport: Small error message 'improvement'.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 19:00:50 +0000] rev 359
VMM/config: Added option mailbox.format to the configuration check.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 08:25:11 +0000] rev 358
update_config: Set pyPgSQL, maybe there is no psycopg2 installed.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 08:06:38 +0000] rev 357
man5/vmm.cfg: Added description for new settings in section database.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 06:19:48 +0000] rev 356
Updated INSTALL and setup.py.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 05:42:56 +0000] rev 355
VMM/handler: Added support for psycopg2.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 03:52:01 +0000] rev 354
VMM/cli/main: Adjusted _get_handler() to changes in config module.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 09 Aug 2010 03:48:28 +0000] rev 353
VMM/config: Extended configuration check and raise only a ConfigError.
Added new settings 'module', 'port', and 'sslmode' to the database section.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 20:01:19 +0000] rev 352
VMM/…: Provide parameters as tuple to cursor.execute().
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 05:16:26 +0000] rev 351
VMM/handler: Small code cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 05:13:46 +0000] rev 350
VMM/common: Reformulated error message in exec_ok.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 04:44:23 +0000] rev 349
VMM/cli/config: Except the VMMError from exec_ok in configure().
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 03:29:53 +0000] rev 348
VMM/config: Use common.VERSION_RE, instead of defining the regexp two times.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 07 Aug 2010 03:17:46 +0000] rev 347
VMM/common: Made the version re pattern object accessible as VERSION_RE.
Small 'global …' cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 06 Aug 2010 23:06:19 +0000] rev 346
VMM/cli/handler: Don't perform config and environment checks twice.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 06 Aug 2010 22:34:46 +0000] rev 345
VMM/cli/subcommands: Added subcommands configget and configset.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 06 Aug 2010 06:14:04 +0000] rev 344
VMM/cli/config: CliConfig.set raise a ConfigError, if the new
value could not be set.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 06 Aug 2010 03:45:34 +0000] rev 343
VMM/cli/main: Except more errors and handle them correct.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 06 Aug 2010 02:15:16 +0000] rev 342
VMM/config: LazyConfig._get_section_option check for empty section/option names.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 05 Aug 2010 23:26:23 +0000] rev 341
VMM/…: Unified messages and removed non-ASCII quotes.
VMM/account: Added TP-comment back. Was accidentally removed in changeset
f9a6b6701cf9. Refreshed po/vmm.pot.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 05 Aug 2010 05:08:02 +0000] rev 340
vmm: Renamed to VirtualMailManager/cli/main.py. Splitted subcommands
out to VirtualMailManager/cli/subcommands.py.
vmm: New created with minimal code.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 05 Aug 2010 02:38:20 +0000] rev 339
VMM/cli/handler: CliHandler.user_password: Only prompt for the
password if the Account exists.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 05 Aug 2010 00:12:52 +0000] rev 338
VMM/account: Made Account._services available as account.SERVICES.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 04 Aug 2010 18:41:46 +0000] rev 337
VMM/{,cli/}handler: user_add: Check earlier if the account exists.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 03 Aug 2010 23:33:46 +0000] rev 336
VMM/domain: Added missing comma in Domain.get_info's SELECT list.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 01 Aug 2010 22:59:34 +0000] rev 335
VMM/handler: Updated Handler.user_{disable,enable} methods to
accept a list of services.
man/{,de/}man1/vmm.1.rst: Updated userenable/userdisable part.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 01 Aug 2010 03:55:01 +0000] rev 334
VMM/account: Reworked methods enable/disable in order to accept
multiple services.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Jul 2010 19:14:49 +0000] rev 333
VMM/{account,handler}: Account delete, use the boolean keyword force too.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Jul 2010 15:51:22 +0000] rev 332
man/{,de/}man1/vmm.1.rst: Updated domaindelete part.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Jul 2010 15:19:31 +0000] rev 331
VMM/domain: Simplified Domain.delete() related methods and their arguments,
VMM/handler: Adjusted to the changes in the domain module.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Jul 2010 09:45:51 +0000] rev 330
VMM/handler: _make_home() Create the domain directory if it
doesn't exist for some reason.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Jul 2010 09:37:44 +0000] rev 329
VMM/account: Replaced property domain_directory by domain.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Jul 2010 23:09:44 +0000] rev 328
VMM/common: Removed unused import.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Jul 2010 23:06:05 +0000] rev 327
VMM/handler: Use more common.lisdir() in Handler's methods _chkenv,
_delete_domain_dir, _delete_home, _get_disk_usage, _make_domain_dir,
and _make_home.
Handler._make_home(): Also check if the domain directory exists.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Jul 2010 19:14:19 +0000] rev 326
VMM/common: Replaced function is_dir() by lisdir().
VMM/{config,mailbox}: Adjusted to the above change.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Jul 2010 04:01:43 +0000] rev 325
VMM/handler: Reworked methods _get_disk_usage, _delete_home and
_delete_domain_dir. Deleted method _isdir.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Jul 2010 01:48:25 +0000] rev 324
VMM/constants: Added MIN_GID and MIN_UID.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Jul 2010 03:48:30 +0000] rev 323
VMM/mailbox: Removed accidentally committed debug print statement.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Jul 2010 03:43:59 +0000] rev 322
VMM/…: More PEP-8 fixes; eliminated __names.
VMM/emailaddress: Fixed™ methods __eq__ and __ne__. (I'm not pylint's nanny.)
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Jul 2010 02:52:08 +0000] rev 321
VMM/transport: Converted _mixedCase method names to
_lower_case_with_underscores. Added missing docstrings.
Fixed™ methods __eq__ and __ne__. (I'm not pylint's nanny.)
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Jul 2010 02:08:03 +0000] rev 320
VMM/*: Made all modules names lowercase, adjusted imports.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Jul 2010 01:03:56 +0000] rev 319
VMM//{,cli/}Handler: PEP-8-ified the Handler classes:
* converted CamelCase method names to lower_case_with_underscores
* eliminated __names
* added missing docstrings
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 27 Jul 2010 19:29:44 +0000] rev 318
VMM//{,cli/}Handler: Reworked configuration related parts.
Renamed attributes _Cfg -> _cfg; _cfgFileName -> _cfg_fname. Renamed methods
__chkCfgFile -> __check_cfg_file; __findCfgFile -> __find_cfg_file. Added
missing docstrings.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 27 Jul 2010 14:35:55 +0000] rev 317
VMM/constants: Added __copyright__.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Jul 2010 19:10:51 +0000] rev 316
VMM/constants: Replaced the constants subpackage by a module.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Jul 2010 16:08:15 +0000] rev 315
VMM/cli: Forgot to remove string_io from __all__.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Jul 2010 16:02:58 +0000] rev 314
VMM/cli: Removed misplaced function string_io.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Jul 2010 03:08:57 +0000] rev 313
VMM/cli/Config: Write warnings to stderr.
Renamed method __saveChanges to __save_changes.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Jul 2010 01:18:49 +0000] rev 312
VMM/cli: w_err() call os.sys.exit only if code != 0.
read_pass() write errors to stderr. And a few other small fixes.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 25 Jul 2010 03:31:32 +0000] rev 311
VMM/ext/Postconf: Reworked class Postconf. Added method edit().
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 23 Jul 2010 19:07:30 +0000] rev 310
VMM/Handler: Reworked __domDirMake and reamed to __make_domain_dir.
Removed the (now) unused method __makedir.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 23 Jul 2010 02:45:31 +0000] rev 309
VMM/mailbox: Added to the repository.
VMM/Handler: Integrated mailbox module. Code cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 23 Jul 2010 02:01:57 +0000] rev 308
VMM/Transport: Small cosmetics.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 23 Jul 2010 00:10:53 +0000] rev 307
VMM/maillocation: Dovecot >= 2.0.beta5 is required for `doveadm mailbox create -s …`
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 22 Jul 2010 23:56:14 +0000] rev 306
VMM/Account: s/prefix/mbformat/ and pass the dbh to MailLocation.__init__.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 22 Jul 2010 23:52:30 +0000] rev 305
VMM/maillocation: Renamed MailLocation's property prefix to mbformat.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 22 Jul 2010 21:20:52 +0000] rev 304
VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 22 Jul 2010 16:18:38 +0000] rev 303
VMM/Config: Return mailbox.{folders,root} settings as Unicode.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 21 Jul 2010 23:55:32 +0000] rev 302
VMM/maillocation: Reworked class MailLocation to match the new
database structure.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 21 Jul 2010 21:53:39 +0000] rev 301
VMM/Config: Added function check_mailbox_format().
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Jul 2010 18:40:16 +0000] rev 300
man/de/man5/vmm.cfg.5.rst: Fixed a typo.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Jul 2010 18:29:26 +0000] rev 299
man/{,de/}man5/vmm.cfg.5.rst: Added mailbox.root, small updates.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Jul 2010 16:25:31 +0000] rev 298
VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Jul 2010 03:15:57 +0000] rev 297
pgsql: Added support for different mailbox formats.
- users.passwd can store sha512-crypt.hex hashes now
- Added new update scripts.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 12 Jul 2010 01:53:32 +0000] rev 296
pgsql: Removed old update SQL scripts.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 04 Jul 2010 16:41:34 +0000] rev 295
VMM/maillocation: Code cleanups.
Fixed error introduced with changeset 084300a00ee1.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 18 May 2010 07:00:21 +0000] rev 294
VMM/Domain: removed functions ace2idna() and idn2ascii().
domainname.encode('idna')/domainname.decode('idna') works too.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 12 May 2010 07:40:59 +0000] rev 293
VMM/Account: replaced attribute _mid : int by _mail : MailLocation.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 11 May 2010 01:54:50 +0000] rev 292
VMM/password: added some CRYPT_* constants.
Reverted modification (284:ec1966828246) in _get_salt().
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 10 May 2010 09:06:57 +0000] rev 291
VMM/password: adapted Blowfish/SHA-256/SHA-512 crypt() to recent
changes in the Dovecot-2.0 source tree.
VMM/Config: Added default number of encryption rounds to the configuration.
man5: updated description of misc.crypt_{blowfish,sha{256,512}}_rounds.