> I've found that in main.cf, this works fine:
>
> transport_maps = hash:/etc/postfix/transport1 hash:/etc/postfix/transport2
>
> But not in master.cf (under a smtpd process definition):
>
> -o transport_maps=hash:/etc/postfix/transport1 hash:/etc/postfix/transport2
>
> Postfix complains:
>
> fatal: unexpected command-line argument: hash:/etc/postfix/transport2
>
> I tried with comma-delimted instead of spaces, but no dice. Is this a
> syntax
> limitation in master.cf or a syntax misunderstanding on my part? Or?
Er, with more testing, it looks like I can't even override transport_maps in
master.cf at all(?).
I have a run-of-the-mill transport map in main.cf, and in master.cf, I was
hoping to override it when it gets back from content filtering:
127.0.0.1:10024 inet n - n - - smtpd
-o content_filter=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
-o transport_maps=hash:/etc/postfix/transport2
So transport_maps is static, un-mutable?