Re: [exim] Mysql support - no errors but checking compiled i…

Top Pagina
Delete this message
Reply to this message
Auteur: Graeme Fowler
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Mysql support - no errors but checking compiled in
On Thu, 2011-09-29 at 13:18 +0100, Ron White wrote:
> And that didn't work either. Despite it not reporting any issues on
> installation - it does not appear to be working. No queries being made,
> no errors - just like before. Mmmm.


Your configuration isn't right:

> domainlist hosted_domains = ${lookup mysql{MYSQL_HOSTEDDOMAINLIST}}
>
> <relevant ACL clause>
> check_rcpt:
> accept  domains = local_domains : *.local_domains
> deny    message = relay not permitted


You define the domainlist - and then don't use it. Even corrected, the
line:

accept domains = hosted_domains

...is still invalid, as it needs to be:

accept domains = +hosted_domains

The latter with the + means "look the domain up in the domain list"; the
version you currently have means "compare the domain with the literal
string 'hosted_domains'".

If you use the right syntax, you'll get your lookup. This explains why
you weren't getting an error - because the lookup was never being used.

Graeme