Hi, I've installed qmail-ldap on a computer and it works fine except 
qmail-local doesn't put the messages on POP dirs. When I send a message 
to an user, it goes to the queue (/var/qmail/queue) but it isn't stored 
into /var/mail/maildirs/mydomain.es/Maildir/new.

My configuration follows:

dirmaker:
/var/qmail/bin/autohome

/var/qmail/bin/autohome:
#!/bin/sh
mkdir -m 700 -p $1

ldapmessagestore:
/var/qmail/maildirs

ldaplocaldelivery:
0

ldaprebind:
1

locals:
mydomain.es
mail.mydomain.es

me:
mydomain.es

rcpthosts:
mydomain.es
mail.mydomain.es

tarpitcount:
5

The rest of the files (ldapserver, ldapuid, ldaplogin ...) are correct.

User found with qmail-ldaplookup:

init_ldap:    passwords are compared via rebind
        localdelivery:     off
        clustering:     off
        ldapobjectclass:
        homedirmaker:     /var/qmail/bin/autohome
        defaultDotMode:     ldaponly
        defaultQuota:     
        QuotaWarning:
------
undefined
------
ldap_lookup:    searching with (uid=rcasas)
ldap_lookup:    succeeded, found:
        uid: rcasas
        qmailUID: 509
        qmailGID: 509
        accountStatus: active
        mailMessageStore: /var/qmail/maildirs/mydomain.es/rcasas/
        homeDirectory: (null pointer)
        mailHost: mydomain.es
        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: localdelivery
        mailReplyText: no entry in the database

The parameters passed to qmail-local by qmail-lspawn when sending a 
message from [EMAIL PROTECTED] are:

qmail-local -- rcasas /var/qmail/maildir/mydomain.es/rcasas rcasas '' '' 
mydomain.es [EMAIL PROTECTED] ./Maildir/

Thanks in advance

Roberto

Reply via email to