Re: FVWM: "FvwmTaskbar MailBox" with IMAP

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Tue, 3 Aug 2004 10:20:43 +0200

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, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Aug 03 2004 - 03:24:27 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST