2019-03-07

Using mutt-1.4.2.3.tar.gz in CentOS 5.11 & 6.7


After install using: https://billson.blogspot.com/2019/03/centos-install-mutt-1423targz.html

Then execute: /opt/Programs/mutt/bin/mutt



Reference URL:

  1. http://sheet.shiar.nl/mutt (guides on keyboard)

    * to last message
  2. https://github.com/JoshuaEstes/CheatSheets/blob/master/mutt.md (flag message)

    w to choose flag a mail
    ctrl + N Jump to next thread
    ctrl + P Jump to previous thread
  3. https://unix.stackexchange.com/questions/152429/search-in-mutt-by-date-and-time(limit)

    press l, then key in string below:

    ~h 'you header to search' ~d 14/05/2018-31/05/2018
  4. https://bbs.archlinux.org/viewtopic.php?id=131257 (sort email)

    Hey, thanks. The first one did not work for me, but the second (alternate) did, so this would be the correct config:

    set sort=threads
    set sort_browser=date
    set sort_aux=reverse-last-date-received
  5. http://emileswarts.github.io/2011/06/16/reference-sheet-for-mutt-commands.html

    l – show messages matching a pattern
  6. https://unix.stackexchange.com/questions/91046/search-for-mail-content-with-mutt (search message content)

    manual:
    ~b EXPR         messages which contain EXPR in the message body

    eg:
    ~b 'Exception'



Scenario#01: Search emails, with subject contain 'Application error', between 2019 Jan 01-2019 Jan 31, message body contains 'Hello world'

press l, then key in string below:~h 'Application error' ~d 01/01/2019-31/01/2019 ~b 'Hello world'

Scenario#02: apply command to all tagged messages, Search email, key in search criteria, Tag all found message, "move" tagged messages to other mailbox(existing/new)

press l, then key in string below:
~h 'Application error' ~d 01/01/2019-31/01/2019 ~b 'Hello world'
press Shift + t
press enter again with predefined previous search criteria, to tag all found message.
press ;
key in s, then enter
then key in the target mailbox u want to "move"



Connect to a mail file:

mutt -f /var/spool/mail/john


https://www.tecmint.com/send-mail-from-command-line-using-mutt-command/

















No comments:

Google Referrals