qmail Log:
--------------------------------------------------------------------------------------
@400000003c42d5be27e854dc info msg 14106: bytes 228 from <[EMAIL PROTECTED]> qp 2266 uid 0
@400000003c42d5be28042dc4 starting delivery 7: msg 14106 to local [EMAIL PROTECTED]
@400000003c42d5be2804414c status: local 1/10 remote 0/20
@400000003c42d5be299cfa1c delivery 7: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
...
@400000003c42dbb0047040dc info msg 14106: bytes 223 from <[EMAIL PROTECTED]> qp 2749 uid 0
@400000003c42dbb00488d1ec starting delivery 23: msg 14106 to local [EMAIL PROTECTED]
@400000003c42dbb00488e95c status: local 1/10 remote 0/20
@400000003c42dbb0051a3894 delivery 23: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
whet I connect from pop3 or imap, it's work.
if /home/vmail/username is not exist, dirmaker will create directory.
BUT, if I has a system account, qmail will deliver the new msg to
/home/username/Maildir/,
not /home/vmail/username/Maildir/.
if has not system account, qmail will log
"Sorry,_no_mailbox_here_by_that_name._(#5.1.1)".
Please help me.
Ldap Config:
------------------------------------
dn: cn=mail.um.net, dc=um, dc=net
cn: mail.um.net
objectClass: top
objectClass: qmailControl
locals: localhost
locals: um.net
locals: mail.um.net
rcptHosts: localhost
rcptHosts: um.net
rcptHosts: mail.um.net
ldapLocalDelivery: 0
dataBytes: 1024000
ldapDefaultQuota: 10240000S,1000C
ldapDefaultDotMode: ldapwithprog
ldapMessageStore: /home/vmail
ldapUid: 512
ldapGid: 512
dirMaker: /var/qmail/bin/dirmaker
ldapBaseDN: ou=People, dc=um, dc=net
defaultDomain: mail.um.net
plusDomain: mail.um.net
defaultHost: mail.um.net
user Record:
------------------------------------------
dn: uid=test1,ou=People,dc=um,dc=net
mailMessageStore: test1
sn: test1
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
deliveryMode: localdelivery
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
uid: test1
accountStatus: active
mailHost: mail.um.net
cn: test1
deliveryProgramPath: /var/qmail/bin/remind
mailQuota: 10485760S,100C
displayName:: 5rWL6K+V5LiA
====================================================
qmail-ldaplookup check result
[root@www qmail]# qmail-ldaplookup -m [EMAIL PROTECTED]
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/dirmaker
defaultDotMode: ldapwithprog
defaultQuota: 10240000S,1000C
QuotaWarning:
------
undefined
------
qldap_lookup: searching with (|([EMAIL PROTECTED])([EMAIL PROTECTED]))
qldap_lookup: succeeded, found:
uid: test1
uidNumber: 512
gidNumber: 512
accountStatus: active
mailMessageStore: /home/vmail/test1
homeDirectory: (null pointer)
mailHost: mail.um.net
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailQuota: 10485760S,100C
mailForwardingAddress: no entry in the database
deliveryProgramPath: /var/qmail/bin/remind
qmailDotMode: no entry in the database
deliveryMode: localdelivery
mailReplyText: no entry in the database
[root@www qmail]# qmail-ldaplookup -m [EMAIL PROTECTED]
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/dirmaker
defaultDotMode: ldapwithprog
defaultQuota: 10240000S,1000C
QuotaWarning:
------
undefined
------
qldap_lookup: searching with
(|([EMAIL PROTECTED])([EMAIL PROTECTED]))
qldap_lookup: succeeded, found:
uid: test1
uidNumber: 512
gidNumber: 512
accountStatus: active
mailMessageStore: /home/vmail/test1
homeDirectory: (null pointer)
mailHost: mail.um.net
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailQuota: 10485760S,100C
mailForwardingAddress: no entry in the database
deliveryProgramPath: /var/qmail/bin/remind
qmailDotMode: no entry in the database
deliveryMode: localdelivery
mailReplyText: no entry in the database
[root@www qmail]# qmail-ldaplookup -u test1
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/dirmaker
defaultDotMode: ldapwithprog
defaultDotMode: ldapwithprog
defaultQuota: 10240000S,1000C
QuotaWarning:
------
undefined
------
qldap_lookup: searching with (uid=test1)
qldap_lookup: succeeded, found:
uid: test1
uidNumber: 512
gidNumber: 512
accountStatus: active
mailMessageStore: /home/vmail/test1
homeDirectory: (null pointer)
mailHost: mail.um.net
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailQuota: 10485760S,100C
mailForwardingAddress: no entry in the database
deliveryProgramPath: /var/qmail/bin/remind
qmailDotMode: no entry in the database
deliveryMode: localdelivery
mailReplyText: no entry in the database