User Tools

Site Tools


mutt_configuration_and_basic_use

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mutt_configuration_and_basic_use [2019/02/09 10:31]
127.0.0.1 external edit
mutt_configuration_and_basic_use [2019/08/18 06:03] (current)
D.J.J. Ring Jr. old revision restored (2019/07/31 20:50)
Line 15: Line 15:
 This guide is specifically designed to configure Mutt to work directly with GMail,/imap in a convenient and secure manner, but with minor edits it will work with other popular services such as Yahoo. This guide is specifically designed to configure Mutt to work directly with GMail,/imap in a convenient and secure manner, but with minor edits it will work with other popular services such as Yahoo.
 You will be bl to store your gmail password in an encrypted form as well as digitally sign and encrypt your email. Incoming encrypted messages are decrypted automatically, outgoing mail is digitally signed in clear text, and if you reply to an encrypted message your reply is encrypted by default. You will be bl to store your gmail password in an encrypted form as well as digitally sign and encrypt your email. Incoming encrypted messages are decrypted automatically, outgoing mail is digitally signed in clear text, and if you reply to an encrypted message your reply is encrypted by default.
-  + Two well tested example muttrc 
-Two well tested example muttrc files are provided.  +files are provided. 
- +
----- +
- +
 [[muttrc|example mutt configuration file]] [[muttrc|example mutt configuration file]]
- 
 [[muttrc.ext|an example mutt configuration file with extra functionality]] [[muttrc.ext|an example mutt configuration file with extra functionality]]
- 
----- 
- 
- 
  Please pay attention to the comments and wording of actual settings in the sample muttrc files as they will help you understand behavior and configuration options.  Please pay attention to the comments and wording of actual settings in the sample muttrc files as they will help you understand behavior and configuration options.
 * Important: don't forget to name which ever file you use muttrc, muttrc.ext will not be recognized&used by mutt.  * Important: don't forget to name which ever file you use muttrc, muttrc.ext will not be recognized&used by mutt. 
Line 42: Line 33:
  
 Encrypting your PW.  Encrypting your PW. 
 +Make a folder called ~/.mutt in your home directory, we will put the mutt configuration files there.
 +
 Make a text file named ~/.mutt.pass and put in  Make a text file named ~/.mutt.pass and put in 
 GMail: "your gmail PW" GMail: "your gmail PW"
Line 62: Line 55:
  
 * Tip: You must have the 0X prepended to your key_ID in lines that deal with encryption commands,   * Tip: You must have the 0X prepended to your key_ID in lines that deal with encryption commands,  
-in the signing line note that the ID is used alone. There are some keyboard shortcuts to change to standard gmail folders. I seldom use them, because I have a slightly more complex set of folders and labels, but they can be quite +in the signing line note that the ID is used alone. There are some keyboard shortcuts to change to standard gmail  
 +folders. I seldom use them, because I have a slightly more complex set of folders and labels, but they can be quite 
 handy. If you create new mail folders they will be synced by gmail. Just type shift c "C" and either press enter if you like the location mutt offers, (it may need to be created and mutt will ask if you wish to do so), press the "?" questionmark for a list of existing folders in a tree if appropriate, tab once for an expanded list view, or type the name of an existing mailbox or one you  handy. If you create new mail folders they will be synced by gmail. Just type shift c "C" and either press enter if you like the location mutt offers, (it may need to be created and mutt will ask if you wish to do so), press the "?" questionmark for a list of existing folders in a tree if appropriate, tab once for an expanded list view, or type the name of an existing mailbox or one you 
 want to make. want to make.
Line 92: Line 86:
 ==== Basic Usage ==== ==== Basic Usage ====
 The mutt manual is quite extensive. It is mostly quite clear, but some sections may require more study. The mutt manual is quite extensive. It is mostly quite clear, but some sections may require more study.
-In my sample [[muttrc|muttrc]] file I configure f1 to open it in the lynx browser for easy navigation. If you don't have or don't like lynx change to a text-based browser you have and like.+In my sample [[muttrc]] file I configure f1 to open it in the lynx browser for easy navigation. If you don't have or don't like lynx change to a text-based browser you have and like.
 There are  plenty of good, bad and indifferent howtos an tutorials online, so I'll only list the most essential starter keystrokes here.   There are  plenty of good, bad and indifferent howtos an tutorials online, so I'll only list the most essential starter keystrokes here.  
  
Line 102: Line 96:
  
   - The m key is used to start writing a message. You are asked if you want to continue working on an already started message. If you type y you will be put in to a drafts folder. Other wise you are prompted for who to send the message to and the subject, and then your chosen editor opens to write the message body.    - The m key is used to start writing a message. You are asked if you want to continue working on an already started message. If you type y you will be put in to a drafts folder. Other wise you are prompted for who to send the message to and the subject, and then your chosen editor opens to write the message body. 
-When you are finished do what ever you normally do to exit the editor saving messages, and they use y to send. You can also edit header info, add attachments or spell check if you have set that up from here. For example s puts you in the subject field, t to to, and e reopens the msg body in your editor. Use p to open the pgp menu and change encryption and signing options. To send attachments just type a before sending your message and type the path to the file you wish to attach. Completion works here, so you can just type enough letters to not apply to more than one message and tab and the rest is filled in for you, or use the question mark to open the email folders list, and once used local files and sub folders as well. .+When you are finished do what ever you normally do to exit the editor saving messages, and they use y to send. You can also edit header info, add attachments or spell check if you have set that up from here. For example s puts you in the subject field, t to to, and e reopens the msg body in your editor. Use p to open the pgp menu and change encryption and signing options. To send attachments just type a before sending your message and type the path to the file you wish to attach. Completion works here, so you can just type enough letters to not apply to more than one message and tab and the rest is filled in for you, or use the questionmark to open the email folders list, and once used local files and sub folders as well. .
  
 Once your message has been sent you are put back in the message or message index list where you started. Once your message has been sent you are put back in the message or message index list where you started.
-The following keystrokes can be used in either the pager, i.e. when you have a message open to read, or from the index, message list, as can the keystrokes to reply or start new messages. In a few cases behavior may slightly vary depending on whether you are in an open message or not.  +The following keystrokes can be used in either the pager, i.e. when you have a message open to read, or from the index, message list, as can the keystrokes to reply or start new messages. In a few cases behavior may slightly vary depending on whether you are in anopen message or not.  
  
  * To delete an individual message type d, to delete the whole conversation use ^d. If you screw up and want to undelete use u or ^u to undelete a message or conversation respectively.  * To delete an individual message type d, to delete the whole conversation use ^d. If you screw up and want to undelete use u or ^u to undelete a message or conversation respectively.
Line 126: Line 120:
  
 Mutt has an attachments menu where not only are files you normally think of as attachments are listed. Mutt has an attachments menu where not only are files you normally think of as attachments are listed.
-All parts of the email including signature files and the message body itself appear in the list. In some cases three different files contain the main contents of the email, i.e. the body of the email. This is done to accomidate a wide range of email clients that have different capabilities, and may or may not comply with recognized standards. Typically in these cases you will have a multipart/alternative, plain/text, and text/html. +All parts of the email including signiture files and the message body itself appear in the list. In some cases three different files contain the main contents of the email, i.e. the body of the email. This is done to accomidate a wide range of email clients that have different cababilities, and may or may not comply with recognized standards. Typically in these cases you will have a multipart/alternative, plain/text, and text/html. 
 When the message body is displayed by the pager, i.e. when you enter on an email in the message index, the html version is chosen over the plaintext one if you use either of the sample configuration files linked to in this article. This behavior can be changed by uncommenting a clearly labeled line in the muttrc's.  When the message body is displayed by the pager, i.e. when you enter on an email in the message index, the html version is chosen over the plaintext one if you use either of the sample configuration files linked to in this article. This behavior can be changed by uncommenting a clearly labeled line in the muttrc's. 
 Note that even though html is prefered over plain text the pager shows a dump of the text from the html file. Exactly how this will look depends on your browser configuration, e.g. if you have the browser set to number links a number does appear by the link name in the text shown in the pager. You can not just click on the number to open the link however. One way to open links using urlview is mentioned above. Another method is explained in the following subsection. Note that even though html is prefered over plain text the pager shows a dump of the text from the html file. Exactly how this will look depends on your browser configuration, e.g. if you have the browser set to number links a number does appear by the link name in the text shown in the pager. You can not just click on the number to open the link however. One way to open links using urlview is mentioned above. Another method is explained in the following subsection.
Line 146: Line 140:
 With a bit of practice I think you may find as I have that mutt is one of the faster, if not the fastest/most efficient accessible solution around for most email tasks.     With a bit of practice I think you may find as I have that mutt is one of the faster, if not the fastest/most efficient accessible solution around for most email tasks.    
  
-More tips and tricks, for mutt configuration and usage are welcomed. Please post on the Vinux-support list, or email me privately at +More tips and tricks, for mutt configurattion and usage are welcomed. Please post on the Vinux-support list, or email me privately at 
  
 Wiki <es_vinux@vinuxproject.org> Wiki <es_vinux@vinuxproject.org>
mutt_configuration_and_basic_use.1549668692.txt.gz · Last modified: 2019/02/09 10:31 by 127.0.0.1