[Exim] Relay + mysql.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Abaddon
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Relay + mysql.
In my configure file:

The mysql config is ok...

but...

MYSQL_RELAY = select ip from relay_ip where ip="${sender_host_address}"

host_accept_relay = localhost:mysql;MYSQL_RELAY

when i try to rcpt it give the lookup error, but when i put :

host_accept_relay = 10.10.10.2 or other hosts, its go fine...

is the "${sender_host_address}" ok ??

Anyone know whats wrong ???..i must get the ip on a mysql table....Any ideias ?