Tan Mientras:
> Please, excuse me.
> 
> I read the answer, but I dont know how to further detail my question.
> That's the point.
> For that reason I wrote latest email.
> 
> Our LDAP has mail field set to user email address eg: "user123@*ourdomain.com
> > <http://ourdomain.com>*".
> > Some LDAP users are "external" to our organization, so we want to setup
> > email to "user456@*gmail.com <http://gmail.com>*"
> >
> > However, due to our configuration, those "external" mails sent from
> > ourdomain go to user maildir instead of forwarding them "externally"
> > How could we configure postfix to enroute them out?

Here is some speculation based on zero information.

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.

        Wietse
> 
> 
> 
> On Thu, Oct 20, 2022 at 2:28 PM Markus Sch?nhaber <
> postfix-us...@list-post.mks-mail.de> wrote:
> 
> > 20.10.22, 10:12 +0200, Tan Mientras:
> >
> > > What configuration files should i paste here in order to further detail
> > our
> > > scenario?
> > > Any other info you may need, please feel free to ask.
> >
> > Although you don't seem to read the answers you get, I'll try once more:
> >
> > https://marc.info/?l=postfix-users&m=166515964715389&w=2
> >
> > --
> > Regards
> >    mks
> >
> >

Reply via email to