Did someone here already faced such problem ?
I am really needing help from the mailing list.

Thanks.

On Mon, Jan 14, 2013 at 1:28 PM, Ismail YENIGUL
<[email protected]>wrote:

>  Hi,
>
> Do not use homeDirectory and mailMessageStore for the same user. I suggest
> you to  use mailMessageStore.
>
> homeDirectory: /home/vlobo
> mailMessageStore: vlobo
>
> Here is my working example:
>
> dn: [email protected],ou=mydomain.com,o=mail,dc=surmail
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: qmailUser
> uid: [email protected]
> mail: [email protected]
> givenName: ismail
> sn: test
> cn: ismail test
> userPassword::
> e1NTSEF9OThGbWhLWjFOWU1vekhkNG5PRFpzZXR4QUg1bFpHTmxaV1kzTURkag==
> mailHost: mail.mydomain.com
> mailQuotaSize: 1000000000
> mailQuotaCount: 1000
> accountStatus: active
> mailMessageStore: /mail/mydomain.com/ismail
>
>
>
> On 14.01.2013 17:17, Friedrich Locke wrote:
>
> Hi folks,
>
> I have just finnished installing my qmail-ldap system. I am trying to send
> me a local message, but no success so far.
>
> Here is what i am trying:
>
> sioux@gustav$ echo to: vlobo |
> /var/qmail/bin/qmail-inject
> sioux@gustav$
>
>
> Here is what i got from qmail-ldap logs:
>
> @4000000050f4201a17a0e594 new msg 1039956
> @4000000050f4201a17a0e97c info msg 1039956: bytes 220 from <
> [email protected]> qp 4069 uid 1000
> @4000000050f4201a17a1761c starting delivery 21: msg 1039956 to local
> [email protected]
> @4000000050f4201a17a1df94 status: local 1/100 remote 0/400
> @4000000050f4201a17d130dc delivery 21: deferral:
> Temporary_failure_in_LDAP_lookup._(#4.4.3)./
> @4000000050f4201a17d1f814 status: local 0/100 remote 0/400
>
>
> Here is what i get from qmail-ldaplookup:
>
> gustav# ../bin/qmail-ldaplookup -d 255 -m [email protected]
> Searching ldap for: (|([email protected])(mailAlternateAddress=
> [email protected])))
> under dn: ou=people,dc=ufv,dc=br
> qmail-ldaplookup: fatal: qldap_filter: unspecified error
> gustav#
>
>
> And here is what i got from slapd log:
>
> 50f42010 ber_get_next on fd 14 failed errno=0 (Undefined error: 0)
> 50f42010 connection_read(14): input error=-2 id=1047, closing.
> 50f42010 connection_closing: readying conn=1047 sd=14 for close
> 50f42010 daemon: activity on 1 descriptor
> 50f42010 daemon: waked
> 50f42010 daemon: select: listen=5 active_threads=0 tvp=zero
> 50f42010 daemon: select: listen=6 active_threads=0 tvp=zero
> 50f42010 daemon: select: listen=7 active_threads=0 tvp=zero
> 50f42010 daemon: select: listen=8 active_threads=0 tvp=zero
> 50f42010 daemon: select: listen=9 active_threads=0 tvp=zero
> 50f42010 connection_close: deferring conn=1047 sd=14
> 50f42010 conn=1047 op=1 do_unbind
> 50f42010 conn=1047 op=1 UNBIND
> 50f42010 connection_resched: attempting closing conn=1047 sd=14
> 50f42010 connection_close: conn=1047 sd=14
> 50f42010 daemon: removing 14
> 50f42010 conn=1047 fd=14 closed
>
> But when i try by hand:
>
> sioux@gustav$ ldapsearch -D cn=mail,ou=appsrv,dc=ufv,dc=br -b
> ou=people,dc=ufv,dc=br -h localhost -W \(\|\([email protected]
> \)\([email protected]\)\)
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <ou=people,dc=ufv,dc=br> with scope subtree
> # filter: (|([email protected])(mailAlternateAddress=
> [email protected]))
> # requesting: ALL
> #
>
> # vlobo, people, ufv.br
> dn: uid=vlobo,ou=people,dc=ufv,dc=br
> uid: vlobo
> objectClass: organizationalRole
> objectClass: posixAccount
> objectClass: qmailUser
> homeDirectory: /home/vlobo
> userPassword:: e1NBU0x9dmxvYm9AVUZWLkJS
> mail: [email protected]
> mailAlternateAddress: [email protected]
> mailHost: gustav.cpd.ufv.br
> mailMessageStore: vlobo
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
> sioux@gustav$
>
>
> Everything works. What am i doing wrong ?
>
>
>

Reply via email to