Re: mutt hangs when using remote imap server over home broadband
- To: mutt-users@xxxxxxxx
- Subject: Re: mutt hangs when using remote imap server over home broadband
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 4 Aug 2008 09:46:10 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=AptOMHnWTJkRqzPIGrcco6gS48M=; b=SNW9 o7Pe1XIMg1H1kHmpgAHknPPtnyOrIMdfoo0jTf/nNEndXh90sEFyhlLHK7/dI0Tz /4DHyyoCaGIlD6ou0jJuP702k+x0gnjmEQIFBDJiSXESCrmbgE/g9o3KOsh4mWb5 M49gSzc4WedD8wxvC5S1fqTPdqUgKLj7XKlVNZI=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=nWCs6PGQWxJy+xz0E50i0wgCM+kkMALH44xRM6YZp1Yz5wMD2t70PPI2XWhujdbry6rxqaVjHbF/rTmDSdUmzfU0Dne0T20zCkavkD4zPkf7YzpgEUdImFjk2TYE3jtCZTH1XyENcSie8dQxHDcGaofTAJ1vVsP3tsAMoF4ILDo=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080804140557.GD28685@xxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080731100126.GA11373@xxxxxxxxxxxxxx> <20080731135415.GK58974@xxxxxxxxxxxxx> <20080804125857.GA7938@xxxxxxxxxxxxxx> <20080804140557.GD28685@xxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-07-21)
-----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-----