
Já há algum tempo que configurei e-mails de resposta automática e, de repente, recebo a seguinte mensagem como não entregue. Só consegui isso uma vez, então parece não ser um problema geral. Verifiquei rapidamente a RFC 2822 para ver se o problema é algo óbvio, mas não.
A mensagem não entregue também não indica o que está errado. Nem sei por onde começar e o Google não tem resultados sobre esse código de erro.
A mensagem de erro:
This is the mail system at host example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[email protected]>: host mx.blow.com[123.123.123.123] said: 552 This
message is not RFC 2822 compliant [smtp-07.iol.local; LIB_670] (in reply to
end of DATA command)
A fonte do e-mail:
Received: from localhost (mailsvr [127.0.0.1])
by example.com (Postfix) with ESMTP id 79B9638792F0
for <[email protected]>; Thu, 22 Jan 2015 11:01:38 +0100 (CET)
X-Virus-Scanned: amavisd-new at example.com
Received: from example.com ([127.0.0.1])
by localhost (mailsvr.example.com [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id PBe6jEv1vZEb for <[email protected]>;
Thu, 22 Jan 2015 11:01:32 +0100 (CET)
Received: by example.com (Postfix, from userid 0)
id D000B38792FC; Thu, 22 Jan 2015 11:01:29 +0100 (CET)
To: [email protected]
Subject: =?UTF-8?B?123456789==?=
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary = cb686159096ae4feaf2a23845e82dce0
From: Me <[email protected]>
Reply-To: [email protected]
Message-Id: <[email protected]>
Date: Thu, 22 Jan 2015 11:01:29 +0100 (CET)
--cb686159096ae4feaf2a23845e82dce0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
123456789123
--cb686159096ae4feaf2a23845e82dce0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64
12349678945313
--cb686159096ae4feaf2a23845e82dce0--
Responder1
Tive o mesmo problema com libero.it (Italia OnLine) a partir de 21 de janeiro. Vejo o mesmo problema com seu e-mail aqui.
Atualmente você tem boundary = cb686159096ae4feaf2a23845e82dce0
. Tente colocar aspas, removendo o espaço em branco na frente e depois do sinal de igual e adicione algo como "=_" para obter algo assim boundary="cb686159096ae4feaf2a23845e82dce0"
. Esperamos que as coisas voltem ao normal com a LIO.
Depois de examinar a RFC 2822, a RFC 2045 e a RFC 2046 (e os documentos vinculados e atualizados), ouso dizer que a noção deThis message is not RFC 2822 compliant
não está correto. RFC 2046 é apenassugerindoque "colocar os valores dos parâmetros limite entre aspas nunca é demais". Mais interessante do que isso também seria a nota na RFC 2045 nos dizendo para usar uma sequência de caracteres como "=_" dentro de um limite (veja abaixo).
Espero que isto ajude!
RFC 2045 http://www.rfc-editor.org/rfc/rfc2045.txt
Since the hyphen character ("-") may be represented as itself in the
Quoted-Printable encoding, care must be taken, when encapsulating a
quoted-printable encoded body inside one or more multipart entities,
to ensure that the boundary delimiter does not appear anywhere in the
encoded body. (A good strategy is to choose a boundary that includes
a character sequence such as "=_" which can never appear in a
quoted-printable body. See the definition of multipart messages in
RFC 2046.)
RFC 2046 http://www.rfc-editor.org/rfc/rfc2046.txt
WARNING TO IMPLEMENTORS: The grammar for parameters on the Content-
type field is such that it is often necessary to enclose the boundary
parameter values in quotes on the Content-type line. This is not
always necessary, but never hurts.