On Mon, 25 Mar 2002 14:29:55 +0100
Igor Stroh <[EMAIL PROTECTED]> wrote:

> I was wondering if it's a known bug or if I'm just to dumb to set up
> qmail-ldap properly: I have ldap user records that look like [1], now
> the problem ist, qmail seems to ignore mailForwardingAddress and
> mailAlternateAddress, what am I doing wrong?

additionally, here's the output of qmail-ldaplookup:

mx0:# qmail-ldaplookup -m [EMAIL PROTECTED]
init_ldap:      passwords are compared via rebind
                localdelivery:   on
                clustering:      off
                ldapobjectclass: 
                homedirmaker:    /var/qmail/bin/qmail-mkhomedir
                defaultDotMode:  both
                defaultQuota:    
                QuotaWarning:
------
undefined
------
qldap_lookup: searching with
(|([EMAIL PROTECTED])([EMAIL PROTECTED]))
qldap_lookup:   succeeded, found:               uid: [EMAIL PROTECTED]
                uidNumber: 999
                gidNumber: 999
                accountStatus: active
                mailMessageStore: /var/spool/mail/u/ulmnetz.de/stroh
                homeDirectory: (null pointer)
                mailHost: mx0.scan-plus.de
                mail: [EMAIL PROTECTED]
                mailAlternateAddress: no entry in the database
                mailQuota: no entry in the database
                mailForwardingAddress: no entry in the database
                deliveryProgramPath: no entry in the database
                qmailDotMode: no entry in the database
                deliveryMode: forwardonly
                mailReplyText: no entry in the database

the attributes "mailForwardingAddress" and mailAlternateAddress" appear to
be empty, but they _do_ contain values[1], seems like qmial-ldaplookup is
kind of buggy... any hints?

regards,
Igor

[1]: 
mx0:# ldapsearch -D "<admin dn>" -W -x -b "ou=mail,o=scan-plus,c=de" \
      -LLL
"(|([EMAIL PROTECTED])([EMAIL PROTECTED]))" \     
mailForwardingAddress mailAlternateAddress

dn: uid=stroh,dc=ulmnetz.de,ou=mail,o=scan-plus,c=de
mailAlternateAddress: [EMAIL PROTECTED]
mailForwardingAddress: [EMAIL PROTECTED]

Reply via email to