Re: [Exim] IP address in host_list?

Top Pagina
Delete this message
Reply to this message
Auteur: Peter Radcliffe
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] IP address in host_list?
Trim messages to what needs to be returned when you reply to them, hmm ?

"Dave C." <davec@???> probably said:
> > > > headers_add = "X-POP_authentication: ${lookup {$sender_host_address} \
> > > > lsearch {/etc/exim/pop_smtp_auth.users} {$value}}
> >
> > What if I also used net32-lsearch here? I think I'll go have a try at
> > that...
>
> Ugh. It didnt recongnize this here. Also, for the host_accept_relay
> check, when doing a -d9 with sender_host = 10.1.2.3 (contrived
> example), it was looking for "3.2.1.10/32" as the lsearch key? Is
> something reversing the octets for this? Is that right?


No, I didn't say use net32 there, although it won't match with the extra
/32.
No idea why it's reversing the octets ...

You could try:
headers_add = "X-POP_authentication: ${lookup {$sender_host_address/32} \
lsearch {/etc/exim/pop_smtp_auth.users} {$value}}

P.

-- 
pir               pir@???      pir@???      pir@???