Re: [Exim] Exim 3.34+MySQL host_accept_relay

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Odhiambo Washington
Datum:  
To: Alex Vinogradoff
CC: Exim Users
Betreff: Re: [Exim] Exim 3.34+MySQL host_accept_relay
* Alex Vinogradoff <alex@???> [20020508 14:17]: wrote:
> 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 ?


How about using

mysql;select ip from relay_ip where ip = "${sender_host_address}"



-Wash

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)



If you don't go to other men's funerals they won't go to yours.
        -- Clarence Day