On Tue, Apr 20, 2004 at 05:54:06AM -0700, uday bhaskar wrote:

Sorry for the late reply.

> Not sure if this is the appropriate place to ask this
> question, please redirect me to the appropriate palce.
> 
> My question is how do I use the "FvwmTaskbar MailBox"
> setting when I use IMAP for my mail access. All fvwm
> says is add the path. Can someone help me out with how
> the path has to be specified. {imap.domain.com}INBOX
> does not work.

FvwmTaskBar just watches a file for new mails.  You could use some
other program such as fetchmail to download the mails to a local
file.  If this is inacceptable, you can make some external script
that checks for new mail and writes something to a fake mailbox,
e.g.:

  #!/bin/sh
  echo > /tmp/have_new_mail
  while true; do
    if new_mail_in_imap_box; then
      echo "new mail" >> /tmp/have_new_mail
    fi
    sleep 300
  done

And tell FvwmTaskBar to watch the /tmp/have_new_mail file instead
of a real mailbox:

  *FvwmTaskBar: MailBox /tmp/have_new_mail

The difficult part is to write the "new_mail_in_imap_box" command
or function.  Since I never used IMAP, I don't know what tools
there are to do it.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Attachment: pgpqdRF9uYuPL.pgp
Description: PGP signature

Reply via email to