Sirs,
Someone that
configure sqwebmail for qmail-ldap, help me. I'm running a server with
qmail-ldap that perfectly works, but when I install sqwebmail, this only send
the information to login in the database and doesn't authenticate the user. I
mean, sqwebmail doesn't send username/password when I watch the slapd
log then in the web page appear "invalid user"
These are the steps
I did to configure sqwebmail-3.6.0:
- ./configure --enable-changepass --with-cachedir=/var/cache/sqwebmail --with-db=gdbm --enable-hardtimeout=180 --enable-softtimeout=180 --enable-autopurge=2 --enable-maxpurge=2 --with-defaultlang=eng --with-maxmsgsize=2097152 --without-authpwd --without-authshadow --without-authpam --without-authuserdb --without-authmysql --without-authpgsql --without-authvchkpw --with-authdaemon --with-authldap
- make configure-check
- make
- make check
- nedit /usr/local/share/sqwebmail/sendit.sh and edit the lines QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" \ export QMAILQUEUE
- make install-strip
- make install-configure
- nedit /usr/local/share/sqwebmail/authdaemonrc and I verified that only authldap is used.
- nedit /usr/local/share/sqwebmail/authldaprc and I added the lines to use the ldap database.
for authldaprc I
configure in this way:
LDAP_SERVER
192.168.1.2
LDAP_PORT 389
LDAP_BASEDN dc=sfe,dc=com,dc=ec
LDAP_BINDDN cn=manager,
dc=sfe, dc=com, dc=ec
LDAP_BINDPW
PASSWORD
LDAP_TIMEOUT
15
LDAP_MAIL mail
LDAP_GLOB_UID
vmail
LDAP_GLOB_GID vmail
LDAP_HOMEDIR mailMessageStore
LDAP_MAILROOT /home/vmail
LDAP_MAILDIR mailMessageStore
LDAP_DEFAULTDELIVERY
defaultDelivery
LDAP_FULLNAME cn
LDAP_CRYPTPW userPassword
LDAP_DEREF never
LDAP_TLS
0
Please, anyone who
can help me.
___________________________
Saludos,
Santiago
Puga, MSc.
Especialista en
Telecomunicaciones.
Sociedad Financiera Ecuatorial.
Direcci�n: Av.
Maldonado 129 y Gil Martin.
Telefax: +593 2
2646-043 ext. 232.
Quito - ECUADOR.
[ ] Informaci�n
General SFE
[ ] Solo uso
interno SFE
[ ] Informaci�n Propietaria Confidencial
SFE
