man, 05,.09.2005 kl. 23.04 +0100, skrev Tony Finch:
> On Mon, 5 Sep 2005, Stian Jordet wrote:
> >
> > I've tried this. First, I would prefer not to have the redirect router,
> > because if my email [EMAIL PROTECTED] resolves to the two users test1 and
> > test2. test1 is on the local box, and test2 is on another host. I can't
> > be sure that the other box accepts mail for [EMAIL PROTECTED], even
> > though it accepts [EMAIL PROTECTED] If you understand what I mean?
> 
> Even if any child addresses are local, Exim does not continue verification
> if an address has more than one child. What would be the right response if
> one is valid and the other not?
> 
> For the single child case, we use call-forward verification on our MXs to
> handle verification of departmental email addresses that aren't handled
> locally.
> 
> > Second, I can't get it to work. If I use this:
> >
> >   address_data = ${lookup ldapm {ldaps://buick.jordet.net/\
> >     ou=People,dc=jordet?uid,mailHost?sub?\
> >     (&(objectClass=inetLocalMailRecipient)\
> >     (mailLocalAddress=${quote_ldap:[EMAIL PROTECTED]))}}
> >   data = [EMAIL PROTECTED]
> >
> > I only get one user... I guess that's just me being silly, so I'd
> > appreciate some help.
> 
> That's because ${extract will only extract one value from the string
> returned by ${lookup ldapm. The answer is probably to use ${sg, e.g.
> ${sg {$address_data} {\s*uid="([^"]*)"\s*mailHost="([^"]*)"\s*} [EMAIL 
> PROTECTED] }

Thanks you very, very much for helping me out here. But this didn't
work, and unfortunately, regexps are greek to me :( Is it anything wrong
with it, or am I just stupid?

[EMAIL PROTECTED]:~# sendmail -bt [EMAIL PROTECTED]
R: ldap_user [EMAIL PROTECTED]
[EMAIL PROTECTED] cannot be resolved at this time:
  error in redirect data: missing or malformed local part (expected word
or "<") in "uid="stianj" mailHost="buick.jordet.net""
[EMAIL PROTECTED]:~#


Best regards,
Stian


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to