TODO
author martin f. krafft <madduck@madduck.net>
Tue, 10 Apr 2012 22:56:30 +0200
branchv0.6.x
changeset 514 d863a44a6353
parent 497 5b9a03762813
child 522 dc66f66c51cf
permissions -rw-r--r--
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.
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