RE: Cannot open DIGEST REPOSITORY problem

Vlad Zero <[email protected]> Mon, 10 Nov 2003 12:26:17 +0100 (CET)
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
> >> But I can't get it to work:
> >>
> >> ==========
> >> [[email protected] bin]$ ./YoSucker
> >> Using ctubutis.conf
> >> Respawning OK.
> >> INBOX
> >> -> Reading list of messages...
> >> Cannot open DIGEST REPOSITORY!!!
> >> ==========
> >>
> > 
> > I had the same problem. I had to add
> > 
> > DIGEST=Bulk
> > 
> > To get it to work. I'm not entirely sure what that's doing, but it's 
> > working.
> 
> OK, I added that to my config file, the result is a working
> YoSucker-pr50 but one that also downloads all the SPAM and crap in the
> Bulk mail folder. This isn't at all what I want to do, I typically go
> look at that folder once a week or so via the Web interface and deal
> with it then. So, it's looking like I'm going back to pr-43 for the time
> being, this is counterproductive.

ALRIGHT. I'm sorry for the lack of the documentation for the new features, 
I wanted to release the thing on Friday and was working under a slight 
time pressure. I will definitely add some more documentation in the 
following issue. There was so much work on the Prototype 50 that I put 
only minimal comment to the sample.conf file. So, the more docs/ and 
little fixes will be issued in the upcoming issue (likely Prototype 51). 

Now, to the problem. The 'Cannot open DIGEST REPOSITORY' is a little bug 
that sneaked in, and appears only when running YoSucker without ever 
before turning on the DIGEST feature. I'll include a fix of this thing in 
the next release, but you can easily fix it. Just turn the DIGEST on on 
any folder for one run of YoSucker (you can then turn it off again) or 
create a file called yourconfig.digest in the same location as is the 
config file (for the example above the file would be called 
ctubutis.digest)...

WHAT DOES THE DIGEST DO?!
No! It is not supposed to "downloads all the SPAM and crap in the Bulk 
mail folder". It is supposed to give you a list of the messages in a 
specified folder/folders, giving you the idea what the message is all 
about by providing you with From:, To:, Subject: lines. A typical DIGEST 
message would look like this:

----START_OF_MESSAGE----
From: YoSucker Olympics Team <[email protected]>
To: You <[email protected]>
Subject: INBOX Folder Diggest

> From: sender-H4aWS73dXupWk0Htik3J/[email protected]
> To: [email protected]
> Subject: test
-------------------------------------------
> From: sender3-H4aWS73dXupWk0Htik3J/[email protected]
> To: [email protected]
> Subject: test3
-------------------------------------------
> From: sender2-H4aWS73dXupWk0Htik3J/[email protected]
> To: [email protected]
> Subject: Ahoj...
-------------------------------------------
> From: sender1-H4aWS73dXupWk0Htik3J/[email protected]
> To: [email protected]
> Subject: forward to Paul svp (fwd)
-------------------------------------------
etc.
----END_OF_MESSAGE----

The intention is to avoid "go look at that folder once a week or so via 
the Web interface and deal with it then.". I mainly thought of the Bulk 
folder but it may be useful with the other folders as well. The model 
scenario would work like this:

- you set up the account with
BOX=Inbox
DIGEST=Bulk
BULK=0		# Do NOT trash the BULK messages automatically.

- then you download your messages and see the "BULK folder digest" and...
a) you see there are NO interesting messages in the bulk so you run:
	$ YoSucker --BULK=1
   to clean the BULK mess.
b) download the messages you're interested in via YoSucker/web interface.

If DIGEST does anything else that was intended and is more or less 
described here, please let me know...

Hope this brings a bit of light to the whole thing...

Sorry for that little bug again! Cheers!

Vlad
-z3r0-



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/