Thanks Viktor, in practical what is the suggested field to use as a result attribute? Thanks again.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Viktor Dukhovni Sent: Tuesday, April 14, 2015 10:32 AM To: [email protected] Subject: Re: Handling of AD proxyaddress On Tue, Apr 14, 2015 at 09:54:47AM +0800, [email protected] wrote: > Since MS Exchange email servers need to add additional entry in > proxyaddress of MS AD server, such as: "smtp: [email protected]", 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: [email protected]", 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.
