On Sat, 15 Nov 2003, Miles Barry wrote:
> command = "/usr/local/cyrus/bin/deliver ${lookup mysql{ SELECT maildir FROM
> users WHERE email='${local_part}@${domain}' }}"
The problem is that your lookup contains whitespace. Exim splits up
command arguments *before* it expands each one separately. So you need
some inner quotes round the argument for your command:
command = /usr/local/cyrus/bin/deliver "....."
You don't, in fact, need the outer quotes since the value of this option
does not contain anything that needs quoting at that level.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book