On 04/04/2011 11:55 PM, email builder wrote:
----- Original Message ----
From: Wietse Venema<wie...@porcupine.org>
To: Postfix users<postfix-users@postfix.org>
Sent: Mon, April 4, 2011 2:34:00 PM
Subject: Re: Multiple transport maps in master.cf?
email builder:
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
smtpd doesn't use transport_maps
I realize that, but I had read that it was "global", which I thought
meant I
could override it before a message was handed to smtp. I guess that was
naive.
Can I override default_transport?
As documented:
http://www.postfix.org/postconf.5.html#default_transport
Right, but from what I can tell (testing it), it's like transport_maps, in that
I can't change it willy-nilly in my smtpd process with a -o line, right? Works
fine if specified in main.cf, but ignored if I set it in master.cf.
I think you need to think hard about what it is you're trying to
achieve, since the options postfix offers are quite flexible.
Try to re-state the problem, and see if it is solvable with the provided
toolset.
It usually is.
--
J.