> Here's what I did:
> domainlist local_domains = localhost : \
> ${lookup{$domain}lsearch{/etc/exim4/localdomains}} : \
> ${lookup mysql{select domain \
> from eximconf.localdomains \
> where enabled='yes' and domain='$domain' \
> } \
> }
Nevermind, I found my mistake here... I can't do this. I wish there was an
easier way. I changed it back to my original that I was testing months ago:
domainlist local_domains = localhost : \
/etc/exim4/localdomains : \
${lookup mysql{select domain \
from eximconf.localdomains \
where enabled='yes' \
} \
{${sg{$value}{\N\ *\n\N}{ : }}} \
}
Anyway of getting around using ${sg {}{}{}} here?