> > > > I don't use transport_maps currently so it's unclear to me how this > > would work with the existing setup which I assume already uses the > > virtual delivery agent with virtual_transport. Can you please show an > > example of the transport_maps with two routes? > > In that case you already have maildir delivery, no transport map > needed as long as foo.maildir has an entry in virtual_*_maps, and > virtual_mailbox_maps for foo.maildir returns a pathname ending in > '/'.
I don't have Maildir delivery, the virtual_transport points to a custom defined delivery agent with pipe which executes a script (which you suggested at the beginning of this exchange) and that works fine. What I need is an additional "route" that would send the message to Maildir *in addition* to the pipe/script. I am guessing this is done through transport_maps but as I said before, I don't know how. Let me know if what I am asking isn't clear and I'll be happy to provide further details. I did post all of my configuration last week but can include it in the email, if that's the preferred method.