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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |