<<< Date Index >>>     <<< Thread Index >>>

Re: Detecting new mail in mbox format



On 2009-04-26, Wolf Wiegand <wolf@xxxxxxxxxxxxxxxx> wrote:
> Hi Grant,
>
> Grant Edwards wrote:
>
>>  2) I just tried it, and it does nothing. It's bound to '.'.
>>     When I hit '.' absolutely nothing happens. No IMAP commands
>>     are sent to server to check either the current folder or
>>     the folders in the "mailboxes" list.
>
> I am using this to check for new mail on an IMAP server:
>
>  bind index G imap-fetch-mail
>  bind pager G imap-fetch-mail

Does it check the current folder, or the "inbox"?  I don't seem
to be able to find imap-fetch-mail in the manual:

http://www.mutt.org/doc/manual.txt

Is it documented somewhere?

> I usually use a heavily patched version of mutt (1.5.18), but this should 
> work with a regular build as well.

One presumes that doesn't work for maildir folders (I use both
IMAP and maildir). Still, it's nice to know how to make mutt
wake up and check an IMAP mailbox.

-- 
Grant