From: Tony Earnshaw (no email)
Date: Mon May 16 2005 - 03:50:47 EDT
tor, 12.05.2005 kl. 05.09 skrev Kris Vassallo:
[...]
> > > You don't need aliases for this; just ensure that in kris' LDAP record
> > > both and are entered
> > > as "mail" attributes. The "mail" attribute is multi-value, so you can
> > > have as many values as you wish for it.
> > Ok, that works fine now, mail is accepted for all of the email
> > addresses people can have, thanks :) But! The problem now comes to
> > be that mail comes into a box for ex. kris.vassallo and only the box
> > for kris exists... So I am assuming that I do still want my
> > alias_maps defined so that I get the correct alias to user mapping?
> > I think that I have this working right now; since I have the uid as
> > the result for the alias_maps, the uid is given to postfix as the
> > email address of the user, postfix rewrites the address as
> > automatically and the correct box is found... Am
> > I doing this correctly?
> >
> > The next thing that I am noticing is that if I want my people to be
> > able to look up contacts in the LDAP database via a mail client,
> > when they look at the person's email address there are 3 or 4 email
> > addresses all listed in the email spot because of how I entered the
> > email addresses into the mail attribute. Is there a way to fix this?
> Ok so I'm not the brightest bulb in the string and finally realized
> that multiple entries for the same attribute go on different lines, so
> I no longer have the second question, but I am still unsure of the
> first question above.
Both e-mail addresses should be returning the UID kris, that's the whole
point. Postfix (or maildrop or whatever) should then decide to deliver
mail to kris' mailbox. This is for mail delivered by local(8), for
virtual(8) deliveries it becomes more complicated.
The e-mail address should return the UID
kris, not kris.vassallo. Search on 'mail=%s' and have the (same :)
posixAccount UID returned in each case.
--Tonni
-- Nothing sucksseeds like a pigeon without a beak ... mail: http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ...
|
|
|