On Wed, Jun 28, 2023 at 09:59:21AM +0900, Alberto Lepe via Postfix-users wrote:

> So it means that 'yuko3000' should expand also to 'yuko.exam...@gmail.com',
> right?

I said no such thing.  Rather lists should expand to a set of logical
mailbox addresses, and each mailbox address should at its final
destination resove to a suitable actual mailbox.

Your mistake is perhaps in expanding lists directly to physical
mailboxes.  But there are a number of ways to model this.  Some
saner than others.

Instead of trying random tweaks, think through the design.  You
should have a sensible model for lists, and a sensible model for
leaf entities (logical mailboxes).

Some leaf mailboxes will be final on the local machine and will
resolve to physical maildir locations, user accounts, ...
Others will be remote.

The LDAP_README file describes some potential models in the LDAP
context, and you could perhaps adapt some of the ideas to MySQL, though
the details will be different, because the concepts of of leaf, terminal
and special result attributes are LDAP-specifics.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to