Mattermost-server: Improve email headers.

Created on 12 Nov 2018  路  6Comments  路  Source: mattermost/mattermost-server

Summary

Rspamd assign some spam points based on few email headers.

Steps to reproduce

Version 5.4.0.
Just get notification and look at source of email.

Expected behavior

MIME-version and Message-ID must be correct.

Observed behavior (that appears unintentional)

screen shot 2018-11-12 at 09 00 41
Screenshot from Rspamd. Here 2.90 / 15. If it be 5.90 / 15, soft reject will be applied.
If 15 / 15 - hard reject.
Mime-Version: 1.0 - here MIME must be capitalized (see https://tools.ietf.org/html/rfc4021#section-2.2.1)
Message-ID - must be received from Mattermost server (see https://tools.ietf.org/html/rfc4021#section-2.1.8)

Bug ReporOpen

All 6 comments

Hi @MrSorcus,

Giving you an update that I'm working on investigating this,

I created a ticket for this here: https://mattermost.atlassian.net/browse/MM-13012.

Hi @MrSorcus it looks like a PR was already opened in the gomail library for the MIME issue: https://github.com/go-gomail/gomail/pull/127.

For any further issues, it seems it would make sense to open an Issue in the gomail repo: https://github.com/go-gomail/gomail/issues. Would you be able to help with that?

Would you be able to help with that?

Looks that here issue exists - https://github.com/go-gomail/gomail/issues/36
But it closed.

If i understand correctly, there is only one way to implement it. In mattermost-server.

Sounds good, the Jira ticket that I opened has been assigned to one of our developer teams and they will determine in the upcoming days how to proceed with a fix for this.

Was this page helpful?
0 / 5 - 0 ratings