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.

> Currently have the following configuration -
> 
> virtual_mailbox_maps = pgsql:/etc/postfix/pgsql_virtual_mailbox_maps.cf

The result must be a pathname that ends in '/'. That is what
enables maildir delivery.

You can test that with the postmap command.

        Wietse

Reply via email to