On Thu, Oct 20, 2022 at 5:00 PM Wietse Venema <wie...@porcupine.org> wrote:

>
> You can do this with a main.cf:virtual_alias_maps lookup table that
> takes as search key an email address in your domain like
> user123@yourdomain. If their email should be delivered externally,
> the lookup table returns the external email address like
> user...@gmail.com, otherwise it returns not found.
>
> That could be an LDAP table, or any other table lookup mechanism
> that Postfix has support for.
>

I think i understand what you mean.
Would this be compatible with our "internal" users? ie: can postfix send
some mails locally (to procmail/maildir) and others remotely (smtp),
although all users are populated in the same LDAP?

Reply via email to