Cannot create post via email

Hi, as I understand, there is a feature to receive emails from anonymous to create posts, right?

I tried this but got an error. I sent an message to email support@tmch.icu but it cannot be processed. Could anyone explain, where is my mistake? I have fully access both for mail server and discourse.

Email can not be processed: Email::Receiver::FromReplyByAddressError

Return-Path: <insta@tmch.icu>

Delivered-To: support@tmch.icu

Received: from mail.tmch.icu (localhost [127.0.0.1])

	by mail.tmch.icu (Postfix) with ESMTP id хххххх

	for <support@tmch.icu>; Mon,  1 Jul 2019 16:53:28 +0200 (CEST)

Authentication-Results: mail.tmch.icu (amavisd-new); dkim=pass (1024-bit key)

	reason="pass (just generated, assumed good)" header.d=tmch.icu

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tmch.icu; h=

	content-transfer-encoding:content-language:content-type

	:content-type:mime-version:user-agent:date:date:message-id

	:subject:subject:from:from:to; s=dkim; t=1561992807; x=

	1564584808; bh=хххххх

X-Virus-Scanned: Debian amavisd-new at tmch.icu

Received: from mail.tmch.icu ([127.0.0.1])

	by mail.tmch.icu (mail.tmch.icu [127.0.0.1]) (amavisd-new, port 10026)

	with ESMTP id XKyxI9eQIFwK for <support@tmch.icu>;

	Mon,  1 Jul 2019 16:53:27 +0200 (CEST)

Received: from [192.168.х.х] (unknown [213.х.х.х])

	by mail.tmch.icu (Postfix) with ESMTPSA id 45cr3C0VNvz325Y

	for <support@tmch.icu>; Mon,  1 Jul 2019 16:53:26 +0200 (CEST)

To: support@tmch.icu

From: Insta <insta@tmch.icu>

Subject: =?UTF-8?B?0JHQtdC70LXQu9C4INGB0YPQvNC10YDQutC4INGB0LXQtNGL0LU=?=

Message-ID: <eaaa5ee5-64fd-7d1b-0ca0-7a78b1a67a41@tmch.icu>

Date: Mon, 1 Jul 2019 18:53:25 +0400

User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101

 Thunderbird/60.7.2

MIME-Version: 1.0

Content-Type: text/html; charset=utf-8

Content-Language: ru

Content-Transfer-Encoding: quoted-printable



<html>
...
</html>

Resolved. This error means that the field reply by email address contains something incompatible. In my case: %{reply_key}@tmch.icu

Once I cleared that field, the emails began processed in category (sent to support@tmch.icu).

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.