>From your ldap entry there is a "defaultDotMode: ldapwithprog" What is the delivery 
>program. Did you try "both" in "defaultDotMode:".

KF

> 
> �H���: Mark Bainter <[EMAIL PROTECTED]>
> ���: 2002/10/30 �P���T �W�� 05:38:13 GMT+08:00
> �����: [EMAIL PROTECTED]
> �D��: Re: Getting started - Fixed, new problem
> 
> I finally wiped everything out, killed all the processes, rebuilt
> and repatched from scratch and tried again.  Now the qmail-ldaplookup
> works just fine.  However, I still can't deliver mail to the address
> in my ldap database.  qmail-ldaplookup works, and I get a success,
> but then if I try to actually mail to the address I'm testing it
> bounces back and I get this in my logs:
> 
> ==> /var/log/mail.log <==
> Oct 29 15:24:10 hostname qmail: 1035926650.658862 new msg 5536
> Oct 29 15:24:10 hostname qmail: 1035926650.659200 info msg 5536: bytes 483 from 
><[EMAIL PROTECTED]> qp 3102 uid 1000
> Oct 29 15:24:10 hostname qmail: 1035926650.659368 starting delivery 5: msg 5536 to 
>local [EMAIL PROTECTED]
> Oct 29 15:24:10 hostname qmail: 1035926650.659509 status: local 1/10 remote 0/20
> Oct 29 15:24:10 hostname qmail: 1035926650.703327 delivery 5: failure: 
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> Oct 29 15:24:10 hostname qmail: 1035926650.703583 status: local 0/10 remote 0/20
> Oct 29 15:24:10 hostname qmail: 1035926650.775856 bounce msg 5536 qp 3105
> Oct 29 15:24:10 hostname qmail: 1035926650.776097 end msg 5536
> Oct 29 15:24:10 hostname qmail: 1035926650.822394 new msg 35596
> Oct 29 15:24:10 hostname qmail: 1035926650.822635 info msg 35596: bytes 1014 from <> 
>qp 3105 uid 206
> Oct 29 15:24:10 hostname qmail: 1035926650.822792 starting delivery 6: msg 35596 to 
>local [EMAIL PROTECTED]
> Oct 29 15:24:10 hostname qmail: 1035926650.822936 status: local 1/10 remote 0/20
> Oct 29 15:24:10 hostname qmail: 1035926650.904122 delivery 6: success: did_1+0+0/
> Oct 29 15:24:10 hostname qmail: 1035926650.904411 status: local 0/10 remote 0/20
> Oct 29 15:24:10 hostname qmail: 1035926650.904545 end msg 35596
> 
> ==> /var/log/syslog <==
> Oct 29 15:24:10 hostname slapd[2792]: daemon: conn=11 fd=14 connection from 
>IP=192.168.1.5:32779 (IP=0.0.0.0:389) accepted.
> Oct 29 15:24:10 hostname slapd[3039]: conn=11 op=0 BIND dn="" method=128
> Oct 29 15:24:10 hostname slapd[3039]: conn=11 op=0 RESULT tag=97 err=0 text=
> Oct 29 15:24:10 hostname slapd[3038]: conn=11 op=1 RESULT tag=101 err=34 
>text=invalid DN
> Oct 29 15:24:10 hostname slapd[3039]: conn=11 op=2 UNBIND
> Oct 29 15:24:10 hostname slapd[3039]: conn=-1 fd=14 closed
> Oct 29 15:24:10 hostname slapd[2792]: daemon: conn=12 fd=14 connection from 
>IP=192.168.1.5:32780 (IP=0.0.0.0:389) accepted.
> Oct 29 15:24:10 hostname slapd[3038]: conn=12 op=0 BIND dn="" method=128
> Oct 29 15:24:10 hostname slapd[3038]: conn=12 op=0 RESULT tag=97 err=0 text=
> Oct 29 15:24:10 hostname slapd[3039]: conn=12 op=1 RESULT tag=101 err=34 
>text=invalid DN
> Oct 29 15:24:10 hostname slapd[3038]: conn=12 op=2 UNBIND
> Oct 29 15:24:10 hostname slapd[3038]: conn=-1 fd=14 closed
> 
> -rw-r--r--    1 root     root           28 Oct 29 15:16 dirmaker
> -rw-r--r--    1 root     root           16 Oct 29 15:09 ldapbasedn
> -rw-r--r--    1 root     root            2 Oct 28 23:38 ldapcluster
> -rw-r--r--    1 root     root           14 Oct 28 23:38 ldapclusterhosts
> -rw-r--r--    1 root     root           13 Oct 27 06:55 ldapdefaultdotmode
> -rw-r--r--    1 root     root           17 Oct 28 23:05 ldapdefaultquota
> -rw-r--r--    1 root     root            5 Oct 27 06:34 ldapgid
> -rw-r--r--    1 root     root            2 Oct 27 06:52 ldaplocaldelivery
> -rw-r--r--    1 root     root           37 Oct 28 23:05 ldapmailhost
> -rw-r--r--    1 root     root           16 Oct 29 15:11 ldapmessagestore
> -rw-r--r--    1 root     root           10 Oct 27 06:53 ldapobjectclass
> -rw-r--r--    1 root     root            2 Oct 27 06:53 ldaprebind
> -rw-r--r--    1 root     root           12 Oct 27 06:52 ldapserver
> -rw-r--r--    1 root     root            6 Oct 27 06:34 ldapuid
> -rw-r--r--    1 root     root          143 Oct 28 23:42 locals
> -rw-r--r--    1 root     root           16 Sep 19 04:38 logger
> -rw-r--r--    1 root     root           14 Oct 28 23:40 me
> 
> (This is with the latest patch btw...and the smtp auth and pop before smtp patch
> against a vanilla qmail-1.03 distribution..)
> 
> % qmail-ldaplookup -m [EMAIL PROTECTED]
> init_ldap:      passwords are compared via rebind
>                 localdelivery:   on
>                 clustering:      on
>                 ldapobjectclass: qmailuser
>                 homedirmaker:    /usr/local/bin/auto_mk_hdir
>                 defaultDotMode:  ldapwithprog
>                 defaultQuota:    10000000S, 2000C
>                 QuotaWarning:
> ------
> You have exceeded your mail storage quota.  Please
> delete some of your stores messages.
> Thanks
> [EMAIL PROTECTED]
> 
> ------
> qldap_lookup:   searching with 
>(&(objectclass=qmailuser)(|([EMAIL PROTECTED])([EMAIL PROTECTED])))
> qldap_lookup:   succeeded, found:
>                 uid: test
>                 qmailUID: 11184
>                 qmailGID: 2110
>                 accountStatus: active
>                 mailMessageStore: /share/maildirs/test
>                 homeDirectory: (null pointer)
>                 mailHost: mail.z.org
>         INFO    would reconnect to host mail.z.org
>                 mail: [EMAIL PROTECTED]
>                 mailAlternateAddress: [EMAIL PROTECTED]
>                                  [EMAIL PROTECTED]
>                 mailQuota: 10000000, 10000C
>                 mailForwardingAddress: no entry in the database
>                 deliveryProgramPath: no entry in the database
>                 qmailDotMode: no entry in the database
>                 deliveryMode: no entry in the database
>                 mailReplyText: no entry in the database
> 
> 

Reply via email to