From: Stephen Gran Date: Sun, 18 Apr 2010 13:10:05 +0000 (+0100) Subject: correct mail-disable lookup, take 2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ab393e79408b6b6ea9f87befe083f19917a5f7e0;p=dsa-puppet.git correct mail-disable lookup, take 2 Signed-off-by: Stephen Gran --- 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}}