[Exim] local_domains from mysql dont work

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Patrick Thomas
日付:  
To: exim-users
題目: [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