Postfix: routing applyed to wrong recipient when using check_recipient_mx_access

That is ok for the first recipient because its MX resolve something.protection.outlook.com but not the second one, because mydom2 has a special routing in transport_maps which is not used in that case and because its MX do NOT resolve in something that match mxaccess table.

i found this text:

  • If a message triggers more than one filter action, only the last one takes effect.
  • The same content filter is applied to all the recipients of a given message.

at: http://www.postfix.org/FILTER_README.html#dynamic_filter