Thanks Viktor, in practical what is the suggested field to use as a result attribute? Thanks again.
-----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Viktor Dukhovni Sent: Tuesday, April 14, 2015 10:32 AM To: postfix-users@postfix.org Subject: Re: Handling of AD proxyaddress On Tue, Apr 14, 2015 at 09:54:47AM +0800, jac...@wkg1.umac.mo wrote: > Since MS Exchange email servers need to add additional entry in > proxyaddress of MS AD server, such as: "smtp: x...@exchange.xxx", in > our previous configuration, postfix powered email servers are able to > query the entries in the field of proxyaddress and relay email, but > once the query result contains "smtp: x...@exchange.xxx", postfix will > try to delivery with the username as "smtp: xxx" and then generate a user not found bounce email. This is silly, the "proxyAddresses" attribute is a fine field to use in your LDAP query, but it must not be your result attribute. > I would like to ask is there any way to avoid the bounce? Don't misconfigure your LDAP table definition to use proxyAddresses as a result attribute for rewrite tables. -- Viktor.