Re: [Exim] IP address in host_list?

Top Pagina
Delete this message
Reply to this message
Auteur: Dave C.
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] IP address in host_list?

On Mon, 19 Jul 1999, Dave C. wrote:

>
>
> On Mon, 19 Jul 1999, Peter Radcliffe wrote:
>
> > "Dave C." <davec@???> probably said:
> > > b: /etc/exim/pop_smtp_auth.users, which should be of a format:
> > > 10.0.0.1:username
> > > 10.0.2.3:other_username
> > >
> > > and then:
> > >
> > > host_accept_relay = " /etc/exim/pop_smtp_auth : ! * "
> > >
> > > (if anyone can figure out how to make host_accept_relay use the file
> > > with the usernames then these can be combined into one)
> >
> > if you put 10.0.0.1/32:username in the file, you could use
> > host_accept_relay = " net32-lsearch;/etc/exim/pop_smtp_auth : ! * "
> >
> > > to add the header to the message, add the following to any/all
> > > applicable transports:
> > >
> > > 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?


>
> >
> > and this would put 10.0.0.1/32 in.
> > Unfortunately unless you put the /32 on the end and use net32 it'll
> > look them up as hostnames.
> >
> > Philip - RFE, could net32- also match just the IP address without the /32 ?
> > Is that reasonable ?
> >
> > P.
> >
> > -- 
> > pir               pir@???      pir@???      pir@???

> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
> >
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>