You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2021. It is now read-only.
I've that the current implementation does not respect the "The EHLO verb and SMTP extensions" https://cr.yp.to/smtp/ehlo.html
EHLO is just like HELO except that the server's response text provides computer-readable information about the server's abilities.
Here is what happens if the server accepts EHLO (required code 250). On the first response line, the text begins with the server's name. On each response line past the first, the text is an extension, followed optionally by a space and an argument, followed optionally by a space and another argument, etc.
The extension is a nonempty string of letters, digits, and hyphens. Each argument is a nonempty string of graphical ASCII characters.
A client SMTP SHOULD start an SMTP session by issuing the EHLO
command. If the SMTP server supports the SMTP service extensions, it
will give a successful response, a failure response, or an error
response. If the SMTP server, in violation of this specification,
does not support any SMTP service extensions,
If I understand this well, if mini-smtp-server supports extension it should report them, if it support none it should return an error. I'm wondering if it actually "support" some extension?
Regarding the response format it is stated:
Normally, the response to EHLO will be a multiline reply. Each line
of the response contains a keyword and, optionally, one or more
parameters. Following the normal syntax for multiline replies, these
keywords follow the code (250) and a hyphen for all but the last
line, and the code and a space for the last line.
So clearly, 220 seems invalid.
Technically, I'm looking for the extension 8BITMIME as in #16 and really wondering if it's "available/supported" here.
I've that the current implementation does not respect the "The EHLO verb and SMTP extensions" https://cr.yp.to/smtp/ehlo.html
The actual response of
mini-smtp-server
is:I see some problems here:
EHLO
, we have220 go on...
instead of250 <server's name>
220
code is valid on aEHLO
response.This seems to have been fixed in Replacing SMTP codes to fit RFC 2821 #5 but my
gem install mini-smtp-server
doesn't contains this fix. have it been released? The gem found at https://rubygems.org/gems/mini-smtp-server was released in 2010 and this issue is from 2013.The interesting part in https://tools.ietf.org/html/rfc5321#section-4.1.1.1 say
If I understand this well, if
mini-smtp-server
supports extension it should report them, if it support none it should return an error. I'm wondering if it actually "support" some extension?Regarding the response format it is stated:
So clearly,
220
seems invalid.Technically, I'm looking for the extension
8BITMIME
as in #16 and really wondering if it's "available/supported" here.https://cr.yp.to/smtp/8bitmime.html
I hope it is!
A list of standard extension is listed here https://cr.yp.to/smtp/ehlo.html
Related to f3-factory/fatfree-core#328 (comment)
The text was updated successfully, but these errors were encountered: