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 163e3b4..fbb3cb3 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}}}\
-                                     {${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}}