Hi again folks,

I am having difficulties getting Courier to handle LDAP accounts with the
kind of semantics I'd like: I have a large pre-existing LDAP which it would
be very, very difficult to modify all the users in. I am going to use
ldapaliasd, for sure, but I can'treally change the user data at this point.

The user data for a typical user looks like the following:

dn: uid=wendys, ou=People, dc=microlistics,dc=com,dc=au
mobile: 0412 521 181
o: Dawson Consulting
sn: Smith
telephoneNumber: 03 8329 2011
userPassword: [crypted string here]
loginShell: /bin/ksh
uidNumber: 1080
gidNumber: 120
mail: [EMAIL PROTECTED]
shadowFlag: 0
uid: wendys
objectClass: posixAccount
objectClass: shadowAccount
objectClass: account
objectClass: top
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
gecos: Wendy Smith,,,
shadowLastChange: 0
cn: Wendy Smith
homeDirectory: /export/home/wendys

For added information, my default domain is currently set to
"microlistics.com.au".
We have one set of users here, all with unique uids, but we have half a
dozen domains.

The difficulty that I'm having is as follows:

If I configure authldaprc to use "mail" as the search token, then try to use
basic UNIX tools like 'mail', courier fails to send the message because
"[EMAIL PROTECTED]" doesn't exist. It also fails to deliver local
email sent by things like cron. I also get a lot fo grief from the users
I've trialled on webmail so far because they don't want to enter their whole
email address into the webmail login page, which is fair enough: they have a
userid already for logging into things.

If I configure authldaprc to use "uid" as the search token, webmail assumes
that everyone's email address is "[EMAIL PROTECTED]" (which is
incorrect), and it can't find any of the real email addresses we typically
use, which are all of the form [EMAIL PROTECTED]

I have come up with several partial solutions which involve entering very
large tables of extra aliases to tell courier how to map mail addresses to
uids or vice versa, but none of them solve all of the problems listed above,
and they all break the basic poin of having an LDAP, anmely that it should
be the only store you need for per-user directory information.

What I would like to wind up with should be fairly obvious:
Users log in to webmail and IMAP with their username (uid).
Webmail gets the correct value for a users email address from the LDAP
(mail).
Email is correctly delivered into $HOME/Maildir if it is sent to
[EMAIL PROTECTED] AND if it is sent to [EMAIL PROTECTED], and
no further aliases are needed to achieve this.

Can anyone suggest how this might be possible? If not, how about a good
compromise?

Thanks in advance for any suggestions.

_________________________________
Thorne Lawler
Senior Systems Administrator

t: +61 3 8329 2026
f: +61 3 9326 7588
e: [EMAIL PROTECTED]

Microlistics
A Dawson Group Company
www.microlistics.com.au
_________________________________



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to