TODO
author martin f. krafft <madduck@madduck.net>
Sun, 15 Apr 2012 13:17:21 +0200
branchv0.6.x
changeset 555 499c63f52462
parent 544 ff805bd17817
child 567 11ed67ee7ebb
permissions -rw-r--r--
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
284
ec1966828246 VMM/password: Added support Blowfish/SHA-256/SHA-512 crypt().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 256
diff changeset
     1
subcommand for displaying support crypt algorithms.
ec1966828246 VMM/password: Added support Blowfish/SHA-256/SHA-512 crypt().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 256
diff changeset
     2
ec1966828246 VMM/password: Added support Blowfish/SHA-256/SHA-512 crypt().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 256
diff changeset
     3
85
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
     4
- Aliases
76
14c0a092d7d2 * 'VirtualMailManager/EmailAddress.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 24
diff changeset
     5
    - avoid looping aliases
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     6
85
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
     7
- Domain
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
     8
    - optional limits for number of:
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
     9
        + accounts
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
    10
        + aliases
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
    11
        + destinations/alias
6f2fa633f1a1 * 'TODO'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 83
diff changeset
    12
        + alias domains
256
ae80282301a3 VMM: added 'Configuration' variable and set_configuration().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 170
diff changeset
    13
ae80282301a3 VMM: added 'Configuration' variable and set_configuration().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 170
diff changeset
    14
Database:
ae80282301a3 VMM: added 'Configuration' variable and set_configuration().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 170
diff changeset
    15
   public.users.digestmd5: add "character varying(48)"
ae80282301a3 VMM: added 'Configuration' variable and set_configuration().
Pascal Volk <neverseen@users.sourceforge.net>
parents: 170
diff changeset
    16
	Outlook will love it. (`doveadm pw -s DIGEST-MD5.hex -p 1 -u 0`)
497
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    17
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    18
- Non-root usage [madduck@madduck.net]:
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    19
    - Provide /usr/share/vmm/vmm-{mkdirs,rmdirs,du} setuid wrappers that do
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    20
      precisely what they have to and no more. The should probably even call
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    21
      /usr/share/vmm/vmm-wrapper-helper as unprivileged user to parse the
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    22
      arguments, match them with the database and obtain the actual data to
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    23
      process, e.g. email@add.ress  home directory mapping from the DB, or
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    24
      obtaining the set of precreatable maildirs from the config.
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    25
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    26
    - configset and configure need root, it is questionable whether these
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    27
      can/should be wrapped, as they will be disabled anyway for Debian, and
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    28
      they are root-like activities (unlike day-to-day postmaster work).
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    29
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    30
    - Pascal suggested to use hooks:
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    31
      07 23:36 <Faxe> zwei config settings handle_dir in domain und account
5b9a03762813 Add non-root TODO
martin f. krafft <madduck@madduck.net>
parents: 454
diff changeset
    32
      07 23:37 <Faxe> und dann post-{domain,user}add scripte, die den wrapper aufrufen
522
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    33
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    34
- relay_domains management [madduck@madduck.net]:
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    35
    - should be in a separate table
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    36
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    37
- default aliases [madduck@madduck.net]
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    38
    - it should be possible to define a set of default aliases and their
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    39
      destinations for a domain, e.g. postmaster@ and abuse@. For most
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    40
      flexibility, there ought to be a m:n table connecting domains to sets of
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    41
      default aliases. These aliases then get treated like normal aliases
dc66f66c51cf Add my WIP items to the TODO list
martin f. krafft <madduck@madduck.net>
parents: 497
diff changeset
    42
      unless they are overridden by a real alias.