TODO
author martin f. krafft <madduck@madduck.net>
Sun, 15 Apr 2012 17:51:00 +0200
branchv0.6.x
changeset 550 867d950ce7b7
parent 544 ff805bd17817
child 555 499c63f52462
permissions -rw-r--r--
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).
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.
523
f494a593c674 add domain/account notes to TODO
martin f. krafft <madduck@madduck.net>
parents: 522
diff changeset
    43
524
3ffe4ee3740f Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net>
parents: 523
diff changeset
    44
- list{aliases,accounts,relocated,addresses} subcommands [madduck@madduck.net]
3ffe4ee3740f Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net>
parents: 523
diff changeset
    45
    - I would find it useful if I could query the database for all defined
3ffe4ee3740f Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net>
parents: 523
diff changeset
    46
      users, aliases, relocated, and addresses (the union of all three).
3ffe4ee3740f Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net>
parents: 523
diff changeset
    47
      Ideally, the commands would also take % wildcards, so that I can limit
3ffe4ee3740f Add list* subcommands to TODO
martin f. krafft <madduck@madduck.net>
parents: 523
diff changeset
    48
      the output