Mutt text email client
- I like to store my email in Maildir format, one file per email.
Add this to homedir .muttrc from http://www.elho.net/mutt/maildir/
#First tell Mutt to use the
# Maildir format:
set mbox_type=Maildir
# Next configure the locations of the common folders:
set folder="~/Maildir"
set mask="!^\\.[^.]"
set mbox="~/Maildir"
set record="+.Sent"
set postponed="+.Drafts"
set spoolfile="~/Maildir"
# Set up mailboxes by scanning for all subfolders in ~/Maildir:
mailboxes `echo -n "+ "; find ~/Maildir -maxdepth 1 -type d -name ".*" -printf "+'%f' "`
# Note that this requires find(1) from the GNU findutils,
# which on BSD systems
# usually is installed as gfind(1).
# Add macros to make the folder browser usable by always using the mailboxes
# setup above:
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
# To additionally get straight to the folder browser when copying, moving and
# attaching mail, add the following macros:
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
macro compose A "<attach-message>?<toggle-mailboxes>" "attach message(s) to this message"
# License
#
# This document is free documentation; you can redistribute it and/or modify it under
# the terms of the
# GNU General Public License
# as published by the Free Software Foundation;
# either version 2 of the License, or (at your option) any later version.
# Original from http://www.elho.net/mutt/maildir/