Hits : 4062


The Mutt E-Mail Client


http://www.mutt.org


http://www.mutt.org/doc/manual.txt


Installation


$ wget -c ftp://ftp.mutt.org/pub/mutt/devel/mutt-1.5.20.tar.gz
$ tar zxvf mutt-1.5.20.tar.gz
$ cd mutt-1.5.20
$ ./configure
$ make
$ make install

Display informations


mutt -v


mutt -vv

Simple Usage


> mutt -f mailbox

Debug


mutt -d3


Παράγει το εξής αρχείο:


~/.muttdebug0

Help


= Πήγαινε στο πρώτο μήνυμα
* Πήγαινε στο τελευταίο μήνυμα
Έξοδος από την εφαρμογή
Πήγαινε στο επόμενο μη αναγνώσιμο
/ Αναζήτησε μηνύμα με χρήση προτύπου
^D λεκτικο Αναζήτησε όλα τα μηνύματα σύμφωνα με το λεκτικό και σημείωσέ τα προς διαγραφή
Εμφάνιση συναπτόμενων αρχείων
Αποθήκευση μηνύματος / αρχείου
Ταξινόμηση αρχείων
Μαρκάρισμα emails με χρήση pattern
; Εκτέλεση εντολής στα μαρκαρισμένα emails
Διαγραφή μηνύματος
s .* Επιλογή όλων των email !

> mutt -f imap://username:password@server:port/INBOX


top


muttrc


[ebal@myhome ~]€ cat .muttrc


# man 5 muttrc
# mkdir -pv ~/.mutt/cache/headers ~/.mutt/cache/bodies 
# touch ~/.mutt/certificates
 
set header_cache        = "~/.mutt/cache/headers"
set message_cachedir    = "~/.mutt/cache/bodies"
set certificate_file    = "~/.mutt/certificates"
 
# Dont move emails
set move        = no  
# No sent Folder
set copy        = no  
set sort        = threads
set realname    = "Evaggelos Balaskas"
## set editor   = "/usr/bin/mousepad"
 
## set sendmail="/usr/bin/msmtp --host=smtp.example.com --port 587 -f username@example.com"
set smtp_pass   = "1234567890"
set smtp_url    = "smtps://username@example.com:587"
 
# ignore "Authentication-Results:"
# ignore "DomainKey-Signature:"
# ignore "DKIM-Signature:"
 
# Work
set imap_user   = "username"
set imap_pass   = "1234567890"
set spoolfile   = "imaps://imap.example.com/INBOX"
set folder      = "imaps://imap.example.com"
set record      = "imaps://imap.example.com/draft"
set postponed   = "imaps://imap.example.com/draft"

Maildir Vs Mbox


set mbox_type=Maildir

or

set mbox_type=mbox


top


bind keys


bind  index   \t   next-unread
bind  pager  \t   next-unread


top


colors


color attachment brightmagenta black  
color error brightwhite red # errors yell at you in red
color hdrdefault red black   # headers
color indicator brightyellow magenta # currently selected message
color markers brightcyan black  # the + for wrapped pager lines
color message brightcyan black  # informational messages, not mail
color normal white black    # plain text
color quoted green black  # quoted text
color search brightgreen black # hilite search patterns in the pager
color signature red black    # signature (after "— ") is red 
color status brightyellow blue # status bar is yellow *on blue*   
color tilde blue black  # ~'s after message body
color tree red black    # thread tree in index menu is magenta
color signature brightred black
color underline yellow black
color header cyan black ^(From|Subject): # Important headers
color body magenta black "(ftp|http)://[^ ]+"  # picks up URLs
color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ 
 
#  Coloring quoted text – coloring the first 7 levels:
color quoted    cyan black
color quoted1   yellow black
color quoted2   red black
color quoted3   green black
color quoted4   cyan black
color quoted5   yellow black
color quoted6   red black
color quoted7   green black
 
#  Colorize smileys:  :-)  ;-)  :-/  :-(
color body  yellow black "[;:]-[)/(|]"
color body  yellow black "[;:][)/(|]"
color body  green black "[[:alpha:]]\+://[^ ]*"
 
color index brightyellow black ~N      # New color index yellow black ~O              # Old color index magenta black ~F
color index blue black ~T
color index red black ~D

top


mailcap


.mailcap


text/plain;	/usr/bin/mousepad	%s	; copiousoutput
text/html;	        /usr/bin/vimprobable2 %s	; copiousoutput
image/png;	/usr/bin/xv %s			; copiousoutput
image/jpeg;	/usr/bin/xv %s			; copiousoutput
application/pdf;	/usr/bin/epdfview %s	; copiousoutput


top


Auto BCC 


my_hdr Bcc: Evaggelos Balaskas <ebalaskas@ebalaskas.gr>


top



Date


~d [date]
~r [received]


    >offset (messages older than offset units)
    <offset (messages newer than offset units)
    =offset (messages exactly offset units old)


    y years
    m months
    w weeks
    d days


top