Thank you very much... this is pretty close to the goal! I suggest it will work great in most of the common cases. But I think it will fail on some special cases. I made script like this: :local attempts 0; do { :set attempts ($attempts+1); :if ($attempts > 1) do {:log info ("ERROR - last email stat...
Thanks. I tried something like this already, but it doesn't work. Like Martins S. wrote for 23q above: E-mail tool itself does not return error in CLI and works in background. On-error is not solution for e-mail tool. Even though, I tried your suggestion like this: { :local RES 1; :do { :do { :log i...
Thanks for fast reply.
I'm not sure if I understand what you mean.
How could I fill global variable with result of sending an email (whether email was sent successfully or not)?
If I try:
Hi all, I encountered the same problem. I need to handle errors generated during sending an email. How could be possible to catch such error (if 'on-error' is not the right solution)? (My goal is detect error during sending an email and try to resend it again in that case.) Thank you all in advance.
Hi, with upgrade to rOS 6.1 my script stopped to work. I need to find entries with empty comment. Till now works: /queue simple find comment="" But in rOS 6.1 it works no more. When I put /queue simple find comment=!"" it chooses all entries (with empty and non-empty comment too). So I assume the pr...
Hi all, so let's assume situation: Testing PC (IP: 10.10.10.10) -> MikroTik (NAT, Firewall) -> LAN {PC1 (IP: 192.168.1.10), PC2 (IP: ...11), PC3, PC4} All I need is check from testing PC whether given IP in LAN (behind NAT) is online or not. I can't do that with ping, right? (I can ping only router'...
Hi... I'm sorry for delay, but I was too busy few last weeks. So... I tested it again on 4.3 and 4.4 with same result. RB just will not start to broadcast after scan if interface is in wds mode. I tried RB433, RB433AH and cards R52, R52N, UB5, R52AH so it seems it is software bug. I think I found on...
I found out strange behavior of RB433. So step by step... There is set up bridge named "bridge1" where are all interfaces including all wlan interfaces. Let's consider there is just one wlan interface. This wireless interface's mode is wds-slave with wds-mode="dynamic" and wds-default-bridge="bridge...
Hi all, I've just got RB750 with preinstalled ROS v 3.29. I tried to install ROS v 4.0beta4 there, but RB750 didn't boot properly. I just couldn't connect to it by winbox, neither by telnet. So I reinstalled ROS by netinstall, again with v 4.0beta4, but I got the same result. When I install there v ...
Hi I noticed strange behavior of RB433 when I use following configuration: /tool netwatch add disabled=no down-script=down1 host=192.168.1.1 interval=1m timeout=1s up-script=up1 add disabled=no down-script=down2 host=192.168.1.2 interval=1m timeout=1s up-script=up2 add disabled=no down-script=down3 ...
Hello, I've set up MikroTik to send e-mails. It works fine - I can send email with attached file without any problem. But if I try to send e-mail with larger file, after 60 sec I get this error: System-Error: Error sending e-mail: abnormal termination (timeout) I checked interface's Tx/Rx while send...
I did... but it's the same. Dst-nat works correctly, because if I disable it, I don't get timeout error. So it is web proxy what's wrong. But I still don't know what exactly is wrong...
Hello, I can't find out why I'm getting this error: ERROR: Gateway Timeout Your cache administrator is webmaster. Generated Sat, 13 Sep 2008 08:31:24 GMT by 10.8.15.99 (Mikrotik HttpProxy) I get this error only when I enable web proxy. With disabled proxy there's no problem... everything's going per...
x.x.x.x = IP address of your webserver that will give the "please pay us" page. y.y.y.y = the IP address of a customer who has been suspended for nonpayment / ip firewall nat add chain=dstnat action=dst-nat to-addresses=x.x.x.x to-ports=80 \ dst-port=80 protocol=tcp src-address-list=suspended_custo...