In postfix, when you need your e-mails for some specific domains to relay through another server ( your ip is blocked or for some other reason ) you can specify custom transport maps in the postfix config.
You have to setup postfix to use custom transport maps :
inĀ  main.cf enable the transport_maps directive :
transport_maps = [...]