override transport_maps master.cf

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

override transport_maps master.cf

Furs

Hi folks,

is it possible to override "transport_maps" in master.cf?

I have "transport_maps=hash:/etc/transport.1" defined in "main.cf", in
master.cf
i have:

127.0.0.1:10027 inet  n -       n       -       16      smtpd
        -o transport_maps=hash:/etc/transport.2

Some mails are filtered and injected to postfix via "smtpd" listening on
"127.0.0.1:10017",
but this proces uses transport_maps defined in main.cf, so my question is:

is it possible to override "transport_maps" in "master.cf" if it's defined
in "main.cf"?

Thank you very much.

________________________________________________________________
Mensaje enviado desde el WebMail de OPENWIRED.NET

Reply | Threaded
Open this post in threaded view
|

Re: override transport_maps master.cf

mouss-2
Furs wrote:
> Hi folks,
>
> is it possible to override "transport_maps" in master.cf?

no. transport_maps are global. use multiple instances: run postfix
multiple times.

>
> I have "transport_maps=hash:/etc/transport.1" defined in "main.cf", in
> master.cf
> i have:
>
> 127.0.0.1:10027 inet  n -       n       -       16      smtpd
>         -o transport_maps=hash:/etc/transport.2
>
> Some mails are filtered and injected to postfix via "smtpd" listening on
> "127.0.0.1:10017",
> but this proces uses transport_maps defined in main.cf, so my question is:
>
> is it possible to override "transport_maps" in "master.cf" if it's defined
> in "main.cf"?
>