On Sun, Sep 13, 2009 at 08:16:59PM +0100, Gavin Hamill wrote:

> On Sat, 2009-09-12 at 23:51 -0400, Victor Duchovni wrote:
> 
> > Your LDAP aliases table is expected to be equivalent in its use of
> > keys and values to the on-disk file. This is a frequently answered
> > question.
> 
> Thank you. I solved this by moving the LDAP lookup to a virtual table
> rather than a pure alias one:
> 
> virtual_alias_domains = laterooms.com
> virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf

You must not add the domain to virtual_alias_domains, unless all the
addresses in the domain are "virtual" and rewrite to "real" underlying
domains not equal the original virtual alias domain. All recipients
are looked up in virtual_alias_maps regardless of the setting of
virtual_alias_domains. To restrict which domains are searched in
LDAP, use the "domain" attribute of the LDAP table.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to