Re: [exim] Lookup IP in foreign file format

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tony Finch
Data:  
Para: Jakob Hirsch
CC: exim-users
Asunto: Re: [exim] Lookup IP in foreign file format
On Wed, 27 Jul 2005, Jakob Hirsch wrote:

> Tony Finch wrote:
>
> > Try ${lookup {1 $sender_host_address} lsearch {FILE} }
>
> won't work, Exim treats <space> as separator betweeen key and data.


I think the file format's fundamentally incompatible then. I suppose you
could use ${readfile and ${match but that's rather gross.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}