Re: Prototype 51 Released!

Chris Tubutis <ctubutis-/[email protected]> Thu, 20 Nov 2003 20:20:49 -0700 (MST)
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
Hey, Vlad!

Well, I think I'm gonna need to play around with this some, my Bulk box
magically got emptied. From what I've been able to see so far, it looks
to be working. Maybe I can figure out a way of sending something to
myself and having it end up in the SPAM folder. Hmm...

BTW one slight thing I've noticed with the new sputnik.pm:

==========
[[email protected] .yosucker]$ LANG=en_US; YoSucker --config=~/.yosucker/ctubutis.conf --box=Bulk mid=4345_1907396_6297_1461_2641_0_69025_7777_3734914261 bulk=1
Use of uninitialized value in pattern match (m//) at /home/chris/bin/../lib/sputnik.pm line 123.
Using ctubutis.conf
Respawning OK.
BULK
-> Using user specified MessageIDs...
-> You've got 1 new message(s)!
-> Fetching [#] Done.
-> Moving to Trash... Done.
Emptying bulk folder... OK.
Logout SKIPPED.
==========

Well, maybe two slight things - use of uninitialized value, emptying
bulk folder. Hmmm..... WAIT, I told it 'bulk=1' so it did exactly what I
told it to. Dammit. Well, better than it doing something else, I
guess...

ct

P.S. I'm CC'ing mail.pt and lists.sourgeforge.net (so people can see
what's going on and they don't think you're ignoring this ;)

On 20 Nov, Vladimír_Cháb wrote:
> Hi Chris,
> 
>> OK, that much worked. But even thought I said '--bulk=1' the messages
>> are still in my Bulk box on Yahoo.
> I'll have a look at that...
> 
>> And, ya know what? So are two new ones that came in overnight. If
>> specifying '--bulk=1' results in all messages in the Bulk folder
>> being removed, then I wouldn't have the opportunity to have known
>> about 'em. Though this would be stupid on my part, performing
>> different aspects of the operation several hours from each other; of
>> course things are going to change over that time. But things can
>> change over the course of a minute, too. So specifying it like that
>> probably isn't a good thing in my case. So, can I specify something
>> like LEAVE=0 to move to Trash only those messages which have been
>> sucked down from the Bulk box? Um, I kinda suspect not, I seem to
>> remember that LEAVE parameter causing problems from the start, it
>> seemed to globally affect everything. I guess what we need are
>>separate LEAVEs that apply to each BOX/DIGEST.
> Well, here is how things work... LEAVE=0, that is 'Move fetched
> messages to the Trash' applies only on BOX messages. All the messages
> handled in the DIGEST mode shall stay where they are. So if your
> setup is like: BOX=Inbox
> DIGEST=Bulk
> LEAVE=0
> ...then all the new messages from the Inbox folder should be fetched
> and then moved to the Trash. New messages in Bulk won't be fetched,
> you'll get the digest-info and these messages should not be moved to
> the Trash.
> 
> If you specify --MID from the command line, the same applies with one 
> difference. YoSucker should only work with messages that you identify
> by their MessageIDs. So if you say:
> $ YoSucker --box=Bulk --MID=messg_id_1,messg_id_2,messg_id_3 --LEAVE=0
> --digest=""
> ...the three messages shall be moved to the Trash, the other messages
> will stay as they are.
> 
> 
> -------------AHHHH WAIT! I think I've got the bug!!!
> 
> I'm sending you a fixed sputnik.pm; please let me know if it resolved
> the problems. Thanks!
> 
> Vlad
> ps.: just uncomress it and replace the original sputnik.pm with it.
> -z3r0-



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/