From ab393e79408b6b6ea9f87befe083f19917a5f7e0 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 18 Apr 2010 14:10:05 +0100 Subject: [PATCH] correct mail-disable lookup, take 2 Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 163e3b49..fbb3cb32 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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}} -- 2.39.2