On Tue, Dec 23, 2014 at 12:39:52PM -0500, Wietse Venema wrote:
> > I'm using virtual aliases. Wouldn't that cause message to be handed off to
> > virtual_mailbox or mailbox_transport?
>
> The routing depends on the recipient address, after optional
> address rewriting.
>
> In your case it would be sufficient to have a transport_maps
> entry with:
>
> [email protected] lmtp:
Perhaps better (includes recipient validation):
main.cf:
mydestination =
virtual_mailbox_domains = example.com
indexed = ${default_database_type}:${config_directory}/
virtual_mailbox_maps = ${indexed}virtual_users
# Adjust LMTP nexthop to taste.
virtual_transport = lmtp:inet:imap.example.com:24
virtual_users:
# When virtual_transport is not virtual(8),
# RHS is ignored, but must be present.
#
[email protected] virtual
--
Viktor.