Re: [exim] Lookup IP in foreign file format

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Jakob Hirsch
Υ/ο: exim-users
Αντικείμενο: 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}}