On 18/03/14 15:26, Noel Jones wrote:
On 3/18/2014 10:20 AM, Alan Chandler wrote:

What I am becoming to realise - but which I can't find documented
anywhere is that there is a subtle difference between a map of
domains (as keys) and a map of e-mail addresses (as keys), and
although the documentation tells you that virtual_mailbox_domains
defaults to virtual_mailbox_maps, it actually can't because the
former is a list of domains and the latter is a list of e-mail
addresses, and it cannot extract the domains from the e-mail addresses.

This is documented in virtual_mailbox_domains.  The key is the
domain, the result can be anything.  Just because you hide the
domains inside a map containing full addresses does not change the
lookup.

When you overload virtual_mailbox_maps to also define
virtual_mailbox_domains, the bare domain must be included in the
map.  This is a historical implementation and is no longer
recommended because it's too confusing.

I understand now. As you say, it IS confusing - I just spent the weekend, most of yesterday evening and some time early this morning going round in circles because I had not understood that subtle point of one table inside the other.

Thanks for the explanation - now I see exactly what is what and can proceed with that knowledge.



--
Alan Chandler
http://www.chandlerfamily.org.uk

Reply via email to