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

In ldap-aliases.cf I also enhanced the query_filter so that mail for MS
Exchange users (who all have the msExchMailboxGuid attribute) will be
rejected at SMTP time.

query_filter = (&(mail=%s)(!(msExchMailboxGuid=*)))

Cheers,
Gavin.


Reply via email to