Re: FVWM: "FvwmTaskbar MailBox" with IMAP

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 3 Aug 2004 08:47:19 +0000

On 03 Aug 2004 10:20:43 +0200, Dominik Vogt wrote:
>
> 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.

fetchmail may be used to check (or fetch) email on the mail server that
uses POP, IMAP and other protocols. I once played with fetchmail and
found it not configurable enough, however you may add missing
functionality by scripting.

Add one line to ~/.fetchmailrc like:

  skip mail.your-server.com proto imap username uday_p password your_passwd

Then execute:

  fetchmail -c mail.your-server.com
  fetchmail -c -r mail/FVWM mail.your-server.com
  fetchmail -c -r mail/Other-Mail-Folder mail.your-server.com

As I said, you need some parsing of the output to actually tell whether
there is an email in one of the folders, it outputs:

  1623 messages (1621 seen) for uday_p at your-server.com (folder mail/FVWM).

Regards,
Mikhael.
--
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:50:04 BST

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