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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
