Community discussions

MikroTik App
 
User avatar
Maggiore81
Trainer
Trainer
Topic Author
Posts: 562
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

How to redirect port 25 to a specific server

Fri Dec 21, 2012 5:02 pm

Hello
I have this situation:

Internet ISP #1
internet ISP #2

users goes out from ISP1 or ISP2 according to a mangle rule that matches an address list.

So:

Users ISP 1 and Users ISP 2.

OK.

the smtp relay server for isp 1 is: smtp-isp1.relay.com
the smtp relay server for isp 2 is: smtp-isp2.relay.com

I would like to do this:

I would lke to use in the user's mail client, for example: SMTP.RELAY.COM that is a CNAME of smtp-isp1.relay.com.

But when the user using it is from users-isp2 address list, the MT should forward it to another host, smtp-isp2.relay.com
How can I use the Mikrotik reouter to "intercept" requests to that smtp service?

I think about something similar to transparent proxy
 
User avatar
Maggiore81
Trainer
Trainer
Topic Author
Posts: 562
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: How to redirect port 25 to a specific server

Fri Dec 21, 2012 5:19 pm

Who is online

Users browsing this forum: Ahrefs [Bot], DanMos79, holvoetn, tangent and 93 guests