Stats Student: > On Wed, Jul 8, 2020 at 1:10 PM Wietse Venema <wie...@porcupine.org> wrote: > > > > Stats Student: > > > > Again, an email address IS NOT an account. > > > > > > > > > > Ok, understood. > > > > > > > If it helps to rephrase the example: > > > > > > > > Prerequisites: > > > > foo@example delivers to script > > > > foo.maildir@example delivers to maildir > > > > > > I don't know how to satisfy the last prerequisite. Can you help? > > > > There are so many ways. One is to use transport_maps to route > > foo.maildir@example to the virtual delivery agent, and then configure > > virtual_uid_maps, virtual_gid_maps, and virtual_mailbox_maps. > > 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 '/'. Wietse