Bluehost.com Web Hosting $6.95

ldap problem

This is a discussion on ldap problem within the mailing.postfix.users forums, part of the Mail Servers and Related category; hello, I'm using postfix (2.0.16) with openldap and i'm trying to configure an ldap cache. postfix ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2004
Chris Holleman
 
Posts: n/a
Default ldap problem

hello,

I'm using postfix (2.0.16) with openldap and i'm trying to configure an ldap cache.

postfix works, but i get the following log entries.

Feb 10 10:20:44 lisa postfix/smtpd[19916]: warning: dict_ldap_connect: Unable to configure cache for accountsmap: -1 (Unknown error) -- continuing
Feb 10 10:20:44 lisa postfix/smtpd[19916]: warning: dict_ldap_connect: Unable to configure cache for aliases: -1 (Unknown error) -- continuing

I have compiled openldap (2.1.25) with the following configure options

CPFLAGS=-I/usr/local/BerkeleyDB.4.1/include LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib ./configure --enable-ldbm --enable-cache

can anyone tell me what i've done wrong here ?

thanks in advance

Chris Holleman

postconf -n

alias_maps = hash:/etc/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_process_limit = 300
home_mailbox = Maildir/
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain
myhostname = lisa.isd-holland.nl
mynetworks = 127.0.0.0/8
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
queue_minfree = 102400
readme_directory = no
recipient_canonical_maps = ldap:domainalias
relay_domains = ldap:relaydomain
relayhost = foo.bar.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
soft_bounce = yes
transport_maps = regexp:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = ldap:accountsmap, ldap:aliases
virtual_gid_maps = static:504
virtual_mailbox_base = /var/vmail/domains
virtual_mailbox_domains = ldap:domains
virtual_mailbox_maps = ldap:accounts
virtual_minimum_uid = 101
virtual_transport = maildrop
virtual_uid_maps = static:503

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0