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.
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.