Community discussions

MikroTik App
 
User avatar
eugenevdm
Member Candidate
Member Candidate
Topic Author
Posts: 208
Joined: Tue Jun 01, 2004 12:23 pm
Location: Stellenbosch, South Africa
Contact:

What's wrong with this e-mail script?

Mon Sep 25, 2006 10:26 am

/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
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26387
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Sep 25, 2006 10:29 am

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?
 
User avatar
eugenevdm
Member Candidate
Member Candidate
Topic Author
Posts: 208
Joined: Tue Jun 01, 2004 12:23 pm
Location: Stellenbosch, South Africa
Contact:

Mon Sep 25, 2006 10:56 am

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!
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26387
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Sep 25, 2006 10:57 am

good to hear you found the problem :)
 
Ag3NT_K
just joined
Posts: 5
Joined: Thu Jan 31, 2008 1:47 pm
Location: South Africa

Re: What's wrong with this e-mail script?

Thu Oct 09, 2008 6:04 pm

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!
I just use saix as the smtp address seems to work.

Who is online

Users browsing this forum: No registered users and 7 guests