Re: [Exim] Exim 3.34+MySQL host_accept_relay

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Torsten Mueller
Dátum:  
Címzett: Alex Vinogradoff
CC: exim-users
Tárgy: Re: [Exim] Exim 3.34+MySQL host_accept_relay
Hey,

for me works:

MYSQL_RELAY = SELECT ip FROM relay_ip WHERE ip="${sender_host_address}"
host_accept_relay = localhost:mysql;MYSQL_RELAY

(exim 3.35)

Greetings Torsten

Alex Vinogradoff schrieb:
>
> Hello,
>
> The following line present in config :
> host_accept_relay = 10.10.10.0/24 : mysql;select ip from relay_ip where
> ip='$key'
>
> but the query doesn't give the correct result actually, so that if I insert
> into relay_ip any ip,
> for example '192.168.1.1', and run exim -bh 192.168.1.1, it says
> ">>> host in host_accept_relay? no".
>
> Any suggestions ?
>
> Regards,
> Alex
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##