[REBOL] Re: cerebrus revisited
From: gchiu:compkarori at: 6-Feb-2003 8:38
On Wed, 05 Feb 2003 09:27:05 +0100
"Hallvard Ystad" <[hallvard--ystad--helpinhand--com]> wrote:
>..But is there no way for cerebrus to detect that Eudora
>is no longer listening? So that I wouldn't have to kill
>it?
Yes there is. As soon Cerebrus detects that the mail
client has droppped the connection, it also closes the
connection. But the problem is occuring while Cerebrus is
in the midst of a large download, and since 'read from the
pop mailbox is synchronous, it must wait till the 'read is
completed before checking the connection.
>the thought (make money! 0.02): how about having some
>sort of an "import message" to cerebrus, so that I could
>say e.g. "import eudora-contacts-file" for cerebrus to
>parse the file and add all email addresses in the file to
>my allow from: list? So that I wouldn't have to add them
>one by one later, as they send me emails with typos?
>
Sure that could be done .. adding to the memory footprint
:) Since the cerebus.config file is just a plain text
file with the list of allowed email addresses in a block,
... it should be easy enough to do if the eudora contacts
file is simple enough to parse.
If you use Outlook express, you can export your
addressbook as a csv file and a quick few macros in your
wordprocessor would make it easy enough to cut and paste.
--
Graham Chiu
http://www.compkarori.com/cerebrus