Hi list, I have a postfix configured as virtual mailbox, domain no user account
In my openldap.log i have a lotof request for example if send a mail to postfix via perl script.Postfix create LDAP request as: Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 fd=17 ACCEPT from IP=IP_postfix:57543 (IP=0.0.0.0:389) Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=0 BIND dn="kkkkkkkkkkkkkkkk" method=128 Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=0 BIND dn="kkkkkkkkkkkkkkkk" mech=SIMPLE ssf=0 Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=0 RESULT tag=97 err=0 text= Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=1 SRCH base="c=fr" scope=2 deref=0 filter="(|(mailAlternateAddress=\2A)(mail=\2A))" Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=1 SRCH attr=mailexchange Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=2 SRCH base="c=fr" scope=2 deref=0 filter="(|(mailAlternateAddress=\2A)(mail=\2A))" Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=2 SRCH attr=mailexchange Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=3 SRCH base="c=fr" scope=2 deref=0 filter="(|(mailAlternateAddress=my.host.name.dom)(mail=my.host.name.dom))" Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=3 SRCH attr=forwardingaddress Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text= Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=4 SRCH base="c=fr" scope=2 deref=0 filter="(&(objectClass=clsmail)(domain=myhostname.dom))" Jan 10 15:16:10 ldap-int-qo slapd[27062]: conn=4031 op=4 SRCH attr=domain myhostname.dom = is the hostname of my computer. They are not into my LDAP This request are completely not used so i wan't to disable it. they much request example on: i have a lot of request like: my.host.name.dom host.name.dom name.dom .dom u...@my.host.name.dom Do someone know howto disable this. thanks postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = localhost, localhost.localdomain, localhost myhostname = smtp1.cls.fr mynetworks = xxxxxxxxxx mynetworks_style = host myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated,reject smtpd_delay_reject = no smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,reject_unauth_destination smtpd_sender_restrictions = reject_unknown_sender_domain smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes transport_maps = hash:/etc/postfix/transport ldap:/etc/postfix/ virtual_mailbox.cf virtual_alias_maps = ldap:/etc/postfix/virtual_alias.cf virtual_mailbox_domains = ldap:/etc/postfix/virtual_domain.cf virtual_mailbox_maps = ldap:/etc/postfix/virtual_mailbox.cf ldap:/etc/postfix/virtual_domain.cf server_host = xxxx.yyyy server_port = 389 search_base = c=fr scope = sub timeout = 30 bind = yes bind_dn = uid=XXXXXx bind_pw = uet7lkLLL version = 3 start_tls = no query_filter = (&(objectClass=XXXXX)(domain=%s)) result_attribute = domain /etc/postfix/virtual_alias.cf server_host = xxxx.yyyy server_port = 389 search_base = c=fr scope = sub timeout = 30 bind = yes bind_dn = uid=XXXXXx bind_pw = uet7lkLLL version = 3 start_tls = no query_filter = (|(mailalternateAddress=%s)(mail=%s)) result_attribute = forwardingaddress /etc/postfix/virtual_mailbox.cf server_host = xxxx.yyyy server_port = 389 search_base = c=fr scope = sub timeout = 30 bind = yes bind_dn = uid=XXXXXx bind_pw = uet7lkLLL version = 3 start_tls = no query_filter = (|(mailalternateAddress=%s)(mail=%s)) result_attribute = mailexchange