Start a conversation

Bare Line Feeds Are Illegal

"SMTPSENT.BareLineFeedsAreIllegal" NDR received by Exchange Online or EOP users in Office 365 Dedicated/ITAR

 

Supporting Microsoft Article:  https://support.microsoft.com/en-gb/kb/2998901

PROBLEM
Users of Exchange Online or Exchange Online Protection may not receive an expected email message. If you perform a trace on the message, you find that message delivery failed and that a nondelivery report (NDR) that contains the following error message was generated:
SMTPSEND.BareLinefeedsAreIllegal; message contains bare linefeeds, which cannot be sent via DATA
Users may not have experienced this problem in the past when they used Forefront Online Protection for Exchange (FOPE).
CAUSE
This issue occurs if the source message transfer agent (MTA) didn't append the expected CR-LF combination to the end of the message as documented in Request For Comments (RFC) 2822. 
SOLUTION
To resolve this issue, do one of the following, as appropriate for your situation:
  • Request that the sender correct the message format. This error frequently occurs with automated mailers (for example, reports or invoices) and bulk senders.
  • Enable Extended SMTP (ESMTP) on the receiving server so that the message can be sent by using CHUNKING or the BDAT command. Neither of these methods depends on the CR-LF combination to signal the end of the message. For more information, see SMTP protocol extensions.
  • If the sender cannot correct the sent messages, or if the gap must be bridged until the message format is corrected, the recipient can create an inbound transport rule to append a disclaimer to the messages from the problematic sender. The disclaimer will append the expected CR-LF combination to the message so that it can be delivered. (This disclaimer may consist of a single character such as a period or a dash.)
MORE INFORMATION
For more info about how to perform a message trace, see Trace an email message.

For more info about how to create disclaimers, see Organization-wide disclaimers, signatures, footers, or headers.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Carlos Rios

  2. Posted

Comments