On 7/14/2010 11:11 AM, Dusan Obradovic wrote:
Postfix prior version 2.3 allowed this using regexp
transport_maps:
/^(.*)@(.*)$/ smtp:[${2}.smtp.transport.company.com]
I'm looking for this result in postfix version 2.3+:
u...@domain1.com <mailto:u...@domain1.com>
smtp:[domain1.com.smtp.transport.company.com]
regular expression substitution is no longer allowed in the
trivial-rewrite server (which uses transport) because it could
open up a security hole. There is no work-around.
You'll need to list your valid domain destinations individually.
-- Noel Jones