At 10:16 -0600 Joe Lewis wrote:
>I've got an emergency, so hopefully someone will be able to help me
>quickly. It is Exim 4.24. I am getting relay denied errors on some of
>the domains that we host, so they are not matching on the
>"relay_to_domains" acl that is before the relay error. Here's some of
>the output :
>
> >>> processing "accept"
> >>> check domains = +relay_to_domains
> >>> joe-lewis.com in "sharktooth.org
> >>> joe-lewis.org
> >>> joe-lewis.net
> >>> joe-lewis.com
> >>> industrial-research.org
> >>> industrial-research.net
> >>> industrial-research.com"? no (end of list)
> >>> joe-lewis.com in "+relay_to_domains"? no (end of list)
I've just renewed my subscription to soothsayers anonymous, and this looks
like the output of an SQL query.
I guess you have:
domainlist relay_to_domains = ${lookup pgsql{blah..}}
Try:
domainlist relay_to_domains = ${sg{${lookup pgsql{blah..}}}{\n}{\:}}
I may have got my syntax wrong, but you get the idea.