🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Mike Easter Thu, 10 Jun 2004 22:00
[XNews] Don't encode .txt attachment?
#149713
Author: Mike Easter
Date: Thu, 10 Jun 2004 22:00
60 lines
3782 bytes
Is there any way to keep XNews from b64 encoding [or uue encoding or y
encoding] a .txt attachment to a news post?

This is going to be a question about XNews, not Outlook Express.  I'm
just talking about OE because that's what I use, to help me communicate
here.

In one spamcop newsgroup we have need to be able to post the raw message
source of an email - what I call 'smtp mime' - which consists of
complete headers with contiguous raw or unrendered spambody - into a
newsgroup, and be able to handle it with a variety of newsreaders.

For example, with OE, I would obtain that smtp mime from a spam email by
using File/ Properties/ Details/ Message source and copy the item.
Don't talk to me about ctrl-F3.  I could paste it into the spamcop
parser or I could paste it into NotePad and edit it or munge my address
and then save it.  I could also save it and give it an .eml or .txt
extension.

If I were to paste that into the body of a news message, upon posting it
would suffer the effects of linewraps, unless I changed my plaintext
settings to wrap at 132 just for that post.

However, I could save that item as a .txt file or as an .eml file and
attach it to my newsgroup message with Insert/ File Attachment/ and
another OE user could open the .eml attachment and see the 'original'
spam item.  A person with a different newsreader might choose to handle
the item by getting the raw news source;  but in any case the
linewrapping wouldn't be affecting the original item because of its
attachment condition.

Now, we are trying to do the same .txt attachment management with XNews;
keep it from becoming encoded.  Except XNews makes some kind of an
encoding or another out of the .txt attachment.

This is what I'm hearing <snipped from an XNews user>

<XN>
The only options available are:

* Check "Use MIME", so the attachment goes b64 encoded as MIME
attachment
* Check "Use yEnc", so the attachment goes yEncoded
* Do not check either, so the attachment goes uuencoded (those "begin
644 spam.txt" things are uuencoding, aren't they?)

So Xnews always encodes the attachments, you are allowed only to choose
the encoding method.
</XN>

In OE, my plaintext options are uuencode or MIME: under mime I get to
choose encoding none,  b64, or OE's version of quoted printable.

Does XNews have a similar mime with no encoding function?


-- 
Mike Easter   |   http://www.verifiedvoting.org
Voter-Verified Paper Trail for 2004 Elections
Re: [XNews] Don't encode .txt attachment?
#149724
Author: MartinS
Date: Fri, 11 Jun 2004 01:33
17 lines
1391 bytes
"Mike Easter" <MikeE@ster.invalid> wrote:

> Is there any way to keep XNews from b64 encoding [or uue encoding or
> y encoding] a .txt attachment to a news post?
> 
<SNIP>
> 
> If I were to paste that into the body of a news message, upon
> posting it would suffer the effects of linewraps, unless I changed
> my plaintext settings to wrap at 132 just for that post.
> 
<SNIP> 

Turn off linewrap. (Arrow icon at bottom of posting window.)

-- 
Martin S.
Re: [XNews] Don't encode .txt attachment?
#149727
Author: »Q«
Date: Fri, 11 Jun 2004 01:49
28 lines
2299 bytes
"Mike Easter" <MikeE@ster.invalid> wrote in
<news:KR4yc.9564$uX2.5468@newsread2.news.pas.earthlink.net>:

> If I were to paste that into the body of a news message, upon
> posting it would suffer the effects of linewraps, unless I changed
> my plaintext settings to wrap at 132 just for that post.

You can toggle wrapping on and off while editing a post.  One option
is to type whatever text you need to, then toggle wrapping off
(Message|Word Wrap), then hit 'Rewrap' (Edit|Rewrap),
then paste the unwrapped spam e-mail.

> In OE, my plaintext options are uuencode or MIME: under mime I get
> to choose encoding none,  b64, or OE's version of quoted
> printable.
>
> Does XNews have a similar mime with no encoding function?

Not as far as I can see.  But other newsreaders should have no trouble
with decoding UUencoded or base64-encoded attachments.

Note:  Xnews has no support for charsets other than 7-bit ASCII, so
cutting and pasting spam as plaintext may mangle it.  If UU and base64
are no good for your purposes, I'd recommend using another client to
post these.

-- 
»Q«
Re: [XNews] Don't encode .txt attachment?
#149738
Author: Mike Easter
Date: Fri, 11 Jun 2004 07:00
57 lines
3966 bytes
»Q« wrote:
> "Mike Easter"
>> If I were to paste that into the body of a news message, upon
>> posting it would suffer the effects of linewraps, unless I changed
>> my plaintext settings to wrap at 132 just for that post.
>
> You can toggle wrapping on and off while editing a post.  One option
> is to type whatever text you need to, then toggle wrapping off
> (Message|Word Wrap), then hit 'Rewrap' (Edit|Rewrap),
> then paste the unwrapped spam e-mail.

I wonder if anything bad will happen to the leading whitespaces which
are the normal configuration of smtp trace Received: headerlines if it
were posted that way?  As in go away.

>> Does XNews have a similar mime with no encoding function?

> Not as far as I can see.  But other newsreaders should have no trouble
> with decoding UUencoded or base64-encoded attachments.

The decoding itself isn't the problem, per se.  The problem is that
normally many of us like to know what is inside a spam or any other
email unknown before we 'render' it with something like OE.  If it is
attached to the news message encoded then the OE 'reader' who opened the
attachment to render the b64 which would 'automatically' render spam
html contained within.  If they were OE6 they could keep it/ render it/
as plaintext, but that isn't the point.  The raw spambody typically html
needs to be examined, which would require that the XNews news message
source be accessed, the b64 attachment part isolated and 'handled' with
some separate b64 utility.  A little tedious because it isn't in
plaintext.

They could also save the attachment separately and start working on the
b64 'over there' with a b64 utility.  The goal is to get back to the
original plaintext that the XNews/er was handling in the first place.

As a result, the encoding 'problem' requires separate handling with a
b64 decoder by an OE user or any other who doesn't want to render the
spam contained within.  In the case of the XNews poster, I think it
would be better for hir to paste it into the body and toggle off the
linewraps and hope that posting doesn't wipe out the normal leading
whitespace traceline condition.

> Note:  Xnews has no support for charsets other than 7-bit ASCII, so
> cutting and pasting spam as plaintext may mangle it.  If UU and base64
> are no good for your purposes, I'd recommend using another client to
> post these.

Uh oh.  I see a problem there too.  We may have to stick with the
encoding decoding.  Rats.

Thanks.

-- 
Mike Easter   |   http://www.verifiedvoting.org
Voter-Verified Paper Trail for 2004 Elections
Re: [XNews] Don't encode .txt attachment?
#149768
Author: »Q«
Date: Fri, 11 Jun 2004 16:13
28 lines
2460 bytes
"Mike Easter" <MikeE@ster.invalid> wrote in
<news:6Mcyc.1446$Wr.951@newsread1.news.pas.earthlink.net>:

> »Q« wrote:
>
>> You can toggle wrapping on and off while editing a post.  One
>> option is to type whatever text you need to, then toggle wrapping
>> off (Message|Word Wrap), then hit 'Rewrap' (Edit|Rewrap), then
>> paste the unwrapped spam e-mail.
>
> I wonder if anything bad will happen to the leading whitespaces
> which are the normal configuration of smtp trace Received:
> headerlines if it were posted that way?  As in go away.

That won't happen;  the whitespaces will be intact.

> As a result, the encoding 'problem' requires separate handling
> with a b64 decoder by an OE user or any other who doesn't want to
> render the spam contained within.

I did read the parts I snipped, but I am confused.  Whether it's a
UUencoded or base64-encoded .txt attachment, OE should let the user
either save to HDD or open with whatever app she chooses (e.g.,
notepad).  Decoding should be automatic and transparent.  If OE won't
do this, you might ask about it in the OE group.

-- 
»Q«
Re: [XNews] Don't encode .txt attachment?
#149783
Author: Mike Easter
Date: Fri, 11 Jun 2004 20:30
62 lines
4641 bytes
»Q« wrote:
> "Mike Easter"
>> I wonder if anything bad will happen to the leading whitespaces
>> which are the normal configuration of smtp trace Received:
>> headerlines if it were posted that way?  As in go away.
>
> That won't happen;  the whitespaces will be intact.

Yes, you are correct about the whitespaces, but we're going to do it
with the attachment style anyway.

I think we've got this worked out.  Yes, the whitespaces remain intact,
except that for the display in OE, it appears that the whitespaces are
gone, but they are really there.  But, it is going to turn out to be
better because of the XNews 7bit situation for the body that we do it
with attachments.

>> As a result, the encoding 'problem' requires separate handling
>> with a b64 decoder by an OE user or any other who doesn't want to
>> render the spam contained within.

This above turned out to be a misstatement or mistake on my part.  If OE
opens an .eml or .nws attachment [which is actually plaintext if it were
'put there' by an OE user] then OE uses OE to 'render' or display the
item.  But if the attachment is filename.txt, then it typically uses
NotePad or whatever the .txt attachment app is to do the display.  So,
what I said above and the part that was snipped about the OE rendering
was wrong.  Unless the attachment's extension is .eml or .nws.

> I did read the parts I snipped, but I am confused.  Whether it's a
> UUencoded or base64-encoded .txt attachment, OE should let the user
> either save to HDD or open with whatever app she chooses (e.g.,
> notepad).  Decoding should be automatic and transparent.  If OE won't
> do this, you might ask about it in the OE group.

Yes, OE will let the user save to hdd, but for opening the attachment,
unlike /opening/ a .txt file in a normal filemanager with shift-open, in
which the app for opening can be 'changed' or selected, OE won't let the
user select an alternate app for opening the .txt file.  That is, for
the OE reader, there is no such thing as shift-open for displaying the
attachment.  You get the default filename association, that's all.

Currently 'we've' decided that the XNews/er should post as an attachment
[mime or uue, doesn't matter, I don't think] rather than pasting into
the body because of the 7bit limitation occasionally affecting the
'accuracy' of the content of the body.  The OE reader should 'realize
hir limitations' when dealing with the attached .txt file.  Some
NotePads which get called to display the OE decoded by NotePad displayed
item will /not/ display extended ascii chars.  When that limitation
would affect something important, the OE user should instead save the
attachment.txt to disk and then choose to open it with an app which will
handle the extended ascii chars properly.

Thanks for your help.  The XNews/er in spamcop was quite knowledgeable
about his app, but I was confused.  I also learned some more limitations
of OE that I didn't know about before.  And I know almost all of them, I
tho't.

-- 
Mike Easter   |   http://www.verifiedvoting.org
Voter-Verified Paper Trail for 2004 Elections
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads