.hgtags
author martin f. krafft <madduck@madduck.net>
Tue, 10 Apr 2012 22:56:30 +0200
branchv0.6.x
changeset 514 d863a44a6353
parent 161 b62aa4aabcd0
child 573 0643c25121b5
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:
99
00763850f827 update tags
convert-repo
parents:
diff changeset
     1
668951708f2f28f49da94479a89c40ab8c8a9b01 trunk
00763850f827 update tags
convert-repo
parents:
diff changeset
     2
668951708f2f28f49da94479a89c40ab8c8a9b01 vmm-0.4
00763850f827 update tags
convert-repo
parents:
diff changeset
     3
9b39f828aa8a7661582859ec75e1423c38dbbef2 vmm-0.3.1
00763850f827 update tags
convert-repo
parents:
diff changeset
     4
bb0aa2102206cd25a99e64d0b94bcd6c2018d3df vmm-0.3
00763850f827 update tags
convert-repo
parents:
diff changeset
     5
bc41dfcef0ad915ccca987b1b381d8c68ab70f2f vmm-0.5
107
e98a0fdf1266 Added tag vmm-0.5.1 for changeset dc98cc162c66
Pascal Volk <neverseen@users.sourceforge.net>
parents: 99
diff changeset
     6
dc98cc162c66d8a5227b6e7c5e7215757159688c vmm-0.5.1
151
350488efe67d Added tag vmm-0.5.2 for changeset 3e972996da7f
Pascal Volk <neverseen@users.sourceforge.net>
parents: 107
diff changeset
     7
3e972996da7f135f0a91afaea831befbac4c3351 vmm-0.5.2
161
b62aa4aabcd0 Removed the svn-ish tag trunk
Pascal Volk <neverseen@users.sourceforge.net>
parents: 151
diff changeset
     8
668951708f2f28f49da94479a89c40ab8c8a9b01 trunk
b62aa4aabcd0 Removed the svn-ish tag trunk
Pascal Volk <neverseen@users.sourceforge.net>
parents: 151
diff changeset
     9
0000000000000000000000000000000000000000 trunk