๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Old Geezer Sat, 09 Feb 2019 16:28
<dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263115
Author: Old Geezer
Date: Sat, 09 Feb 2019 16:28
13 lines
1474 bytes
Sometimes I want to go back to reference what I've sent years ago.
Yes I know there are search engines (howard knight, google, narkive).

But what I'd like is a single huge SENT file of all dialog messages.

As you know, over the years, dialog crashes & we rebuild the installation.
I lose all my SENT messages as a result.

I also use dialog on multiple machines.
The SENT messages are kept separate as a result.

Is there a good way to always save SENT messages to a common external file
on the network that is outside any one dialog directory on a PC?
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263116
Author: Mike Yetto
Date: Sat, 09 Feb 2019 17:57
37 lines
2623 bytes
So it is writ, so mote it be....
Old Geezer <spamaddress@yahoo.com>:
> Sometimes I want to go back to reference what I've sent years ago.
> Yes I know there are search engines (howard knight, google, narkive).

> But what I'd like is a single huge SENT file of all dialog messages.

> As you know, over the years, dialog crashes & we rebuild the installation.
> I lose all my SENT messages as a result.

> I also use dialog on multiple machines.
> The SENT messages are kept separate as a result.

> Is there a good way to always save SENT messages to a common external file
> on the network that is outside any one dialog directory on a PC?

I don't know where or how dialog saves these messages, but if it
is an mbox formatted file Ii can give you a possible second half
of the solution.

I use slrn which saves sent messages or just such a file and
claws-mail to take the messages from there to an email
account that reads the mbox file into a folder under its control.

The source is set to ~/news/posts_and_replies with a protocol
of 'Local MBOX file' and the inbox to #mh/Mailbox/SLRN_sent.

I have a similar setup for posts I want to keep.

This isn't really a solution to your quest, but it may be a
framework to start with.

Mike "more clarity or obscurity provided on request" Yetto
-- 
"Errors using inadequate data are much less than those using no data at
all."
 - Charles Babbage
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263117
Author: Bernd Rose
Date: Sun, 10 Feb 2019 08:55
48 lines
3478 bytes
On Sat, 9th Feb 2019 11:28:20 -0500, Old Geezer wrote:

> Is there a good way to always save SENT messages to a common external file
> on the network that is outside any one dialog directory on a PC?

As you most likely already noticed: The Sent folder in 40tude Dialog is 
excluded from export "by design". It also is excluded from copy/paste,
which means that you cannot copy the sent messages into another dedicated
folder and export from there.

IIRC, most/all menu enabling tools do not work here, either. So you can
not use them to enable the grayed-out menu item. If you find one that
works, please report back. This would help others encountering the same
problem.

Oliver Cromm once wrote a Ruby script to export all and every message from
the msg*.dat files. Although Sent items are specifically formatted, this
script /may/ work with them. (I don't remember, if it did or not.) Please
note, that whether you are successful or not: the exported items will
/not/ contain attachments, but only links to the local file system.
(Dialog never stores attachments for sent items inside its database.)

The latest version of the Ruby script can probably be found inside this 
article:

https://groups.google.com/forum/#!original/news.software.readers/5DPA0kRWvsY/7jJi45LRbxkJ

To just get items from Sent folder, you'd need to copy your current Dialog
folder to a different location, first. Afterwards you can delete or empty
out all groups and folders except Sent, run Compact Database and can now
apply the Script. Only you can decide, whether all this trouble is worth 
the effort...

For the future, the probably best way to handle your problem with mails
is to always send a BCC to yourself. For newsgroups, it is easier to just
add a task to "Scoring and Actions" to copy your posts (and maybe also 
follow-ups to your posts) into a dedicated folder like "My_Archive", once 
the messages are retrieved back from server:

[*]
!retrieve,copy(My_Archive) Message-ID XXXX
!retrieve,copy(My_Archive) References XXXX -@Message-ID: XXXX

For this to work, you need to create dedicated Message-ID's with an
unambiguous fixed part "XXXX", though.

HTH.
Bernd
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263118
Author: Old Geezer
Date: Sun, 10 Feb 2019 21:12
9 lines
1310 bytes
Thank you Mike Yetto & Bernd Rose, 

I will try to see if I can come up with a solution based on your helpful
replies. 

If I don't respond back then I failed. But if I succeed, I will respond
back to let you know what finally worked.

PS: It's so nice to be able to double click on a header again! (Thanks!)
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263120
Author: Bernd Rose
Date: Mon, 11 Feb 2019 05:04
16 lines
2107 bytes
On Sat, 9th Feb 2019 12:57:50 -0500, Mike Yetto wrote:

[Sent messages] 
> I don't know where or how dialog saves these messages, but if it
> is an mbox formatted file 

Just for the record: It doesn't. 40tude Dialog uses a couple of proprietary 
file formats for its database. There is no other program (at least known to
me), that is able to read/import the mails and messages from there. Oliver
Cromms Ruby script is the closest any tool comes in accessing messages from
the outside of Dialog. It ignores pretty much all internals of the database 
and directly reads from the storage area, where all raw messages are saved 
as a huge heap, but unfortunately without the envelope. (Which makes its
creation of the *.mbox files somewhat incomplete...)

Bernd
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263119
Author: Old Geezer
Date: Mon, 11 Feb 2019 09:44
14 lines
1734 bytes
On Mon, 11 Feb 2019 06:04:23 +0100, Bernd Rose wrote:

> Just for the record: It doesn't. 40tude Dialog uses a couple of proprietary 
> file formats for its database. There is no other program (at least known to
> me), that is able to read/import the mails and messages from there.

As an aside, is that the same reason then, why it's difficult to edit the
dialog (binary?) dictionary?

All I wanted in this prior thread was to remove words accidentally added.
[https://groups.google.com/forum/#!topic/news.software.readers/eOK61KEa5GA]

Is there an easy human-readable way to remove words from the (binary?)
dialog dictionary that were accidentally added?
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263123
Author: Bernd Rose
Date: Mon, 11 Feb 2019 18:56
23 lines
2327 bytes
On Mon, 11th Feb 2019 04:44:12 -0500, Old Geezer wrote:

> All I wanted in this prior thread was to remove words accidentally added.
> [https://groups.google.com/forum/#!topic/news.software.readers/eOK61KEa5GA]

Hm. Must have missed this one.

> Is there an easy human-readable way to remove words from the (binary?)
> dialog dictionary that were accidentally added?

Open a composition window (new message, follow-up, ...) and open the menu 
<Spell check><Settings...>. Click on the <Dictionaries> button and select
the custom dictionary you wish to edit. (If you happen to have more than 
one.) Now click the <Edit> button and do whatever you like with the
custom entries you find there.

The Dictionary functionality wasn't written by Marcus Mรถnnig, btw. He
licensed a third-party Delphi component from Addictive Software:

http://www.addictivesoftware.com/addict2/spell.html

HTH.
Bernd
Re: <dialog> What is the easiest way to save all SENT messages into a single text file on the PC?
#263121
Author: Old Geezer
Date: Tue, 12 Feb 2019 00:51
15 lines
1773 bytes
On Mon, 11 Feb 2019 19:56:07 +0100, Bernd Rose wrote:

> Open a composition window (new message, follow-up, ...) and open the menu 
> <Spell check><Settings...>. Click on the <Dictionaries> button and select
> the custom dictionary you wish to edit. (If you happen to have more than 
> one.) Now click the <Edit> button and do whatever you like with the
> custom entries you find there.

That was it! 
It's so simple once you know how!
Thanks again!

BTW, just before you hit Edit, you also have to select the one dictionary, 
even though it's already checked. If it's not Blued, the edit button will 
be grayed out.
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