This content has been marked as final. Show 1 reply
There are some ways to do this sort of thing. But first we should clarify what you are trying to do and why.
In general, it does not make sense to assign a destination channel based on a source address. The destination channel is all about how mail gets where it is going, not where it came from. Do you really want to cause all mail that comes from a given source to be enqueued to a specific destination channel? What is that channel supposed to do with them?
You can use the $M or $N meta-characters to cause a rewrite rule to only succeed ($M) or fail ($N) if the message is coming from a specific source channel. See:
Also see the following knowledge articles in MOS:
Redirecting incoming mail based on source IP address to another remote MTA. (Doc ID 1012112.1)
Messaging Server - Simple Way To Route Mail At MTA Level Based On User Attribute (Doc ID 1225494.1)
How to route outbound messages to a specific channel and routing host. (Doc ID 1469177.1)