Hello, I found out that my postfix does a lot of useless (LDAP) requests (in my opinion) when transport maps are enabled and in place. I use transport maps to map incoming mails to different destination hosts, based on destination mail address. So there should be no lookup at all for sender address or local or domain part. But I can see a lot of those requests happening on my LDAP instantly after the "mail from:<>" command in smtp session. But I don't see any reason why this should be happening... How can I disable those lookups for sender addresses (that obviously don't exist on my mail system).
Any help or idea or lead in a direction is very appreciated, thanks in advance! My ldap query looks like this ( transport_maps =ldap:transport.cf ): server_host = ldaps://xxxxx:636 version = 3 search_base = ou=mail-users,o=xx,c=xxx query_filter = (|(mail=%s)(mailalternateaddress=%s)) result_attribute = mailTransport debuglevel = 1 bind = no The log that is produced in debug mode: https://pastebin.com/V8RPcXa0