Error sending e-mail : invalid BODY

That simple script was working great:
tool e-mail send to=me@mydomain.com subject=test body=test
buf from some time it’s NOT sending e-mails, and MikroTik log shows:
Error sending e-mail : invalid BODY
at another RB with THE SAME settings and RouterOS version (5.22) it worsk good. What is the problem? please help!

Hi,
I’m having the same problem here, maybe the log drops somelight to help solving it.

23:19:16 e-mail,debug recv: 220 rlinux5.grserver.gr ESMTP Postfix 
23:19:16 e-mail,debug send EHLO [192.168.1.98] 
23:19:16 e-mail,debug recv: 250-rlinux5.grserver.gr 
23:19:16 e-mail,debug recv: 250-PIPELINING 
23:19:16 e-mail,debug recv: 250-SIZE 16777216 
23:19:16 e-mail,debug recv: 250-VRFY 
23:19:16 e-mail,debug recv: 250-ETRN 
23:19:16 e-mail,debug recv: 250-STARTTLS 
23:19:16 e-mail,debug recv: 250-AUTH PLAIN DIGEST-MD5 LOGIN CRAM-MD5 
23:19:16 e-mail,debug recv: 250-ENHANCEDSTATUSCODES 
23:19:16 e-mail,debug recv: 250-8BITMIME 
23:19:16 e-mail,debug recv: 250 DSN 
23:19:16 e-mail,debug send AUTH PLAIN BLahZm9AdGVsZW1hbmlhLmdyAGtmb2thc3Ryb24= 
23:19:16 e-mail,debug recv: 235 2.0.0 Authentication successful 
23:19:16 e-mail,debug send MAIL FROM: <whoknows> 
23:19:16 e-mail,debug recv: 250 2.1.0 Ok 
23:19:16 e-mail,debug send RCPT TO: <my@mail.com> 
23:19:16 e-mail,debug recv: 250 2.1.5 Ok 
23:19:16 e-mail,debug send DATA 
23:19:16 e-mail,debug recv: 354 End data with <CR><LF>.<CR><LF> 
23:19:16 e-mail,debug send . 
23:19:16 e-mail,debug recv: 450 4.3.2 <END-OF-MESSAGE>: End-of-data rejected: Try again later 
23:19:16 e-mail,debug send RSET 
23:19:16 e-mail,debug recv: 250 2.0.0 Ok 
23:19:16 e-mail,debug send QUIT 
23:19:17 e-mail,debug recv: 221 2.0.0 Bye 
23:19:17 system,e-mail,error Error sending e-mail <test>: invalid BODY

“send .”
seems to be the cause. Any ideas?

\

The command used to send is

/tool e-mail send to=my@mail.com subject="test" body="test"

and settings are:

tool e-mail print                                                           
      address: 217.118.24.26
         port: 25
    start-tls: no
         from: whoknows
         user: something@thatresolvestothis.ip
     password: passsss
  last-status: failed

Also:

/system telnet 217.118.24.26 25                                             
Trying 217.118.24.26...
Connected to 217.118.24.26.
Escape character is '^]'.
220 rlinux5.grserver.gr ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.

Device is a 951 with RouterOS 6.15

OK, some more homework with the tool…

Sending by Gmail looks like is working.

/tool e-mail
set address=74.125.45.108 from=<routerik> last-status=succeeded password=passsss port=587 start-tls=yes user=mygmail@gmail.com



send server=74.125.136.108 port=587 start-tls=yes user=mygmail@gmail.com password=passsss to=some@testmail.gr from=routerik
 subject=test body=test

More testing later.

Anti-SPAM SMTP!