From: Tony Earnshaw (no email)
Date: Thu Sep 01 2005 - 06:47:02 EDT
tor, 01.09.2005 kl. 11.32 skrev Angel L. Mateo:
> This is the postconf -n of the problematic server:
>
> alias_database = hash:/etc/postfix/aliases,
> hash:/etc/postfix/aliases-zape
> alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/aliases-zape
> canonical_maps = hash:/etc/postfix/canonical
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> default_privs = nobody
> home_mailbox = Maildir/
> html_directory = /usr/share/doc/postfix/html
> inet_interfaces = all
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailbox_command = /usr/bin/maildrop
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> mydestination = $myhostname telemat.um.es pop.um.es
> mynetworks = 127.0.0.0/8, 172.19.2.1, 172.19.2.2, 172.19.3.0/24
> mynetworks_style = host
> myorigin = pop.um.es
> newaliases_path = /usr/bin/newaliases
> notify_classes = 2bounce, resource, software
> readme_directory = /usr/share/doc/postfix
> relayhost = smtp.um.es
> sample_directory = no
> sendmail_path = /usr/lib/sendmail
> setgid_group = postdrop
> smtpd_banner = $myhostname NO UCE ESMTP $mail_name
> smtpd_recipient_restrictions = permit_mynetworks, reject
> soft_bounce = no
> transport_maps = pcre:/etc/postfix/transport.pcre
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = ldap:/etc/postfix/ldap-domains.cf
> virtual_alias_maps = hash:/etc/postfix/alurepes,
> ldap:/etc/postfix/ldap-users.cf, ldap:/etc/postfix/ldap-aliases.cf
>
> The ldap-users.cf and ldap-aliases files are:
>
> myotis2:/etc/postfix# cat ldap-users.cf
> # Mapea usuario at dominio dot virtual a usuario (de sistema)
> server_host = ldap.um.es
> server_port = 389
> bind = yes
> bind_dn = <DN>
> bind_pw = <Password>
> search_base = <base dc>
> query_filter = (&(mail=%s)(objectClass=CourierMailAccount))
> result_attribute = uid
> myotis2:/etc/postfix# cat ldap-aliases.cf
> # Equivalente al /etc/aliases, pero para que tire del ldap
> server_host = ldap.um.es
> server_port = 389
> search_base = <base dc for aliases>
> query_filter = (&(mail=%s)(objectClass=CourierMailAlias))
> result_attribute = maildrop
> bind = yes
> bind_dn = <DN>
> bind_pw = <Password>
Looks ok to me, but:
1: I don't see any proxy_read_maps in the postconf -n output. I'm not
sure why dict_proxy_open is being called;
2: Suspect your OpenLDAP version and DB backend. What version of both
are you using?
--Tonni
-- mail: http://www.billy.demon.nl
|
|
|