Evgeni Golov: Desktop in a shell: mutt
Continuing my series about a desktop in a shell, today I will present you my mutt setup. I use mutt because it has no bugs and is a really good MUA for people loving consoles ;)First of all you have to know, that all my mail is forwarded to my server and sorted into Maildirs via maildrop, so I do not care about sorting on my desktop , which just fetches the mail via IMAP from the server ;)I m running mutt-patched from Debian Squeeze, so not all options may be available for you if you do not have the same patchset as I do.First, tell mutt to fetch mail from imap.die-welt.net via IMAP:set imap_user=username set imap_pass=password set folder="imaps://imap.die-welt.net/INBOX" set spoolfile="imaps://imap.die-welt.net/INBOX"Now, enable IMAP-IDLE, list subscribed folders, reconnect to the server if needed and mark mail as read when you open it:
set imap_idle set imap_check_subscribed unset imap_passive unset imap_peekLet mutt save sent mail to the Sent directory on the IMAP server, and postponed mail to Drafts:
set record=+Sent set postponed=+DraftsRead mail should stay where it is:
set mbox="!"We use IMAP-IDLE, thus check for new mail manually only every 90 seconds:
set mail_check=90Instead timeout after 15 seconds if no user input is given:
set timeout=15Set default mail from address to my default mail address:
set from=evgeni@golov.deAnd send mail via mstmp (see below for mstmp configuration):
set sendmail="/usr/bin/msmtp"Tell mutt which addresses I recieve mail to (danger, ugly regex!):
alternates (evgeni@(debian.org golov.(de eu)) sargentd@(die-welt sargentd).net evgeni.golov@uni-duesseldorf.de)As mutt knows where I receive mail, let it set From accordingly:
set reverse_nameLet mutt cache some stuff and find its certificates:
set header_cache="~/.mutt/cache/headers" set message_cachedir="~/.mutt/cache/bodies" set certificate_file=~/.mutt/certificates set ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crtShow only interesting headers in an useful order:
ignore headers * unignore headers from to subject date cc hdr_order from to cc subject dateFix stupid MUAs behaviour (e.g. filenames like
=?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?=):set rfc2047_parametersBeep on new mail, will generate a ! in the window name in screen:
set beep_newmutt-patched has the great sidebar patch, assign ctrl-n, ctrl-p to select next, prev folder, ctrl-o to open selected folder:
bind index \Cp sidebar-prev bind index \Cn sidebar-next bind index \Co sidebar-openAnd toggle sidebar visibility with ctrl-b:
macro index \Cb '<enter-command>toggle sidebar_visible<enter><refresh>' macro pager \Cb '<enter-command>toggle sidebar_visible<enter><redraw-screen>'Since 1.5.20-2, mutt patched contains my sidebar-dotted and sidebar-sorted patches.
Let mutt shorten the displayed path (e.g.
debian-devel instead of INBOX.ml.debian-devel) and sort the folders (the are returned in random order when using imap_check_subscribed):set sidebar_shortpath set sidebar_sortNow let s set some colors (that match the rest of my desktop ):
color sidebar_new yellow default color normal white default color hdrdefault brightcyan default color signature green default color attachment brightyellow default color quoted green default color quoted1 white default color tilde blue defaultAnd add some useful macros for marking new and old messages as read:
macro index .n "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<clear-flag>*" "Catchup all new messages" macro index .o "<tag-pattern>~O<enter><tag-prefix><clear-flag>O<clear-flag>*" "Catchup all old messages"When forwarding mail, I like it to be forwarded as an attachment (YMMV):
set mime_forward=yesI m using goobook in mutt to fetch my addressbook from Google. As there is no Debian package for goobook (yet), you have to install it yourself (via
easy_install):apt-get install python-argparse python-gdata python-simplejson python-keyring python-nose easy_install goobookConfiguration is easy via
~/.goobookrc:[DEFAULT] # If not given here, email and password is taken from .netrc using # machine google.com email: me@gmail.com password: passwordAnd then add the following to your
.muttrc:set query_command="goobook query '%s'" bind editor complete-query macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"That s all for mutt, but We are running mutt in a screen, so let s add the following to
.screenrc to fix transparency and cut&paste (see http://wiki.mutt.org/?MuttFaq/Appearance):defbce on term screen-bceAnd as mutt uses mstmp (yes, I know, mutt can handle SMTP itself ), this is my
.msmtprc:defaults domain dorei.kerker.die-welt.net tls on account die-welt.net host smtp.die-welt.net from sargentd@die-welt.net auth on user username password password tls_starttls on tls_certcheck off # Set a default account account default : die-welt.netC est tout! That is my personal mutt configuration, you can download it as one file here: my .muttrc. And as everyone loves screenshots, here is one:
Oh, the next chapter will be about irssi, but not before next Sunday (March 6th) as I ll be offline for a week, skiing in Austria :)
I have been packaging for

At the
Thanks to those nice people at Novell and
Collabora,
Another week is over and it's time to look again at state of
Packaging updates
Debian patch tracker
Finally got around to fixing a couple post-release (and older) issues
in the
Enough news to release another Debian XSF News issue, after less
than a week.
(Non-Debian readers can stop reading now, I'm talking about so-called
"orphaned packages" and not anything of real-world importance.)
In 2008 I stopped maintaining non-native packages in Debian. At the time
I maintained a fair amount of stuff. It's interesting to see what happened
to it after I gave it up, partly because some of the results seem so
random and partly because some of what has happened seems to point
at weaknesses in Debian.
First, the success stories. More than half of my packages are now being
maintained by others: xaos, longrun, fbreader, liblinebreak,
analog, xgalaga, znc, sysnews, metastore, bsdgames, uqm, oneko, kobodeluxe,
archivemail, unclutter I still use much of this stuff, some only
occasionally, and other daily, and am glad it's being kept alive.
(It's surprising that someone still care about longrun.)
I was unhappy to have to NMU procmeter3 just before the release
of Debian 6.0 to fix a trivial to debug RC bug that almost got it removed
from the release. I hope that was just a bump in its road.
Also, splitvt is now maintained again after being orphaned a long
time. I'm not sure if it makes sense to keep it in Debian, since screen can
do the same thing, and it has a security history, but someone wants
to, so that's fine.
Two packages are left on life support. I'm surprised nobody wants
to maintain grepmail, unless we're all using notmuch or mairix
now? And dgen is the best Sega emulator I know of.
Several games were not picked up by the games team, despite
them showing some interest originally, and were removed: xtris, xjewel,
xemeraldia, xbl Of those, xemeraldia in particular is a lot of fun,
I'm surprised nobody cared to keep it. Also, the nestra Nintendo
emulator was shipped with squeeze, but now is removed as it never got
a maintainer. I don't know if there is a better NES emulator in Debian.
The intercal programming language was removed. Surprising. Debian
does at least still have clc-intercal for all our pressing Intercal
needs.
Finally, sparkline-php was removed today despite never having
had any bugs, needing no maintenance, and being a suggests of ikiwiki,
which is now more buggy (broken relationships, outdated docs) and
less featureful in Debian.
There are many ways to run some commands simultaneously on multiple
hosts like
Thank you
Yesterday Conrad Sanderson released version 1.1.4 of his
Some projects have historically sucked; they've been incomplete, they've been hard to use, they've had poor documentation, or they've had regular security issues.
Over time projects that started off a little poorly can, and often do, improve. But their reputation is usually a long time in improving.
For me? Personally? PHPMyAdmin is a security nightmare. So while it is nice to read about it gaining the ability to be themed, and even receiving submissiosn from users (a rare thing for projects to receive such external contributions) I just find it hard to care.
I see PHPMyAdmin written in a blog, in a news article, or on a users machine and I just think :
I recently ended up acquiring a Windows 7 Professional license. While I rarely have a need for Windows, that one rare instance is important. Many of the bank's web interfaces are tightly dependent on IE. I do have a copy of CrossOver but that doesn't help much. Most times, IE crashes when trying to render pages. Must be having some OLE dependency.
So I convinced myself to install Windows7. For my banking needs and also to catch-up on how that platform has been doing. From my limited usage, my current impression has been that Windows 7 is a great revive. [passwordless] sudo is conceptually implemented into Windows 7. I'm not sure how good that would be given that most users would have the tendency to just click on 'Yes' without paying attention to the pop-up. Anyways.....I installed Windows 7 onto one of my spare partitions to get the full experience (than doing it in a VM image).
