From: Stephen Gran Date: Sun, 18 Apr 2010 14:05:35 +0000 (+0100) Subject: wrap in file test first X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=803bc5a6dbce4666c97569adc3aac7ffec549408;p=mirror%2Fdsa-puppet.git wrap in file test first Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index ae5df43a4..3bd6f9063 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -619,6 +619,7 @@ check_recipient: message = mail from <$sender_address> not allowed externally deny sender_domains= +virtual_domains + condition = ${if exists {${extract{directory}{VDOMAINDATA}{${value}/localusers}}}} condition = ${lookup{$sender_address_local_part}lsearch{${extract{directory}{VDOMAINDATA}{${value}/localusers}}}{true}} hosts = !+debianhosts message = mail from <$sender_address> not allowed externally