Steve
THANKS. It's so obvious when you mention it. Seems to work using
$local_part. Thanks again.
Kevin_C
> On Fri, Dec 15, 2000 at 02:03:42PM +0000, Kevin J Collins wrote:
> > *@*.hw.ac.uk ${lookup ldap {user=\"cn=authuser,dc=hw,dc=ac,dc=uk\"
> > pass=********
> > ldap:///ou=accounts,dc=hw,dc=ac,dc=uk?hwmailname?sub?(uid=$1)}
> > {$value}fail}@??? frF
> >
> >
> > The ldap server is defined elsewhere as it is used in the traditional
> > aliases lookups and works quite successfully.
>
> Shouldn't you have brackets in the pattern if you're going to use $1?
> Or maybe just use "(uid=$local_part)" ?
>
> --
> + Steve Haslam | W: +44-20-7447-1839 +
> + Just Another Production Engineer, Excite UK | M: +44-7775-645618 +
> . NP: Meat Beat Manifesto - Everything counts [] .
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim detai
> ls at http://www.exim.org/ ##
>
___________________________________________________________
Kevin Collins, Computing Services | Tel 0131 451 3791
Heriot-Watt University, EDINBURGH |
EH14 4AS, Scotland, UK | Fax 0131 451 3261
___________________________________|_______________________