Re: [Exim] IP address in host_list?

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: exim-users
Temat: Re: [Exim] IP address in host_list?

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...

>
> 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/ ##
>