Route specific site traffic through wan2

Hello everyone,
I am having a problem with opening webmail using my primary wan. I think some firewall rule in webmail is causing this but i cannot check it since is not my side. I tested using second line and i can access it but i want to create a rule to redirect all traffic to that site through second line. Can you help me with this? I tested creating a mangle rule and markimg the traffic to the destination mail.domain.com and created a routing rule to use wan 2 for that routing mark exactly like this:

/ip firewall mangle
add chain=prerouting dst-address=example.com action=mark-routing new-routing-mark=example_route

/ip route
add dst-address=0.0.0.0/0 routing-mark=example_route gateway=IP_of_specific_WAN

Thank you

  1. If its a fixed IP you can use either routing rules or mangling.

  2. What version of RoS are you using??

MANGLE
For vers6 as you have done…
/ip firewall mangle
add chain=prerouting dst-address=example.com action=mark-routing new-routing-mark=example_route
/ip route
add dst-address=0.0.0.0/0 gateway=ISP2-gateway-IP routing-mark=example_route

For vers7
/routing table add fib example_route
/ip firewall mangle
add chain=prerouting dst-address=example.com action=mark-routing new-routing-mark=example_route
/ip route
add dst-address=0.0.0.0/0 gateway=ISP2-gateway-IP routing-table=example_route

ROUTING RULES
Vers6
/routing rule add dst-address=FIXED-WANIP action=lookup-only-in-table table=example_route
/ip route
add dst-address=0.0.0.0/0 gateway=ISP2-gateway-IP routing-mark=example_route[/i]

Vers7.
/routing table add fib example_route
/routing rule add dst-address=FIXED-WANIP action=lookup-only-in-table table=example_route
/ip route
add dst-address=0.0.0.0/0 gateway=ISP2-gateway-IP routing-table=example_route

I am using version 6. This command does not work routing table add fib example_route. Also when i use the first method the page stays loading and says it took too long to response. I am posting the config export and screenshot a bit later today. Thanks for fast reply

Fixed my post so it was clearer