🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244477

Re: [Dialog] Detatching Attachments from Received Articles

#244477
From: Sqwertz
Date: Wed, 19 Jan 2011 04:45
77 lines
5108 bytes
On Tue, 18 Jan 2011 21:57:52 -0600, Sqwertz wrote:

> 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.

I am going to test this with your version of Dialog when I get back
from Pittsburgh (Steelers need my help).

http://img375.imageshack.us/i/dialogps.jpg/

-sw

-sw
Technical Details
Message-ID: <41wry89n5fco.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!postnews.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news-xxxfer.readnews.com!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> <dvmwscynpswn.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <41wry89n5fco.dlg@sqwertz.com>
Subject: Re: [Dialog] Detatching Attachments from Received Articles
Date: Tue, 18 Jan 2011 22:45:02 -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> <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!postnews.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news-xxxfer.readnews.com!news-out.readnews.com!postnews7.readnews.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: MacSOUP/2.7 (Mac OS X version 10.4.8)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-no-archive: yes
Lines: 77
NNTP-Posting-Host: b3bfefee.blocknews.net
X-Trace: DXC=aUZZJ_nN<c>TF8efF[k@b3GTXUl?iR^P<<X<c6\A0782Oe\2PAHojD6?R\\JEjWJ4=_N<0FdY`i?68P\[:k>VTm>
X-Complaints-To: abuse@blocknews.net