On Tue, 18 Apr 2000, Bill Beal wrote:

> Was going to just ask John Kennis, but thought others might be
> interested:
> 
> I'm using bbmail-0.6.6 w/Mar.31 blackbox 0.60 alpha to check a remote
> mailbox by parsing the output of fetchmail -c (IMAP proto) with a
> short perl script.  The relevant lines in my bbmail.bb:
> 
> bbmail.mailbox.1.mode:  1      # displays unread/total
> 
> bbmail.mailbox.1.proc:  fetchmail -c | /home/beal/bin/bbmailparse.pl &
> 
> The last line of the perl script reads:
> 
> print ($newmail, " ", $totalmail, "\n");
> 
> which I believe is the correct syntax for bbmail, namely 2 integers on
> one line.
> 
> It seems to work just fine when I first run bbmail, but subsequent
> automatic mail checks do not update the unread/total flags.  (I'm
> fairly confident the checks are being performed; I can see the
> telltale spike in network traffic at regular intervals, but perhaps I
> assume too much...)
>
It should work, only the checkDelay and foreCheck.onDelay resources
were not read correctly. Which meant there is at least a 5 minutes
delay between checks.

There is a bbmail-0.6.7-pre1 on ftp://bbtools.windsofstrom.net
with the delay error fixed and some additional debug info.

If you configure it with ./configure --enable-debug, additional info is
printed to the screen. The value of the forceCheck counter, when the 
forced check is reached and the result of the proc function.

Bill can you check if it works now.


John Kennis

Reply via email to