On Thu, May 26, 2011 at 02:14:20PM -0700, Stephen Ingram wrote:

> 4test.net     4test.net
> 
> thinking that the right side doesn't matter. Postfix is just looking
> for the presence of the domain, no?
> 
> For the ldap lookup, postfix is looking for 4test.net for which the
> query results in the same 4test.net returned. Isn't that correct?

Almost certainly not. The LDAP query must also be matching other domains.

> In both cases, the user, u...@test.net is looked up in the
> virtual_aliases_map (ldap) which converts the address to a local user
> (user in this example) and the mail is delivered via lmtp to cyrus
> (when it works). Also note that the virtual_alias_map is the same ldap
> lookup in both cases. The only thing I'm changing is whether the
> domain lookup is using a hash table or ldap table.

The LDAP lookup matches additional lookup keys. To find out which,
read or post the full log entries for the bounced email. Your anecdotal
retelling of what's in the logs leaves out critical information.

-- 
        Viktor.

Reply via email to