[Exim] local_domains from mysql dont work

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Patrick Thomas
Data:  
Para: exim-users
Asunto: [Exim] local_domains from mysql dont work
Hi,

I am using exim-4.14-5 and what to use virtual domains for mail hosting.

This is my /etc/exim/configure

LOCAL_DOMAINS = select domain_name from ms_domain where domain_name =
'$domain'
domainlist local_domains = LOCAL_DOMAINS


In debug log I get this line:

check domains = +local_domains
15871 mailserver.de in "select domain_name from ms_domain where
domain_name = ' mailserver.de'"? no (end of list)
15871 mailserver.de in "+local_domains"? no (end of list)
15871 accept: condition test failed


1:1 this mysql query returns the correct result (mailserver.de) so this
should work. But it seems to me, as mysql query fails here for any
reasons.


Many thanks for your comments,
patrick