Re: [exim] $sender_host_address match not working

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dmitry Pryadko
Dátum:  
Címzett: Peter Bowyer
CC: Exim, Users
Tárgy: Re: [exim] $sender_host_address match not working
Peter Bowyer wrote:
> On 13/12/06, Dmitry Pryadko <dpryadko@???> wrote:
>
>> Dmitry Pryadko wrote:
>>
>>> Marc Sherman wrote:
>>>
>>>
>>>> Dmitry Pryadko wrote:
>>>>
>>>>
>>>>
>>>>> please explain what I do wrong
>>>>> I have named list called relay_from_hosts
>>>>> and router below is my first router
>>>>> if sending host exists in relay_from_hosts, this router must decline,
>>>>> but it accepts
>>>>> why ?
>>>>>
>> exim -d -bh i.p.add.ress

thanks, it helped a lot
it seems like match_ip returns false if IP addresses are mixed with
hostnames

80.68.246.45 in "localhost : 80.68.246.45"? no (cannot match host name
in match_ip list)

80.68.246.45 in "127.0.0.1 : 80.68.246.45"? yes (matched "80.68.246.45")

--
Dmitry Pryadko
hosting.rbc.ru