Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify mail data #9

Open
gennyble opened this issue Jun 19, 2021 · 1 comment
Open

Verify mail data #9

gennyble opened this issue Jun 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@gennyble
Copy link
Member

I believe mail data has to comply with RFC 5322, but not certain. OpenSMTPD and gsmtp do not accept mail if it is not 5322 compliant.

Here's some language form the RFC that further leads me to believe so:

See section 4.1.1.4, paragraph two of the smtp rfc.

the "no mail data" case does not conform to this specification since it would require that neither the trace header fields required by this specification nor the message header section required by RFC 5322 [4] be transmitted

@gennyble gennyble added the enhancement New feature or request label Jun 19, 2021
@novedevo
Copy link
Member

The above quote could indicate that the mail should not be transmitted on the basis that it lacks trace headers, not necessarily noncompliance with 5322. From 5321, section 3.3, second to last paragraph:

Server SMTP systems SHOULD NOT reject messages based on perceived defects in the RFC 822 or MIME (RFC 2045 [21]) message header section or message body.

However, this may only indicate that it shouldn't reject based on 822, but that it should reject based on 5322. Unsure on the language used here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants