/dev/rob0: > The way I would implement LMTP (which I have not yet done, but I am > sure I'll do eventually, for a customer if not for my own site) is as > a relay domain, with that domain listed in transport_maps:
This is not relaying, instead this is final delivery. I would therefore suggest a final delivery address class. The virtual_mailbox class would be most natural for this. /etc/postfix/main.cf: virtual_mailbox_domains = the list domains virtual_transport = the lmtp transport virtual_mailbox_maps = the list of users You aren't using the Postfix virtual(8) delivery agent. Therefore Postfix uses virtual_mailbox_maps only to look up the recipient, and it doesn't matter what the lookup result looks like. That makes virtual_mailbox_maps remarkably similar to relay_recipient_maps. transport_maps are not needed for this (they would be needed for destinations that require local(8) or pipe(8) features). I think that virtual_mailbox_maps needs to be documented better, for use cases like the one shown above. Wietse