Community discussions

MikroTik App
 
User avatar
dash
newbie
Topic Author
Posts: 37
Joined: Tue Apr 28, 2015 12:05 pm

system/logging/actions email does not work

Mon Jun 15, 2015 10:49 pm

Hi guys, im a facing issues in sending specific log entries by email. I am using ROS 6.27-6.29.1 on a CRS125

WORKING: firewall filter rule to create a log entry once someone connects to my umurmur server...

/ip firewall filter
add action=log chain=forward comment="Log murmur client join" \
connection-state=new dst-address=192.168.0.14 dst-port=64738 log-prefix=\
MURMUR_CLI_JOIN protocol=tcp


NOT WORKING: I want to get an email once the above firewall rule is matched, so i did...

/system logging action
add email-start-tls=yes email-to=testmail@gmail.com. name=mail target=\
email
/system logging
add action=mail prefix=MURMUR_CLI_JOIN topics=firewall


Is someone using this email logging action with success? Sending mails from a script works perfectly on the same device...
When i am logging the above rule but with target remote, memory... it works all fine, just that email target is not working
 
endurofever
just joined
Posts: 3
Joined: Tue May 19, 2015 11:15 pm

Re: system/logging/actions email does not work

Thu Jul 30, 2015 6:50 am

Same issue here for me and I am on 6.31rc11. I haven't tried using this in the past so I don't think it is something wrong with the build.
 
User avatar
dash
newbie
Topic Author
Posts: 37
Joined: Tue Apr 28, 2015 12:05 pm

Re: system/logging/actions email does not work

Thu Jul 30, 2015 12:04 pm

I came around this issue by using a log parser script. There are examples of those scripts around in the internet, they do the job after some minor modifications.

btw. email notification with logging rules after a system,error,critical (login failure for example) works with no issue...

Who is online

Users browsing this forum: Bing [Bot], mansuramir, VirtualEvan and 139 guests