Community discussions

MikroTik App
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

SRC Address for Email

Sun Mar 07, 2021 4:46 pm

Hi Team,

One of our Mikrotik Router is connected with Two WAN (WAN1 and WAN2).

We use Netwatch Option to Monitor our Servers IP and Send UP and DOWN Emails.

Our Email Server Only accepts smtp from WAN2 IP address.

But in Mikrotik Tools Email there is no option to mention the Src. Address.

Can anyone help me with this or is there any other alternate solution to this issue????
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SRC Address for Email

Sun Mar 07, 2021 5:53 pm

So if wan2 goes down, you will not get any email at all since only wan2 can send email?
 
User avatar
panisk0
newbie
Posts: 25
Joined: Sun Mar 06, 2016 10:36 pm
Location: Cracow
Contact:

Re: SRC Address for Email

Wed Mar 10, 2021 9:46 am

/ip route
add distance=1 dst-address=123.123.123.123/32 gateway=10.199.199.1 routing-mark=to_SMTP
/ip route rule
add action=lookup-only-in-table dst-address=123.123.123.123/32 table=to_SMTP
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: SRC Address for Email

Wed Mar 10, 2021 3:47 pm

So if wan2 goes down, you will not get any email at all since only wan2 can send email?
Yes, We just wan to monitor one of our server and our WAN2 is most reliable as it is connected to Core Routers

Who is online

Users browsing this forum: Majestic-12 [Bot], rogerioqueiroz and 17 guests