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

Improve anti-spam score #493

Open
chibenwa opened this issue Jun 29, 2021 · 5 comments
Open

Improve anti-spam score #493

chibenwa opened this issue Jun 29, 2021 · 5 comments
Labels
bug Something isn't working medium
Milestone

Comments

@chibenwa
Copy link
Member

Screenshot from 2021-06-29 15-21-38

Sending a super-fimple message to myself I got:

Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from 172.17.0.1 (EHLO incoming.linagora.com) ([172.17.0.1])
          by incoming.linagora.com (JAMES SMTP Server ) with ESMTP ID 1000913600
          for <[email protected]>;
          Tue, 29 Jun 2021 08:20:16 +0000 (GMT)
Received: from smtp.linagora.com (smtp.linagora.com [54.36.8.78])
	by incoming.linagora.com (Postfix) with ESMTPS id 10C409C401
	for <[email protected]>; Tue, 29 Jun 2021 08:20:16 +0000 (UTC)
Received: from ?Open?PaaS?SMTP?server?for?Linagora? (unknown [51.83.109.124])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.linagora.com (Postfix) with ESMTPSA id 0679C4190C
	for <[email protected]>; Tue, 29 Jun 2021 10:20:16 +0200 (CEST)
DKIM-Signature: a=rsa-sha256; b=VkRnpJm4FwS/J/k+emdP68E4dh9K+tkLhfp2vVqpxHfO22aGamvkeuMhWDY1pEJGXDWLXvFvFfQPSK1iTojYFja/JciU29B/LHG8TPKpWY1fSfhGLSWqvhpTVSnx7jWblaG2HzeCcgH3n5S1gR93mdjteWHaprG08TbHPcC7QmcUk4Zqs5aPVMjhi5izX+88cwzjyLZfngM4Q7YhMn2UXXm1DtTAds3G2kOmZY0rSoKfiKPL7sHP+0sP/eYEINLNtnSYHF7J4Pod9/0/Q7GCSL6DWsjt84n8fLJGuEoAm7tHZ4yuFBfxPQFzPT5zslMbipf59SdEDxhIQOlNQFw1Kw==; s=smtpoutjames; d=linagora.com; v=1; bh=VUszgmGBPVFxt96/UScxBPAB75MyUBnte6GJU/92lOQ=; h=from : reply-to : subject : date : to : cc : resent-date : resent-from : resent-sender : resent-to : resent-cc : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive;
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-LINAGORA-Copy-Delivery-Done: 1
From: =?ISO-8859-1?Q?Beno=EEt_TELLIER?= <[email protected]>
Sender: =?ISO-8859-1?Q?Beno=EEt_TELLIER?= <[email protected]>
Reply-To: [email protected]
To: =?ISO-8859-1?Q?Beno=EEt_TELLIER?= <[email protected]>
Subject: Self
Message-ID: <[email protected]>
Date: Tue, 29 Jun 2021 08:20:15 +0000

<p>Self<br></p>

We should wrap ESN bodies into <html> tags to make spamassassin happy!

As a reference here is the EML generated by Thunderbird:

Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from 172.17.0.1 (EHLO incoming.linagora.com) ([172.17.0.1])
          by incoming.linagora.com (JAMES SMTP Server ) with ESMTP ID 292548836
          for <[email protected]>;
          Tue, 29 Jun 2021 08:24:22 +0000 (GMT)
Received: from smtp.linagora.com (smtp.linagora.com [54.36.8.78])
	by incoming.linagora.com (Postfix) with ESMTPS id 967919C401
	for <[email protected]>; Tue, 29 Jun 2021 08:24:22 +0000 (UTC)
Received: from [172.27.25.167] (unknown [113.20.109.119])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.linagora.com (Postfix) with ESMTPSA id B18FF4190C
	for <[email protected]>; Tue, 29 Jun 2021 10:24:21 +0200 (CEST)
To: [email protected]
X-LINAGORA-Copy-Delivery-Done: 1
From: "[email protected]" <[email protected]>
Subject: Hello from TB
Message-ID: <[email protected]>
Date: Tue, 29 Jun 2021 15:24:18 +0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------AB8913FB095C3DB05B91AD0B"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------AB8913FB095C3DB05B91AD0B
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hello *from* TB


--------------AB8913FB095C3DB05B91AD0B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello <b>from</b> TB<br>
    </p>
  </body>
</html>

--------------AB8913FB095C3DB05B91AD0B--

It is wrapped in an html tag...

Please adopt decent HTML structure in the composer.

Cc @tanandy

@chibenwa chibenwa added bug Something isn't working medium labels Jun 29, 2021
@tanandy
Copy link
Contributor

tanandy commented Jun 29, 2021

@chamerling @tuanlc nothing has been done to that topic ? any idea why we dont have good format from the composer

@tuanlc
Copy link

tuanlc commented Jun 29, 2021

I never touch/work on this topic before. So, I have no clue for you.

@chamerling
Copy link
Contributor

Just check the output of the composer and wrap it if needed. This is as simple as this...

@tanandy
Copy link
Contributor

tanandy commented Jun 29, 2021

Just check the output of the composer and wrap it if needed. This is as simple as this...

question is about history of the project. no one make decision on that topic ?

@chamerling
Copy link
Contributor

I don't know, the developer needs to look at the code, needs to look at HTML in email spec if there is some and fix or implement the right format.

@fabienmoyon fabienmoyon added this to the Polish sprint milestone Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium
Projects
None yet
Development

No branches or pull requests

5 participants