]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
correct mail-disable lookup, take 2
authorStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:10:05 +0000 (14:10 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:10:05 +0000 (14:10 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index 163e3b4908ab1ffb7a6ab7b201bf12f1d4b22516..fbb3cb3212febb051d615904f967d456da1ee5f1 100644 (file)
@@ -564,7 +564,7 @@ check_recipient:
   # disabled accounts don't even get local mail.
   deny   domains       = +virtual_domains
          local_parts   = ${if exists {${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}\
   # disabled accounts don't even get local mail.
   deny   domains       = +virtual_domains
          local_parts   = ${if exists {${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}\
-                                     {${lookup{$local_part}lsearch{${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}}}\
+                                     {partial-lsearch;${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}\
                                      {}}
          message       = ${lookup{$local_part}lsearch{${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}{$value}}
 
                                      {}}
          message       = ${lookup{$local_part}lsearch{${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}{$value}}