mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:54:36 +08:00
28dd7fb562
* Add possibility to add hidden posts with PostCreator * FEATURE: Create hidden posts for received spam emails Spamchecker usually have 3 results: HAM, SPAM and PROBABLY_SPAM SPAM gets usually directly rejected and needs no further handling. HAM is good message and usually gets passed unmodified. PROBABLY_SPAM gets an additional header to allow further processing. This change addes processing capabilities for such headers and marks new posts created as hidden when received via email.
13 lines
394 B
Plaintext
13 lines
394 B
Plaintext
Return-Path: <existing@bar.com>
|
|
From: Foo Bar <existing@bar.com>
|
|
To: category@bar.com
|
|
Subject: This is a topic from an existing user
|
|
Date: Fri, 15 Jan 2016 00:12:43 +0100
|
|
Message-ID: <32@foo.bar.mail>
|
|
Mime-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
X-Spam-Status: Yes, score=12.3 required=4.5
|
|
|
|
Hey, this is a topic from an existing user ;)
|