--On Tuesday, April 17, 2001 09:10:27 +0100 Philip Hazel
<ph10@???> wrote:
> On Mon, 16 Apr 2001, emf wrote:
>
>> I've made dns records look like this:
>>
>> lists A 192.168.1.1
>> TXT "username"
>> MX lists
>
> It that's literally true, you've missed the preference out of the MX
> record.
Hm, not literally true. 10 is prepended :)
> That is odd, because 'missing lookup type' should be given only if
> ${lookup is followed by something that is not a letter. You should get
> 'unknown lookup type' if you try to use a type that is not included.
>
> Try running 'exim -be' and test some expansions. For example:
>
> exim -be '${lookup dnsdb {$domain}{$value}fail}'
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
Where the full transport reads:
list_transport:
driver = pipe
command = /home/${lookup dnsdb {$domain}
{$value}fail}/mailman/mail/wrapper post ${lc:$local_part}
current_directory = /home/${lookup dnsdb {$domain}
{$value}fail}/mailman/
home_directory = /home/${lookup dnsdb {$domain}
{$value}fail}/mailman/
user = ${lookup dnsdb {$domain} {$value}fail}
group = users
Can I not do the expansion where i've done it?
Thanks for your help,
--
emf
"something witty"
mindlace@???