Thanks. Your suggestion works, but requires users to login with their email address instead of their user name. This can be confusing.
Here's an example LDIF: (relevant parts only) dn: uid=joe,ou=accounts,dc=domain,dc=com mail: [EMAIL PROTECTED] uid: joe mailMessageStore: j/o/joe/ In this case, we have the uid of "joe" which he's used to, and the email address of "[EMAIL PROTECTED]". Can we login as "joe" but have the email address (and return address) of "[EMAIL PROTECTED]"? -Ben On Tuesday 14 January 2003 03:03 pm, you wrote: > I had some similar problems with sqwebmail and qmail+ldap. The value is > being taken from the LDAP_MAIL value in authldaprc. I changed this and had > good luck. > > Although it took a while to figure out that what I was doing was helping. > SQwebmail creates files in ~Maildir/sqwebmail-* that keep old > configuration information. Clear out these files when you make changes to > authldaprc, and restart sqwebmail and you should see your changes. > > Andreas > > On Tue, 14 Jan 2003, Benjamin Smith wrote: > > Date: Tue, 14 Jan 2003 14:50:00 -0800 > > From: Benjamin Smith <[EMAIL PROTECTED]> > > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > Subject: [sqwebmail] Return addresses & LDAP? > > > > Using sqwebmail-3.3.7 on a qmail-ldap configuration, and many domain > > names. User's email addresses are stored in the LDAP attribute "mail" or > > "mailAlternateAddress" as per the schema, and this has been built mostly > > using instructions from > > http://lifewithqmail.org/ldap > > > > When users login, at the top right, it says: > > > > [EMAIL PROTECTED] > > > > and this is the "return address" for email sent from sqwebmail, rather > > than the address stored in the "mail" attribute of the LDAP server. If > > the "uid" field is an email address, then it only displays the "uid" > > field. (eg: [EMAIL PROTECTED]) > > > > Is there some way to make sqwebmail derive it's "reply-to" field (and the > > displayed username at the upper right) for mail sent to be the "mail" > > field in ldap? I've tried playing with these fields in authldaprc: > > > > LDAP_MAIL > > LDAP_EMAILMAP_ATTRIBUTE > > LDAP_EMAILMAP_MAIL > > > > But none of these seemed to make any difference. (After setting them > > individually to "mail", I stopped/started authdaemond.ldap and logged > > out/in with the browser, and noted the address given at the top right) > > > > How can I make this work? -------------------------------------------------------
