🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69417

Re: MIME peculiarities (C-T and C-T-E); help please!

#69417
From: Rob Yampolsky
Date: Tue, 06 Jul 2004 15:11
30 lines
2121 bytes
Russ Allbery wrote:
> 
> This is completely broken, yes.  There must always be leading whitespace
> on continuation lines of headers.
> 
> I've never seen Outlook generate that sort of broken message.  Are you
> sure that something else isn't stripping the leading whitespace?
>


Come to think of it, I'll bet I'm screwing it up.

My .forward script has code like this:

while read line;
do
	echo line >>$MAILTEMP
done

I'll bet the 'read' command strips off leading whitespace.

Obviously, what I'm trying to do is drain the mail message from stdin 
into a temp file so I can work on it with munpack, etc.  I assume most 
.forward scripts need to do something like this.

I guess 'cat -' would have worked better...

Thanks,
Rob
Technical Details
Message-ID: <ccefef$m9k$1@ngspool-d02.news.aol.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!g2news1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!ngpeer.news.aol.com!news.compuserve.com!news-master.compuserve.com!not-for-mail
References: <86a40a7d.0403091047.6b10611a@posting.google.com> <cxE8c.28552$UU7.4162@newssvr31.news.prodigy.com> <cbpkjp$c83$1@ngspool-d02.news.aol.com> <87smcflapw.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ccefef$m9k$1@ngspool-d02.news.aol.com>
Subject: Re: MIME peculiarities (C-T and C-T-E); help please!
Date: Tue, 06 Jul 2004 11:11:10 -0400
From: Rob Yampolsky <me@nospam.org>
References: <86a40a7d.0403091047.6b10611a@posting.google.com> <cxE8c.28552$UU7.4162@newssvr31.news.prodigy.com> <cbpkjp$c83$1@ngspool-d02.news.aol.com> <87smcflapw.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!g2news1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!ngpeer.news.aol.com!news.compuserve.com!news-master.compuserve.com!not-for-mail
Newsgroups: news.software.nntp,comp.mail.mime
Organization: CompuServe Interactive Services
Lines: 29
NNTP-Posting-Host: 156.43.4.1
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: ngspool-d02.news.aol.com 1089126671 22836 156.43.4.1 (6 Jul 2004 15:11:11 GMT)
X-Complaints-To: newsmaster@compuserve.com
NNTP-Posting-Date: Tue, 6 Jul 2004 15:11:11 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
X-Accept-Language: en-us, en
In-Reply-To: <87smcflapw.fsf@windlord.stanford.edu>