Re: Rolling in sidebar, other mutt-ng type bits?
- To: mutt-users@xxxxxxxx
- Subject: Re: Rolling in sidebar, other mutt-ng type bits?
- From: tchomby <tchomby@xxxxxxxxxxxxxx>
- Date: Sat, 15 Nov 2008 16:12:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=yz4vtsF4Gv/f0Y7+fwSv/CY5G88o/bc4FZzgAIl/wKU=; b=ubQe4yH5z7lB9Aa0a6SSPVcFOVXo4ISc1Grljm/Yhp+ePQY9jqsfIM1+8rR0a27BPM pIr5a9Jaiag/917SJDbmYYLy+TQsoeNxWHqxbPnBPbZyE/D28NvAoDgDYmwGYxX9IeF2 aVX5ejlCrSdEZlrOApFhA8OArPfwA983SsbVs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=kwLAj/eCeWpTgHtlvyL2iHyxU7o8S5bd7U4bYOiWFZTaszhINs6Rev6HXub2wnl+Zq 4MDYwYr/qILLactaqP0sTW04Sw3+HZM9xnNOghcTlN8b7FnGtitcIew1Y23ik74/lXhH f33ufyBDi7fAZVLN6Gw0IstSqaqr+AA8Ya0/A=
- In-reply-to: <20081115160344.GA9549@oh>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <20081023212324.GI31898@xxxxxxxxxxxxxxxxxx> <20081023225128.GA96557@xxxxxxxxxxxxx> <d8b37e750810250403q5a8ff3b4j61925dc2a0c1e328@xxxxxxxxxxxxxx> <20081115160344.GA9549@oh>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-17)
Ofcourse, I forgot to attach that muttrc file.
On Sat, Nov 15, 2008 at 04:03:44PM +0000, tchomby wrote:
> Now here's a weird thing. I'm using mutt 1.5.18 right now (on ubuntu 8.10) to
> read my gmail account over imap, I don't have the sidebar patch installed,
> and
> I'm finding that if I press 'y' I get taken to a list of all my imap folders
> (these have not been listed by me in the muttrc, mutt is finding them itself
> on
> the imap server) and beside each folder it's telling me how many unread mails
> are in the folder. What the? Since when was mutt able to do this?
>
> Here's a screenshot:
>
> http://img66.imageshack.us/img66/2584/muttrk6.png
>
> (Take a look at that mail volume by the way, and you'll see why some of the
> earlier suggestions such as pressing '.' or 'c' then return would not work
> for
> me).
>
> I've attached my muttrc file, not sure which part of it (if any) is enabling
> this feature, but there you go. It does exactly what I was looking for when I
> was trying to use the sidebar patch and asking what other people do, I just
> didn't know mutt could do this.
>
> Regarding the biff programs that someone mentioned ... I went looking for
> linux
> mail notification programs. There are many out there, most of which look
> rubbish, there's a few funny ones too, such as opening a cd tray when new
> mail
> arrives, or flashing keyboard LEDs when new mail arrives.
>
> In short, I settled on gnubiff for my non-gmail accounts that do not have
> lots
> of folders, I didn't find any that could handle my gmail account, with the
> large number of folders. To be useful it would have to at least present me a
> list of all the folders and how many unread mails in each, without me having
> to
> tell it about every folder one by one, and nothing can do that. But mutt is
> now
> doing that for me so it doesn't matter. There are a large number of
> gmail-specific mail notifiers out there for linux that I did not look at
> though
> (I was looking for imap ones).
>
> For my non-gmail accounts which do not have a large number of different
> folders
> or a high-volume of email, I found that gnubiff works best, it does the job
> nicely, although it's not perfect. It's nice to have a program that runs in
> the
> background and just tells me if I have mail, so I don't have to keep opening
> my
> mail client to check.
>
> Gnubiff and mail-notification seem to be the two main choices. Here's a
> comparison in case anyone's interested:
>
> Both of these programs use what seems a bizarrely huge amount of memory for
> what they do -- almost 10mb, when they're just sitting there waiting to check
> email.
>
> gnubiff http://gnubiff.sourceforge.net/
>
> - Works as a gnome panel applet, in a system tray (gnome or compatible) or as
> a
> GTK standalone window.
> - Keeps its configuration in a single ~/.gnubiffrc file.
> - Has a cute icon and new-mail sound.
> - The configuration dialog does not feel very nice, it's one of those
> gnome/gtk
> apps that doesn't quite feel like a gnome app. But worse, it doesn't work.
> Not exactly reassuring. On my first several tries it just kept ignoring me
> when I added my imap account. Eventually I did get it to work, by a
> combination of manually editing the config file and using the GUI.
> - Once configured it does actually work, for both my home and mail accounts,
> including autodetecting and using ssl. So it does the jon just fine.
> - It can tell you how many unread mails are in each configured account, and
> show you the subject line, from header, etc. for each mail.
>
> Mail Notification http://www.nongnu.org/mailnotify/
>
> - It works as a system tray icon only, so should work outside of gnome as
> long
> as you have a gnome-compatible system tray.
> - The configuration dialog is a lot nicer than gnubiff, feels right and
> actually works.
> - The popup messages it shows when new mails arrive are much nicer than
> gnubiffs (it's using the newer gnome notifications system).
> - Unfortunately mail-notification itself does not work for either of my
> imap accounts, it worked for the first test only, after that it never shows
> me any notification of new mails, and for my work account that requires ssl
> it simply says it cannot login.
> - In gnubiff if you want to force it to check for new mail right now you
> just click on the gnubiff icon. Since mail-notification shows no icon when
> there's no new mail you can't do this, so if you want to force it to check
> for
> mail, you have to run mail-notification -u in a terminal (which doesn't
> work, in line with mail-checking in general not working).
>
> There's a long list of more linux mail-notification programs here, but
> nothing
> that looks more promising than the above two:
>
> http://www.linuxlinks.com/Software/Internet/Mail/Notification/index.shtml
>
> This Python script for checking email through the system monitor tool conky
> looks promising:
>
> http://ubuntuforums.org/showthread.php?t=869771
>
> For now I think I'm content with gnubiff and its cutesiness.
# Gmail
# -----
set imap_user = me@xxxxxxxxxxxxxx
set imap_pass = password
set smtp_url = smtp://me@xxxxxxxxxxxxxx:587/
set smtp_pass = password
set from = me@xxxxxxxxxxxxxx
set realname = me
set folder = imaps://imap.gmail.com:993
set spoolfile = imaps://imap.gmail.com:993/INBOX
set postponed= +[Gmail]/Drafts
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set sort = threads
set sort_aux = last-date-received
set imap_check_subscribed
# Dealing with HTML messages and attachments (Word files, images, PDFs...)
# ------------------------------------------------------------------------
# Deal with HTML email and attachments via lynx.
# Note: this requies the following line to be in your .mailcap file:
# text/html; lynx -dump -force_html %s; needsterminal; copiousoutput
set implicit_autoview
auto_view text/html application/x-pgp-message
set mailcap_path="~/.mailcap"
# To deal with word documents via antiword put this in your .mailcap file:
#application/msword; antiword %s ; copiousoutput
# You could also add these lines to your .mailcap file to tell mutt how to
# deal with some other attachments.
# application/pdf; acroread %s
# image/jpeg; xv %s
# image/gif; xv %s &
# image/GIF; xv %s &
# image/JPG; xv %s &
# image/jpg; xv %s &
# Address book
# ------------
set alias_file="~/.muttalias"
source $alias_file
set reverse_alias # Use names from my own address book, if they exist
# Pager view
# ----------
# Pad the screen at the end of the message with ~ to indicate the end of file
set tilde
# Use up and down arrows to scroll up and down with a message
bind pager <up> previous-line
bind pager <down> next-line
# Message headers in pager view
# -----------------------------
ignore * # First, ignore all headers.
# In the next line we specify which ones we'd like to see.
unignore From: To Reply-To Subject X-Mailer X-Mailing-List Posted-To
X-Newsreader Cc Date Organisation Organization
#Order in which the headers are presented.
hdr_order From: Date: To: Cc: Subject
# Color settings
# --------------
# From the Woodnotes guide:
# > In general, this provides a black background, white text, attachment labels
# > in yellow, quoted text in green, and deleted messages in red. In addition,
# > email addresses and URLs are highlighted in bright colors in the message
# > body.
color normal white black
color attachment brightyellow black
color hdrdefault cyan black
color indicator black cyan
color markers brightred black
color quoted green black
color signature cyan black
color status brightgreen blue
color tilde blue black
color tree red black
color index red black ~D
color index magenta black ~T
# Bright colours in message headers.
color header brightgreen black ^From:
color header brightcyan black ^To:
color header brightcyan black ^Reply-To:
color header brightcyan black ^Cc:
color header brightblue black ^Subject:
# Highlight email addresses in message bodies.
color body brightblue black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
# Highlight URLs in message bodies.
color body brightblue black (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+