I have setup a posfix mailserver and some of the messages (sent from Microsoft exchange online) are rejected with below error.
SMTPSEND.BareLinefeedsAreIllegal; message contains bare linefeeds, which cannot be sent via DATA and receiving system does not support BDAT
I found a Miscrosoft forum that asked to enable ESMTP in receiveing server but I couldn't find a way of doing it. Or based on the above error is there a way to support BDAT in postfix servers?
Update:
The output of the nc -C mx.xxxxxxx.com 25 <<<$'EHLO example.com\nQUIT\n'
220 localhost ESMTP Postfix
250-localhost
250-PIPELINING
250-SIZE 1024000000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
221 2.0.0 Bye