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

Re: mutt hangs when using remote imap server over home broadband



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, August  4 at 10:05 AM, quoth Patrick Shanahan:
>> 1b) Sometimes maildirs have an 'N' next to them to indicate new 
>> mail, but at other times there is no 'N' despite having new mail. 
>> Can anyone enlighten me about this?
>
> 'N' does mean "new mail" but does *not* mean "unread mail".  Once you 
> have seen that new mail is there, you have accessed the folder/file 
> containing the mail and the system "access" date/time has changed. 
> "N" is defined by the system access date/time/

It should be pointed out, though, that you can avoid marking mail as 
"old" by unsetting $mark_old. This tells mutt to muck with the 
timestamps to avoid messages being marked "old", and should make mutt 
treat "new" as a synonym for "unread".

>> 2. I've set up a key to run getmail:
>> 
>> macro generic G \ 
>> <shell-escape>'getmail'<enter> \ 
>> 'Run getmail'
>> 
>> But it's a bit ugly to have to do this to check for new mail; mutt 
>> temporarily disappears then I get a message saying 'press any key 
>> to continue'. It all seems a bit 1980s. 

You can turn off the latter part by unsetting $wait_key. The behavior 
then will be that mutt will temporarily disappear, and then reappear, 
without requiring you to press a key.

>> Do you have recommendations for a nice way to get getmail to check 
>> for mail constantly in the background,

Cron is pretty much your best option when using getmail. And there's 
absolutely nothing "hacky" about it, as far as I'm concerned. Heck, 
that means it continues to fetch mail as long as your computer is up! 
That's an improvement over just fetching mail when you're logged in, 
isn't it?

>> and mutt to recognise when getmail has deposited new mail?

Mutt automatically checks its folders for new mail periodically (as 
determined by the values of $timeout and $mail_check), so you don't 
really have to worry about that.

~Kyle
- -- 
I beseech you, in the bowels of Christ, think it possible you may be 
mistaken.
                                                     -- Oliver Cromwell
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkiXFjIACgkQBkIOoMqOI16ZAQCdFWh9IrQqg0Tbn5gufujZIznY
tCkAnjLCzPMf/uS8AEWDZPp1NyUFq9fq
=/c2L
-----END PGP SIGNATURE-----