Re: [Exim] using dbdns lookup

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: emf
CC: exim-users
Subject: Re: [Exim] using dbdns lookup
On Tue, 17 Apr 2001, emf wrote:

> strange. if I replace $domain with lists.mindlace.net it works, yet this
> code fails:
>
> 2001-04-17 04:54:27 14p1E5-0002MS-00 == stream@???
> T=list_transport defer (0): Expansion of "/home/${lookup" from command
> "/home/${lookup dnsdb {$domain} {$value}fail}/mailman/mail/wrapper post
> ${lc:$local_part}" in list_transport transport failed: missing lookup type


Ah, but read what is says. :-) It is talking about expanding
"/home/${lookup" but that's not your lookup string, is is? It's only
part of your string. It has got split prematurely.

>          command = /home/${lookup dnsdb {$domain}
> {$value}fail}/mailman/mail/wrapper post ${lc:$local_part}


Try

command = "\"/home/${lookup dnsdb {$domain} {$value}fail}/mailman/mail/wrapper\" post ${lc:$local_part}"


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.