What's wrong with this e-mail script?

/system backup save name=daily;
/tool e-mail send to="myname@mydomain.com" subject="MT Backup: My Router" file=daily.backup;

Error:
Error sending e-mail: invalid TO address

i guess you didn’t send it to the above address. maybe there is a problem with the actual address? some weird characters, too long?

Normis,

Thank you for reply. I found the error using Mikrotik. I clicked Terminal in Winbox and then I did (bold is what I typed):

[admin@Load Balancer] > /system telnet mailserverip.domainname.com 25
Trying 192.168.x.x…
Connected to 192.168.x.x.
Escape character is ‘^]’.
220 mailserver.domainname.com ESMTP
helo test.com
250 mailserver.domainname.com.net
mail from:user@domainname.co.za
250 ok
rcpt to:eugene@snowball.co.za
553 sorry, that domain isn’t in my list of allowed rcpthosts (#5.7.1)

Problem turns out to be relaying issue on qmail!

good to hear you found the problem :slight_smile:

I just use saix as the smtp address seems to work.