🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244476

Re: [Dialog] Detatching Attachments from Received Articles

#244476
From: Sqwertz
Date: Wed, 19 Jan 2011 03:57
68 lines
4768 bytes
On Tue, 18 Jan 2011 19:35:56 +0100, Bernd Rose wrote:

> On Tue, 18-th Jan 2011 00:51:00 -0600 Sqwertz wrote:
> 
>> The files in my Binary folder are miniscule compared to the files in
>> my Data folder.  And I can still view the binary data for hundreds of
>> 200K messages when I view the raw message, yet my Binary folder is
>> only about 2 megs.  My Data folder is almost a gigabyte.
>> 
>> Looking at the data files in my Binary folder they are all messages
>> from the same person, probably the only person in the group, who posts
>> multipart messages.  That seems to be the only purpose of the binary
>> folder - collecting multipart messages.  The files to this group are
>> usually only 150K or so (alt.binaries.food) and multiparts are
>> discouraged. 
> 
> I didn't have the time this morning to address all variants, that come
> into play, here. Yes, only multipart binaries of newsgroups are stored
> inside the Binary subfolder, when no save-path for a group is defined
> (specifically or via default group options). All other binaries go to
> the msg*.dat files (again, only when no save-path is defined).
> 
> If a save-path has been set for a group *prior* to downloading the
> body of either a multipart message or a single message, the binary
> attachments are written to that folder. Inside the msg*.dat files only
> a reference message "Attachment saved: ..." is written and all parts
> of a multipart message are removed from Binary subfolder. (After the
> save to the target folder was successful.) Btw: "Normal" multipart
> messages in groups without defined save-folder get /no/ entry inside
> the msg*.dat files.
> 
> After a message body has been downloaded (with either save-path set or 
> not), the actions I described above (and in my last posting) have been
> executed. There is no way, that I'm aware of, to reverse these actions.
> I.e.: You can neither detach a binary nor re-attach it.
> 
> You can clean the Binary subfolder to get rid of the multipart binaries.
> But since you don't keep any useful content, you could have deleted the
> message (or at least its body) inside Dialog, anyway.
> 
> You can not remove binaries stored inside msg*.dat files without at 
> least deleting the body of the message inside Dialog.
> 
> You can save any binary later on as often as you like to as many folders
> as you like, as long as Dialog is able to access the original binary
> (inside msg*.dat / Binary subfolder / specific save-path folder). But
> this will *not* affect the original save position.
> 
>> And yes, I was referring to newsgroup posts, not email. 
> 
> Okay.
>  
>> Could this have been an older version of Dialog that unattached the
>> files rather than having them stored in the data directory?  I know
>> there was a database format change in one of the three available
>> versions still out there as there's a warning about a database
>> conversion after you run it the first time.  It has probably been a
>> few years since I saw the detached message pointers and I have been
>> using the newest ("unreleased") version since then.
> 
> No. This behavior has nothing to do with Dialog (database) version. 
> Just make sure to define a default (and/or maybe a couple of specific)
> save-path(es) inside Group options. Afterwards, all *newly retrieved*
> attachments in those Newsgroups will be detached to that save-position.

That is just not true.

-sw
Technical Details
Message-ID: <dvmwscynpswn.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!postnews7.readnews.com!not-for-mail
References: <1f3acf06olppk$.dlg@sqwertz.com> <gk8u26ibet59$.dlg@b.rose.tmpbox.news.arcor.de> <7fg551r6j185.dlg@sqwertz.com> <1nh0p87f88mh1.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <dvmwscynpswn.dlg@sqwertz.com>
Subject: Re: [Dialog] Detatching Attachments from Received Articles
Date: Tue, 18 Jan 2011 21:57:52 -0600
From: Sqwertz <swertz@cluemail.compost>
References: <1f3acf06olppk$.dlg@sqwertz.com> <gk8u26ibet59$.dlg@b.rose.tmpbox.news.arcor.de> <7fg551r6j185.dlg@sqwertz.com> <1nh0p87f88mh1.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!postnews7.readnews.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: KNode/0.10.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-no-archive: yes
Lines: 68
NNTP-Posting-Host: dd850906.blocknews.net
X-Trace: DXC=ko\HndfEeR@4`oL43YVOaBGTXUl?iR^PL<X<c6\A078B6F32Mm<fPNH?R\\JEjWJ4M_N<0FdY`i?FL_@m^D_3jdO
X-Complaints-To: abuse@blocknews.net