При отправке некоторых вложений с письмами возникает следующая ошибка:
See http://pobox.com/~djb/docs/smtplf.html

Само сообщение не отправляется. Обычно этот баг лечится переименованием приложения (более короткое имя).
Но это не выход.

Перешел по ссылке - это инструкция по лечению Bare LFs in SMTP на qmail сервере.
Прочёл, но так и не понял. вот выдержка

It is an ASCII linefeed (LF) character not preceded by an ASCII carriage-return (CR) character.

Every line in an Internet mail message is required to end with CR LF. The entire message ends with CR LF dot CR LF. 822bis specifically prohibits other uses of LF.

The mail clients discussed above are incorrectly ending lines with LF and, in most cases, ending the entire message with LF dot LF. That's not CR LF dot CR LF, so a server such as msn.com will sit there waiting for the rest of the message. After a while it'll give up and drop the connection. Your mail doesn't get through.

Some mail servers convert a bare LF into CR LF, and accept LF dot LF as the end of a mail message. This behavior is specifically prohibited by 821bis.

Как исправить сие в Thunderbird

Это лучше в https://bugzilla.mozilla.org/