-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script error at email check for RouterOS 7.12.1 #48
Comments
Looks like "address" was the IP address (of server?), but I can not find "address" anymore inside /tool/e-mail. BTW, there is a "last-address" value. I don't know if they are the same thing. Maybe is better to check if "server" is set. My script copy is working again after solving the issue by changing that value with a valid one |
Hi - The script stopped working when trying to validate the below parts. I just disabled for now to fix. #Script messages prefix :log info "\r\n$SMP script "Mikrotik RouterOS automatic backup & update" started."; #Check proper email config :log error ("$SMP Email configuration is not correct, please check Tools -> Email. Script stopped.");:error "$SMP bye!";#} #Check if proper identity name is set :log warning ("$SMP Please set identity name of your device (System -> Identity), keep it short and #informative.");#}; |
I checked several times, everything seems to work correctly. |
running on 7.16rc2 here, i had to change you may need to update the script to the most recent release as there is a check for this |
Thanks @crowfeatherjoe , I will check it! |
I get an error after RouterOS update in section: #Check proper email config
The expression [/tool e-mail get address] is not valid because of the "address" value
Look like is not longer valid value in that context. I changed to "user", but I am not sure if the meaning of values are similar.
Current RouterOS: 7.12.1
Thank you
The text was updated successfully, but these errors were encountered: