On Fri, Oct 07, 2022 at 09:08:49AM +0200, Tan Mientras wrote:

> Our LDAP has mail field set to user email address eg: 
> "user123@*ourdomain.com*".
> Some LDAP users are "external" to our organization, so we want to setup
> email to "user456@*gmail.com*"
> 
> However, due our configuration mails sent from ourdomain go to user
> maildir instead of forwarding them "externally"
> How could we configure postfix to enroute them out?

Your question is not sufficiently detailed to support a meaningful
answer.

- Look over https://www.postfix.org/LDAP_README.html
- Look over https://www.postfix.org/ldap_table.5.html
- Post all relevant fields of a sample LDAP entry in LDIF format.
- Post releval LDAP table definitions (sans passwords).
- Post any relevant entries in any transport(5) tables
- Post unmangled "postconf -n" output.
- Post unmangled "postconf -Mf" output.

    https://www.postfix.org/DEBUG_README.html#mail

-- 
    Viktor.

Reply via email to