Re: [exim] query lookups with multiple rows as result

Top Page
Delete this message
Reply to this message
Author: Marco Herrn
Date:  
To: exim-users
Subject: Re: [exim] query lookups with multiple rows as result
On Mon, Dec 06, 2004 at 06:35:36AM +0000, Peter Bowyer wrote:
> hostedused:
> driver=accept
> domains = +hosted_domains
> condition = $lookup pgsql {\
>                 SELECT localpart from mailbox \
>                 WHERE domainname='${quote_pgsql:$domain}' AND \
>                 localpart = '${quote_pgqsl:$localpart}'\
>                 }
> transport=hosted_delivery
> cannot_route_message = Unknown mailbox


Thanks to both of you. That helped. But isn't the documentation and
even the FAQ a bit unclear about that topic?

Regards
Marco
-- 
Any fool can paint a picture, but it takes a wise person to be able to
sell it.
--
Marco Herrn              _  ___      o             '       (_)<   _ _
                         _>(__'>            o          0         (_X %
                                   >(_`>  O         o  _; _;'7^'_ \;\ %
(GnuPG/PGP-encrypted mail preferred)       _;\ _.\ _.';;) ;,;_/;
Key ID: 0x94620736                  _  _'./_\('))_; );/\)}/`fsc