Re: CentOS 4.0 warning : dict_ldap_lookup : Search error 32 : No such object , virtual alias maps lookup problem for [email protected]

"Robert Becskei" <[email protected]> Thu, 17 Mar 2005 18:00:10 +0100
Newsgroups gmane.mail.jamm.user
Message-ID <000901c52b12$c757c170$1701a8c0@info2000256>
Hello Stijn,

 thank you for the answer , meanwhile I did find out the solution, and yes 
you were correct, the errors were the ones shown, bellow. THANK YOU VERY 
MUCH.

though now I have a different problem I don't know why, but postfix tries to 
look up root in the openldap database... why ? it shouldn't lookup it's 
primary domain topolauniverzal.vet in the openldap databes...

is there a solution to this one ?

Sincerely
Robert B
----- Original Message ----- 
From: "Stijn Jonker" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 17, 2005 16:25
Subject: Re: [Jamm-users] CentOS 4.0 warning : dict_ldap_lookup : Search 
error 32 : No such object , virtual alias maps lookup problem for 
[email protected]


> Hello Robert,
>
> Robert Becskei said the following on 17-Mar-05 11:10:
>> Hello everyone,
>>
>> I've beeng googling for a few days and was unable to find any solution to
>> fix this error of mine, so I though I would ask the people here for 
>> advice.
>> I've set up this system using the HOWTO found at JAMM's website, but also
>> took some pieces from other howtos, my problem is basicaly this :
>>
>> Mar 17 10:25:42 mailer postfix/pickup[5470]: 6BDC43983DC:uid=0 
>> from=<root>
>> Mar 17 10:25:42 mailer postfix/cleanup[5472]: 6BDC43983DC:
>> [email protected]
>> Mar 17 10:25:42 mailer postfix/cleanup[5472]: warning: dict_ldap_lookup:
>> Search error 32: No such object
>> Mar 17 10:25:42 mailer postfix/cleanup[5472]: warning: 6BDC43983DC:
>> virtual_alias_maps lookup problem for [email protected]
>> Mar 17 10:25:42 mailer postfix/cleanup[5472]: warning: 
>> maildrop/6300539849F:
>> Error writing file
>>
>> And this is how I got here , showing only the really necesary parts of my
>> config :
>
>
>> ldap:accounts root.root -rw-r--r--
>> ldap:accountsmap root.root -rw-r--r--
>> ldap:aliases root.root -rw-r--r--
>> ldap:domains root.root -rw-r--r--
>
> These files are named: "ldap:domains" etc
>
>> III.
>> Postfix Configuration
>
>> accountsmap_server_host = localhost
>> accountsmap_search_base = o=hosting,dc=topolauniverzal,dc=vet
>> accountsmap_query_filter =
>> (&(objectClass=JammMailAccount)(mail=%s)(accountActive=TRUE)(delete=FALSE))
>> accountsmap_result_attribute = mail
>> accountsmap_bind = no
>> 6. main.cf
>> myhostname = mailer.topolauniverzal.vet
>> mydomain = topolauniverzal.vet
>> virtual_alias_maps = ldap:accountsmap, ldap:aliases
>
> Therefore this should be: "ldap:ldap:accountsmap" although I question if 
> this works
>
> If you rename all the ldap:account, ldap:accountsmap, ldap:aliases, 
> ldap:domains to ldap_<name>
>
> Then in the config use: ldap:ldap_<name>
>
> I think this is the issue.
>
>> adduser vmail
>> virtual_transport = virtual
>> virtual_mailbox_base = /home/vmail/domains
>> virtual_mailbox_maps = ldap:accounts
>> virtual_mailbox_domains = ldap:domains
>> virtual_minimum_uid = 505
>> virtual_uid_maps = static:505
>> virtual_gid_maps = static:505 (/etc/passwd file for uid and gid checking)
> -- 
> Met Vriendelijke groet/Yours Sincerely
> Stijn Jonker <[email protected]>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Jamm-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jamm-users
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click