Avatar of inspirednetworks
inspirednetworksFlag for Canada asked on

Sonicwall rule to push all outbound smtp traffic to specific server

i have an e5500, and would like to save myself from having to reconfigure a ton of clients outlook smtp server settings after an ISP change.

Ideally i'd like to redirect any outgoing traffic on port 25 so that it points to our ISP's new SMTP server.

Right now, I have a route setup so that any smtp traffic destined to the old ISP's server gets pushed out through the interface that's still connected to the old ISP, but that's getting shut off in a couple days.

Any help is appreciated. Haven't quite managed to wrap my head around this one.
RoutersHardware Firewalls

Avatar of undefined
Last Comment
wullieb1

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
wullieb1

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
inspirednetworks

Thanks, I'll check it out in the morning.
ASKER
inspirednetworks

I've attached two screenshots

working - this is the routing rule that i've got that is successfully routing mail that is destined to the old mail server through the old ISP (X1)

notworking - this is the nat policy where i'm attempting to route all outgoing port 25 traffic to the shaw (new isp) mail server (mail.shaw.ca) on its X5 interface.


note: I didn't try these rules at the same time, i deleted the routing rule then enabled the nat policy and tried sending mail through both mail.metrobridge.net (old) and mail.shaw.ca (new) .... the mail.metrobridge.net failed but the mail.shaw.ca worked.
the routing rule works for both now, but once we cancel our X1 line, it wont.
working.png
notworking.png
wullieb1

You might actually be better changing the route statement if it is working.

How are your clients configured for sending email at the moment?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes