According to the man page I can't do regular expression substitution in transport maps with Postfix 2.3 or later.
The trivial-rewrite(8) server disallows regular expression substitution of $1 etc. in regular expression lookup tables, because that could open a security hole (Postfix version 2.3 and later). Is there a way to override this setting or am I stuck running Postfix 2.2? Thank you, David