correct mail-disable lookup, take 3
authorStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:39:39 +0000 (14:39 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:39:39 +0000 (14:39 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index e13c3e7..a2eb539 100644 (file)
@@ -582,7 +582,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}}}\
-                                     {partial-lsearch;${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}\
+                                     {lsearch;${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}\
                                      {}}
          message       = ${lookup{$local_part}lsearch{${extract{directory}{VDOMAINDATA}{${value}/mail-disable}}}{$value}}