Headers are not RFC compliant 291
by mfoley from LinuxQuestions.org on (#5H8ND)
I've been managing an email server for several years w/o too much problem. Today (APR 29) I sent an email to about 100 people. About half of those were rejected with "Headers are not RFC compliant 291". Interestingly, this message was a forward with more info of a message I sent the day before to the same people. None of the previous day's messages were rejected. In searching on the web for this error pretty much every incident was because of two Subject:s in the header. I do not have 2 Subjects. Any idea why these messages would be flagged as not RFC Compliant?
Below are the message headers from one of the rejections. The first part is the message back to me notifying me of the rejection. The attached "transcript" is the message that was sent and rejected.
Code:From MAILER-DAEMON@novatec-inc.com Thu Apr 29 16:31:53 2021
Return-Path: <MAILER-DAEMON@novatec-inc.com>
Received: from mercureytech.com (mercureytech.com [24.96.253.244])
by server.novatec-inc.com (8.15.2/8.15.2) with ESMTPS id 13TKVo3f012746
(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for <mfoley@novatec-inc.com>; Thu, 29 Apr 2021 16:31:51 -0400
Received: from localhost (localhost)
by mercureytech.com (8.15.2/8.15.2) id 13TKVoJA012708;
Thu, 29 Apr 2021 16:31:50 -0400
Date: Thu, 29 Apr 2021 16:31:50 -0400
From: Mail Delivery Subsystem <MAILER-DAEMON@mercureytech.com>
Message-Id: <202104292031.13TKVoJA012708@mercureytech.com>
To: <mfoley@novatec-inc.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="13TKVoJA012708.1619728310/mercureytech.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
T_TVD_MIME_NO_HEADERS autolearn=ham autolearn_force=no
version=3.4.4-_revision__1.0__
X-Spam-Report:
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 T_TVD_MIME_NO_HEADERS BODY: No description available.
* 0.0 HTML_MESSAGE BODY: HTML included in message
X-Spam-Checker-Version: SpamAssassin 3.4.4-_revision__1.0__ (2020-01-24) on
server.novatec-inc.com
Status: RO
This is a MIME-encapsulated message
--13TKVoJA012708.1619728310/mercureytech.com
The original message was received at Thu, 29 Apr 2021 16:31:03 -0400
from localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<bow40@aol.com>
(reason: 554 Message not allowed - Headers are not RFC compliant[291])
----- Transcript of session follows -----
... while talking to mx-aol.mail.gm0.yahoodns.net.:
>>> DATA
<<< 554 Message not allowed - Headers are not RFC compliant[291]
554 5.0.0 Service unavailable
--13TKVoJA012708.1619728310/mercureytech.com
Content-Type: message/delivery-status
Reporting-MTA: dns; mercureytech.com
Received-From-MTA: DNS; localhost
Arrival-Date: Thu, 29 Apr 2021 16:31:03 -0400
Final-Recipient: RFC822; bow40@aol.com
Action: failed
Status: 5.0.0
Remote-MTA: DNS; mx-aol.mail.gm0.yahoodns.net
Diagnostic-Code: SMTP; 554 Message not allowed - Headers are not RFC compliant[291]
Last-Attempt-Date: Thu, 29 Apr 2021 16:31:50 -0400
--13TKVoJA012708.1619728310/mercureytech.com
Content-Type: message/rfc822
Return-Path: <mfoley@novatec-inc.com>
Received: from mail.mercureytech.com (localhost [127.0.0.1])
by mercureytech.com (8.15.2/8.15.2) with ESMTP id 13TKV3JA012702;
Thu, 29 Apr 2021 16:31:03 -0400
Authentication-Results: mercureytech.com;
dkim=fail reason="signature verification failed" (1024-bit key) header.d=novatec-inc.com header.i=@novatec-inc.com header.b=l8bcZFD5
Received: (from daemon@localhost)
by mail.mercureytech.com (8.15.2/8.15.2/Submit) id 13TKUq1I011316;
Thu, 29 Apr 2021 16:30:52 -0400
Received: from p-impout001.msg.pkvw.co.charter.net (p-impout010aa.msg.pkvw.co.charter.net [47.43.26.141])
by mercureytech.com (8.15.2/8.15.2) with ESMTP id 13THDJ8J023923
for <localmembers@members.newengland4.org>; Thu, 29 Apr 2021 13:13:26 -0400
Received: from server.novatec-inc.com ([184.57.60.212])
by cmsmtp with ESMTP
id cAE2lrtxhbBamcAE3lVnjB; Thu, 29 Apr 2021 17:13:19 +0000
X-Authority-Analysis: v=2.3 cv=CunBjUwD c=1 sm=1 tr=0
a=xWI1sBAcDYL3xcv2wnbZZQ==:117 a=xWI1sBAcDYL3xcv2wnbZZQ==:17
a=3YhXtTcJ-WEA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=guKMJnulAAAA:8
a=8mJ1EZt9_FabwUWCZL4A:9 a=QEXdDO2ut3YA:10 a=xzKrBGEpAAAA:8
a=YMWe2ZoJDXb8ljKrkQQA:9 a=tV4s_Y11mJQY9Dh-:21 a=_W_S_7VecoQA:10
a=rUZjWB1ezo-oAx6OQLhc:22 a=Yz4DdXVdc6TviXlPsc9y:22
Received: from quadmon.ALLUNEEDIZLUV (quadmon [192.168.0.17])
by server.novatec-inc.com (8.15.2/8.15.2) with ESMTPS id 13THDIfG029899
(version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NO);
Thu, 29 Apr 2021 13:13:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novatec-inc.com;
s=novatec; t=1619716398;
bh=8N2clDbUI1VdRKTs9tbo3Csu3dMRNdKmRDKbvdP6XYk=;
h=Subject:From:To:Reply-To:References:Date:In-Reply-To;
b=l8bcZFD5gPcjvOzvNkF1cks8vvF60g3UCXM0pfucbuEacVFdQozRAPMcSTnUEeJof
qoyNrNCao1YmqGD89DaGyW1YzvAUZn/Bas5zCyZ2FDSVGS5WPLChoU90FdNGdM6Ri7
3RgWu/zFDmeYgDGT6cdUeJnUKCEKCyjTiyhIpv14=
Subject: Re: Memorial Day Parade
From: "Mark Foley Jr" <mfoley@novatec-inc.com>
Reply-To: mfoley@novatec-inc.com
To: "members Mailing List" <maillist@members.newengland4.org>
Reply-To: mfoley@novatec-inc.com
References: <202104290507.13T57eOh025298@server.novatec-inc.com>
Message-ID: <86d5df84-c285-cecc-d983-f0eee9bf14d0@novatec-inc.com>
Date: Thu, 29 Apr 2021 13:13:17 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <202104290507.13T57eOh025298@server.novatec-inc.com>
Content-Type: multipart/alternative;
boundary="------------94A3C90ED7C46C69F5A8D4C5"
Content-Language: en-US
X-CMAE-Envelope: MS4wfBLa+MmmjWOwsDiqEhRDBEBLvjS/cZzy+nveeckAuQluml4nmLUNrM1VzcphqTvHxkrlTvgwf0t2TjKhNnh4FHnYD6HMTn4bp69xsz9lfBVzAyjH7JmV
KSHuhDUvwIzSOe75tYcUOIbPiyamvQnj5XUOzTWlG9pSgDgneBgDJQ+XLHqC36b9OsiFuRSN2onN9PgY9CLeGdWMrYvbOnQKC5g=
X-Spam-Status: No, score=-99.4 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED,
HTML_MESSAGE,KHOP_HELO_FCRDNS,NICE_REPLY_A,RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=no
autolearn_force=no version=3.4.2-_revision__1.0__
X-Spam-Report:
* -0.0 USER_IN_WELCOMELIST user is listed in 'welcomelist_from'
* -100 USER_IN_WHITELIST DEPRECATED: See USER_IN_WELCOMELIST
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [47.43.26.141 listed in wl.mailspike.net]
* 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid
* -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
* 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS
X-Spam-Checker-Version: SpamAssassin 3.4.2-_revision__1.0__ (2018-09-13) on
mail.mercureytech.com
This is a multi-part message in MIME format.
--------------94A3C90ED7C46C69F5A8D4C5
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
[blah, blah]
On 4/29/21 1:07 AM, Mark Foley Jr wrote:
[more blah, blah]
--------------94A3C90ED7C46C69F5A8D4C5
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
[html blah, blah]
--------------94A3C90ED7C46C69F5A8D4C5--
--13TKVoJA012708.1619728310/mercureytech.com--


Below are the message headers from one of the rejections. The first part is the message back to me notifying me of the rejection. The attached "transcript" is the message that was sent and rejected.
Code:From MAILER-DAEMON@novatec-inc.com Thu Apr 29 16:31:53 2021
Return-Path: <MAILER-DAEMON@novatec-inc.com>
Received: from mercureytech.com (mercureytech.com [24.96.253.244])
by server.novatec-inc.com (8.15.2/8.15.2) with ESMTPS id 13TKVo3f012746
(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for <mfoley@novatec-inc.com>; Thu, 29 Apr 2021 16:31:51 -0400
Received: from localhost (localhost)
by mercureytech.com (8.15.2/8.15.2) id 13TKVoJA012708;
Thu, 29 Apr 2021 16:31:50 -0400
Date: Thu, 29 Apr 2021 16:31:50 -0400
From: Mail Delivery Subsystem <MAILER-DAEMON@mercureytech.com>
Message-Id: <202104292031.13TKVoJA012708@mercureytech.com>
To: <mfoley@novatec-inc.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="13TKVoJA012708.1619728310/mercureytech.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
T_TVD_MIME_NO_HEADERS autolearn=ham autolearn_force=no
version=3.4.4-_revision__1.0__
X-Spam-Report:
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 T_TVD_MIME_NO_HEADERS BODY: No description available.
* 0.0 HTML_MESSAGE BODY: HTML included in message
X-Spam-Checker-Version: SpamAssassin 3.4.4-_revision__1.0__ (2020-01-24) on
server.novatec-inc.com
Status: RO
This is a MIME-encapsulated message
--13TKVoJA012708.1619728310/mercureytech.com
The original message was received at Thu, 29 Apr 2021 16:31:03 -0400
from localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<bow40@aol.com>
(reason: 554 Message not allowed - Headers are not RFC compliant[291])
----- Transcript of session follows -----
... while talking to mx-aol.mail.gm0.yahoodns.net.:
>>> DATA
<<< 554 Message not allowed - Headers are not RFC compliant[291]
554 5.0.0 Service unavailable
--13TKVoJA012708.1619728310/mercureytech.com
Content-Type: message/delivery-status
Reporting-MTA: dns; mercureytech.com
Received-From-MTA: DNS; localhost
Arrival-Date: Thu, 29 Apr 2021 16:31:03 -0400
Final-Recipient: RFC822; bow40@aol.com
Action: failed
Status: 5.0.0
Remote-MTA: DNS; mx-aol.mail.gm0.yahoodns.net
Diagnostic-Code: SMTP; 554 Message not allowed - Headers are not RFC compliant[291]
Last-Attempt-Date: Thu, 29 Apr 2021 16:31:50 -0400
--13TKVoJA012708.1619728310/mercureytech.com
Content-Type: message/rfc822
Return-Path: <mfoley@novatec-inc.com>
Received: from mail.mercureytech.com (localhost [127.0.0.1])
by mercureytech.com (8.15.2/8.15.2) with ESMTP id 13TKV3JA012702;
Thu, 29 Apr 2021 16:31:03 -0400
Authentication-Results: mercureytech.com;
dkim=fail reason="signature verification failed" (1024-bit key) header.d=novatec-inc.com header.i=@novatec-inc.com header.b=l8bcZFD5
Received: (from daemon@localhost)
by mail.mercureytech.com (8.15.2/8.15.2/Submit) id 13TKUq1I011316;
Thu, 29 Apr 2021 16:30:52 -0400
Received: from p-impout001.msg.pkvw.co.charter.net (p-impout010aa.msg.pkvw.co.charter.net [47.43.26.141])
by mercureytech.com (8.15.2/8.15.2) with ESMTP id 13THDJ8J023923
for <localmembers@members.newengland4.org>; Thu, 29 Apr 2021 13:13:26 -0400
Received: from server.novatec-inc.com ([184.57.60.212])
by cmsmtp with ESMTP
id cAE2lrtxhbBamcAE3lVnjB; Thu, 29 Apr 2021 17:13:19 +0000
X-Authority-Analysis: v=2.3 cv=CunBjUwD c=1 sm=1 tr=0
a=xWI1sBAcDYL3xcv2wnbZZQ==:117 a=xWI1sBAcDYL3xcv2wnbZZQ==:17
a=3YhXtTcJ-WEA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=guKMJnulAAAA:8
a=8mJ1EZt9_FabwUWCZL4A:9 a=QEXdDO2ut3YA:10 a=xzKrBGEpAAAA:8
a=YMWe2ZoJDXb8ljKrkQQA:9 a=tV4s_Y11mJQY9Dh-:21 a=_W_S_7VecoQA:10
a=rUZjWB1ezo-oAx6OQLhc:22 a=Yz4DdXVdc6TviXlPsc9y:22
Received: from quadmon.ALLUNEEDIZLUV (quadmon [192.168.0.17])
by server.novatec-inc.com (8.15.2/8.15.2) with ESMTPS id 13THDIfG029899
(version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NO);
Thu, 29 Apr 2021 13:13:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novatec-inc.com;
s=novatec; t=1619716398;
bh=8N2clDbUI1VdRKTs9tbo3Csu3dMRNdKmRDKbvdP6XYk=;
h=Subject:From:To:Reply-To:References:Date:In-Reply-To;
b=l8bcZFD5gPcjvOzvNkF1cks8vvF60g3UCXM0pfucbuEacVFdQozRAPMcSTnUEeJof
qoyNrNCao1YmqGD89DaGyW1YzvAUZn/Bas5zCyZ2FDSVGS5WPLChoU90FdNGdM6Ri7
3RgWu/zFDmeYgDGT6cdUeJnUKCEKCyjTiyhIpv14=
Subject: Re: Memorial Day Parade
From: "Mark Foley Jr" <mfoley@novatec-inc.com>
Reply-To: mfoley@novatec-inc.com
To: "members Mailing List" <maillist@members.newengland4.org>
Reply-To: mfoley@novatec-inc.com
References: <202104290507.13T57eOh025298@server.novatec-inc.com>
Message-ID: <86d5df84-c285-cecc-d983-f0eee9bf14d0@novatec-inc.com>
Date: Thu, 29 Apr 2021 13:13:17 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <202104290507.13T57eOh025298@server.novatec-inc.com>
Content-Type: multipart/alternative;
boundary="------------94A3C90ED7C46C69F5A8D4C5"
Content-Language: en-US
X-CMAE-Envelope: MS4wfBLa+MmmjWOwsDiqEhRDBEBLvjS/cZzy+nveeckAuQluml4nmLUNrM1VzcphqTvHxkrlTvgwf0t2TjKhNnh4FHnYD6HMTn4bp69xsz9lfBVzAyjH7JmV
KSHuhDUvwIzSOe75tYcUOIbPiyamvQnj5XUOzTWlG9pSgDgneBgDJQ+XLHqC36b9OsiFuRSN2onN9PgY9CLeGdWMrYvbOnQKC5g=
X-Spam-Status: No, score=-99.4 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED,
HTML_MESSAGE,KHOP_HELO_FCRDNS,NICE_REPLY_A,RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=no
autolearn_force=no version=3.4.2-_revision__1.0__
X-Spam-Report:
* -0.0 USER_IN_WELCOMELIST user is listed in 'welcomelist_from'
* -100 USER_IN_WHITELIST DEPRECATED: See USER_IN_WELCOMELIST
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [47.43.26.141 listed in wl.mailspike.net]
* 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid
* -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
* 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS
X-Spam-Checker-Version: SpamAssassin 3.4.2-_revision__1.0__ (2018-09-13) on
mail.mercureytech.com
This is a multi-part message in MIME format.
--------------94A3C90ED7C46C69F5A8D4C5
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
[blah, blah]
On 4/29/21 1:07 AM, Mark Foley Jr wrote:
[more blah, blah]
--------------94A3C90ED7C46C69F5A8D4C5
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
[html blah, blah]
--------------94A3C90ED7C46C69F5A8D4C5--
--13TKVoJA012708.1619728310/mercureytech.com--