> On Apr 4, 2017, at 12:30 PM, Paolo Barbato <paolo.barb...@igi.cnr.it> wrote:
> 
>> For better performance, change "ldap:ldaprfx" to "proxy:ldap:ldaprfx"
> 
> Very effective suggestions, although if CGPro developers
> will accept my proposal, I'm confident that I'll be able
> to add CGPro virtual base directly using IMSVA web console.

When using LDAP in the Postfix SMTP server (smtpd(8)), it
is important to use "proxy:ldap:..." instead of "ldap:..."
when defining LDAP tables.  This significantly reduces the
number of concurrent connections seen by the LDAP server.
Many LDAP servers are not prepared to handle hundreds to
thousands of simultaneous connections.

In some cases you may need to augment "proxy_read_maps"
with the tables you intend to use.

Recent Postfix versions have a default settings of:

  $ postconf -fd proxy_read_maps
  proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
    $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
    $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
    $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
    $smtpd_sender_login_maps $sender_bcc_maps $recipient_bcc_maps
    $smtp_generic_maps $lmtp_generic_maps $alias_maps $smtpd_client_restrictions
    $smtpd_helo_restrictions $smtpd_sender_restrictions
    $smtpd_relay_restrictions $smtpd_recipient_restrictions

which covers all the tables listed in the various restriction lists.

-- 
        Viktor.

Reply via email to