postfix-users June 2012 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: transport : pcre wildcard in TLD ?

transport : pcre wildcard in TLD ?

From: Frank Bonnet <f.bonnet_at_nospam>
Date: Thu Jun 14 2012 - 14:06:28 GMT
To: Postfix users <postfix-users@postfix.org>

Hello

I would like to reroute all yahoo domains to another SMTP
server of mine but the pcre wildcard in TLD filed I tried to
use does not work ... any pointer to PCRE examples welcome !

the rule in the transport map is the following

This does not work --> /\@yahoo\.*$/ smtp:[another.smtp.server]

This works fine --> yahoo.com smtp:[another.smtp.server]

thank you