I have a Postfix 2.8.5 server that is a gateway transport for several domains and it is sending backscatter when the transport map destination rejects user unknown. I see multiple MAILER_DAEMON messages like this in the queue at any given time. I was reading this document and see the local_recipient_maps configuration parameter is a way to stop the backscatter?
http://www.postfix.org/LOCAL_RECIPIENT_README.html I do not have this parameter defined, is this the same as being blank, like below? local_recipient_maps = I currently use LDAP for transport and other lookups and it seems I can use the same for this parameter and it does lookups with the domain only, i.e.: @domain, as well as the full email address when performing lookups. In our LDAP, the domain could be under more than one LDAP attribute. Looking at the 'Local recipient table format' section of the document, the left side (lookup side?) of the lookup table needs to be @domain or complete email address. Does this mean I will need an entry in LDAP including the prefix @ symbol? For instance, this example would *not* work? query_filter = (&(|(dc=%d)(associatedDomain=%d)(mailLocalAddress=%d))(objectClass=inetLocalMailRecipient)) result_attribute = dc result_format = @%s mx1# postmap -q x...@example.com ldap:/usr/local/etc/postfix/ldap/local_recipients.cf @example.com The doc says the right side of the lookup table (result?) is ignored, so my result_format is irrelevant? Just not sure if this is the best, and correct, solution for my backscatter issue. This is a production server, so I want to try and get the best solution as possible before implementing. -- Robert <rob...@webtent.org>