User Tools

Site Tools


linux:mutt

Mutt (a command line based Mailclient)

This Article assumes that you already installed and configured Installing postfix

Installing Mutt

yum install mutt

You're already done!

Examples

To just send an E-Mail:

mutt admin@darktemple.ch

Including attachements:

mutt admin@darktemple.ch -a /home/somefile.gz

Generate a whole Mail out of a textfile:

mutt -s "Rsnapshot Hourly" -a /home/some_attachement.txt admin@darktemple.ch < /var/log/rsnapshot.log
switch parameter Description
-a /home/some_attachement.txt attaches the file to the mail
admin@darktemple.ch the reciepient
< /var/log/rsnapshot.log adds the rsnapshot.log to the mail as the mail text

Key shortcuts

Taken from Peters Blog

key effect
c change folder
y Change mailbox (if configured)
w set flags
W remove flags
$ exponge
s move
L List reply
g group reply
t tag mails (to remove or move)

my Config

Here are my config files: mutt.tar

History

skull 2011/07/03 02:46 - Added Key shortcuts
skull 2011/06/04 15:19

linux/mutt.txt · Last modified: 2012/12/26 20:32 by skull@darktemple.ch