501 5.5.4 Syntax: DATA while sending email using telnet

oslon

Member
Joined
Oct 15, 2023
Messages
40
Reaction score
6
Credits
424
1699091653582.png


I tried these steps as per the above blog.
But I am getting 501 5.5.4 Syntax: DATA.
This is the full syntax that I tried.


Code:
[root@duplicate-website ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 duplicate-website.com ESMTP Postfix
mail from: [email protected]
250 2.1.0 Ok
rcpt  to: [email protected]
250 2.1.5 Ok
data my message sucks
501 5.5.4 Syntax: DATA
DATA my message sucks
501 5.5.4 Syntax: DATA
subject: my message sucks
221 2.7.0 Error: I can break rules, too. Goodbye.
Connection closed by foreign host.
 



Members online


Top