Autor: Peter Bowyer Data: Para: exim-users Assunto: Re: [Exim] ACL issue - failure when there shouldn't be.
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ] > The definition of relay_to_domains is :
>
> domainlist relay_to_domains = ${lookup mysql{SELECT DISTINCT domain FROM mail_domains
> WHERE mail_host!='localhost' AND mail_host NOT LIKE 'deny%' AND mail_host NOT LIKE
> 'locked%'}}
As soothsayer-in-chief Matt has already brilliantly deduced, you don't want a ${lookup in the definition of a domainlist. It looks like it works, but it's producing newline-terminated strings which don't match in the ACL condition.