Re: No newline at end of messages?

"John R Levine" <[email protected]>
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
> I am seeing a strange bug in which some outgoing list mail fails because
> there isn't a newline at the end of the last line of the message.

I managed to track it down to attachment filtering.  The messages in
question are being flattened from multipart/alternative.  Squinting at the
input, it appears that the section it's using is missing a newline that is
supposed to be at the end.  This is probably a bug in the Apple mail
program, but it's one we should live with.  Any suggestions where I could
twiddle the code to put a newline at the end of a section that doesn't
have one?

Start of MIME section:

--Apple-Mail-23-814624949
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

End of MIME section:

Perhaps this will do it.
--Apple-Mail-23-814624949



configset DEFAULT attachment_filters <<ENDAAB
text/plain | allow
ALL | discard
text/html | format
text/enriched | format
ENDAAB

Regards,
John Levine, [email protected], Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://www.johnlevine.com, Mayor
"A book is a sneeze." - E.B. White, on the writing of Charlotte's Web
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.