Re: [EXIM] Flogging a deceased equine

Top Page
Delete this message
Reply to this message
Author: Alan Barrett
Date:  
To: Philip Hazel
CC: Exim List
Subject: Re: [EXIM] Flogging a deceased equine
> > Philip: Please could we be allowed to do "lsearch;/some/file" in
> > sender_net_accept_relay.
>
> You can already provide a file name in place of any netlist item.


Do you mean that if I say

    sender_net_accept_relay = "192.168.12.0/24:/some/file"


rather than

    sender_net_accept_relay = "192.168.12.0/24:lsearch;/some/file"


then it might work instead of being a syntax error?

Yes, "spec.txt" mentions that, but is silent about when the file lookup
happens. For my purposes, it needs to be while the TCP connection is
active, not when exim starts.

> I haven't get had time/inspiration to work on the problem of looking up
> networks in keyed files.


For now, I just need a list of IP host addresses (with /32 prefix
lengths). I don't need a way of handling arbitrary prefix lengths/netmasks
in the file lookup, but I do neet the lookup to happen when incoming SMTP
connections are received, rather than when the config file is first
parsed.

Hmm, I think I could I use an lsearch lookup in sender_host_accept_relay
to so what I want. Why didn't I think of a *host* rather than *net*
variable before?

--apb (Alan Barrett)


--
*** Exim information can be found at http://www.exim.org/ ***