how to create notification to mail the dude?

hello,
I want to get an E-mail when my router is down.
and again when he start to work again.

But it’s doesn’t work for me
this is what I did in the Dude:

notification-Email:
server:173.194.77.108 (gmail)
to:david@gmail.com

in the setting I put david@gmail.com

and on every device I need to know about him -I mark the notification with a V.
but I don’t get any mail (even that I see that the router is down-no ping)
when I press the test button I get “Invalid FROM address”

help?


thanks ,

this is how my system built -
Capture.PNG

Do you get an email when you hit the “test” button under your email setup?

Under the settings for notification make sure that unstable->down is checked for the down email.
then the setting for down-up needs a check for the up email.

Devices only go from up to down if you only have 1 poll with no retries.

From the diagram it seems that your Dude server needs to connect to the internet to send the email and it connects to the internet through the router (which is down when the email is being generated). That will not work as there is no path for the email to travel to the internet. Need to send an SMS using an out-of-band method such as a dial-up modem or mobile phone.

O.k so now I have a computer with the Dude that goes to my office server
and when I config the dude to sent mail
in the setting I define my own mail - david@myoffice.com
and in the send to the same - david@myoffice.com
I get TimeOut

?
thanks,
Untitled.png

on the general tab of the settings of the server configuration there is a Primary SMTP server, put the ip address of your mail server there and then in the from field put dude@work.com. On the polling tab click next to notification, click the 3 dot button, double click notification, click test. Under advanced make sure there is a check next to down-up and unstable-down.

I still get TImeOut
but maybe I didn’t understand you
in the IP address of my mail server do I need to put the 10.0.0.254 or the external IP? 192.X.X.X?
and also what to put in:
Polling–>Notification–>Server?

Thanks,

If you don’t know the ip address of your mail server you are going to need to know that.

In settings under Polling on the bottom half of that server configuration window there is “Notifications:”. You must have a check mark on a notification that sends an email. By default there is one in the list called “Notification” and various others (there needs to be a check mark next to that). If you click on the box with 3 dots in it, the list of “Notifications” appears in a new window. You can edit them from here, open Notification make sure it is set up as email. The server should have been specified on the General tab so don’t put one here. Put your address in the to field, click test. If you get a timeout you have the wrong settings for email server in the General tab.

O.K
now it’s working!
I needed to write the 10.0.0.55 as the mail server

Thanks ,

Now is it possible to send the mail to Gmail?
If I give him my Gmail “david@gmail.com” I get “INVALID TO ADDRESS”
is there a way yo fix it?

Leave it the way it was working, then just change the “to” field in the notification not the server field.

did it.

but still get “invalid TO address”.
I have try to send to a sevral mail accounts.(not only Gmail)

what could be the problem?

We had the same problem. After researching the Gmail settings, we found that Gmail does not use the normal port settings and uses encryption.

Use this thread from the forums, it worked for us. Note: you have to use this on a Windows box.

http://forum.mikrotik.com/t/dude-email-notifications-through-gmail-on-windows-via-blat/28399/1

Yes if you want to use gmail as your mail server but if you just want to send email to your gmail address you can just put your gmail…

not working
I can only send mail to people in my network dave@office , mike@office,
not to out
why?

Sounds like an email sytem configuration issue. If The Dude can send alert emails to people on your internal network using your internal mail relay then the configuration of The Dude is not really the issue.

There could be restrictions on your Email system that only allows certain classes of users to send email externally.

I thought I should update this thread as I have found a solution for email notifications DIRECTLY through The Dude without any other junk…

If you have a Gmail account then enter this SMTP server in the dude for primary SMTP… aspmx.l.google.com (you will have to resolve it to an ip address to input into dude). Then use your gmail address for the send to address and that is it!!! Have had email notifications up and running with this for over a week!!! This particular SMTP server DOES NOT require authentication as long as it is going to a Gmail account, that is why it will work in the Dude.