Re: aliasing whole domain using ldap
- On Wed, Dec 01, 2010 at 12:47:58PM +0300, Michael Tokarev wrote:
> Let's assume we've example.com domain with all the addressesYes, but it costs one table for each aliased domain (the domain can have
> stored in LDAP somehow. Now let's assume also that example.net
> should be an alias for example.com.
domain = example.net ...
query_filter = mail=%u@...
result_attribute = mail
It is generally better to store multiple addresses for each user.
domain = example.com example.net
query_filter = mailalternateaddress=%s
result_attribute = maildrop