Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

SMTP 502 5.5.2 Error: command not recognized #13

Open
adamlazz opened this issue Jun 18, 2015 · 3 comments
Open

SMTP 502 5.5.2 Error: command not recognized #13

adamlazz opened this issue Jun 18, 2015 · 3 comments
Labels

Comments

@adamlazz
Copy link

Hi,
I am seeing an SMTP error when sending mail via telnet to the mailsac installation:

[vagrant@vagrant-centos ~]$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 vagrant-centos ESMTP MAILSAC
HELO mailsac.com
250 vagrant-centos at your service, [127.0.0.1]
MAIL FROM: <[email protected]>
250 2.1.0 Ok
RCPT TO: <[email protected]>
250 2.1.0 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
test
.
502 5.5.2 Error: command not recognized
250 2.0.0 Ok: queued as O
quit
221 2.0.0 Goodbye!
Connection closed by foreign host.
@ruffrey
Copy link
Owner

ruffrey commented Sep 14, 2015

Is this still an issue @adamlazz ?

@adamlazz
Copy link
Author

Yes, because mailsac is still using version 0.3.35 of simplesmtp. The error is related to the way simplesmtp handles blank lines. There are missing cases for \n and \r\n. This module is deprecated, so I don't suppose we will see a fix for this any time soon.

@lifehome
Copy link

lifehome commented Oct 4, 2015

⭐-ed, looking forward to see a solution.

Perhaps updating dependency helps?

@ruffrey ruffrey added the bug label Aug 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants