Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Mutt

871 bytes added, 16:02, 2 June 2020
References
"''All mail clients suck. This one just sucks less.''"<ref>{{Cite web |url=http://www.mutt.org/ |title=The Mutt E-Mail Client |accessdate=2016-02-13 |first1=Michael R. |last1=Elkins |first2=Jeremy |last2=Blosser |date=2016-02-13 |postscript=<!--None--> }}</ref>
= '''Mutt VT''' is a [[w:text user interface|text-based]] [[w:email client|email client]] for [[w:Unix-like|Unix-like]] systems. It was originally written by Michael Elkins in 1995 and released under the [[w:GNU General Public License|GPL]] version 2 or any later version.<ref>https:/Google Mail Setup =/en.wikipedia.org/wiki/Mutt_%28email_client%29</ref>
This will cover basic mutt configuration files for connecting Mutt was originally designed as a [[w:Mail User Agent|Mail User Agent]] (MUA) and relied on locally accessible mailbox and [[w:sendmail|sendmail]] infrastructure. According to VT webmail. VT recommends using POP until the quota system is in place because POP will store local copiesMutt homepage "though written from scratch, but IMAP still works. These settings will get mutt working with VTMutt's initial interface was based largely on the [[w:Elm (email serversclient)|ELM mail client]]". New to Mutt were message scoring and threading capabilities. Support for fetching and sending email via various protocols such as [[w:POP3|POP3]], but there are other settings you probably want if you are unfamiliar with mutt[[w:IMAP|IMAP]] and [[w:Simple Mail Transfer Protocol|SMTP]] was added later. Mutt relies on external tools for composing and filtering messages.
== IMAP Mutt VT/Google Mail Setup ==Anything VT email lives in all caps should be replaced with your information<pre>set imap_user = "PID@vtGoogle GSuite (i.e.edu"set imap_pass = "PASSWORD"set from = "PID@vtgmail).edu"set folder = Because GSuite is deprecating "imaps:/less secure devices/imap.vt.edu:993app-passwords",set spoolfile = "+Inbox"set hostname = vtyou will need to use IMAP and SMTP with the XOAUTH2 authentication method.eduset postponed = "+Drafts"set record = "+Sent"</pre>
If trash Most mutt users use [[isync|isync/mbsync]] or [[offlineimap]] as imap reader tools. mbsync is compiled into mutt you better;offlineimap has longstanding bugs with conflicting message IDs that can add:cause messages to be deleted, <pre>and it is much easier to configure mbsync with multiple imap accounts, however mbsync's auth pluginset trash = "+Trash"</pre>support is fragile, while offlineimap has built-in XOAUTH2 support.
== POP ==Mutt has some [http://www.mutt.org/doc/manual/#oauth internal] OAUTH support that can be used. Alternately,Coming soonuse an external tool like [https://github.com/cscorley/send.py send.py] as your sendmail drop-in.
== SMTP ==<pre>The caveat of setting up [[OAUTH2]] is that Google has disabled trial credential creation in billedset smtp_url = "smtps://PID@vtaccounts (i.edu@authe.smtpGSuite), so you *cannot* use your VT account to create them.vt.edu:465/"Further, to reduce abuse,set smtp_pass = "PASSWORDGoogle must approve all public apps; a warning pops up if it is not approved, which can only</pre>If be bypassed if you are using GnuTLS in mutt and get an error saying the key is too smallowner of the application. GnuTLS supports 256 AESIn short, but it defaults to 128 when connecting. For this you must create OAUTH credentialswith a non-GSuite google account, add this:your @vt.edu account to the project, and then use it to<pre>set ssl_min_dh_prime_bits = 500</pre>log in.
== LUUGmail ==
Acidburn currently has functional postfix/dovecot. This is how to use it with mutt.
=== IMAP/SMTP for acidburn ===
This is a sample configuration for imap/smtp in mutt for acidburn, provided by [[User:echarlie|echarlie]]
would suggest setting your mutt editor, setting your encoding preference (UTF-8), and changing keybindings to preference.
'''NOTE: storing passwords in cleartext on acidburn is not recommended, nor is storing your pgp key on acidburn so you can decrypt it'''
<pre>
set header_cache=~/.cache/mutt #optional; header caching speeds things up
set my_pass= <your password here>
set my_user=wadsworth
</pre>
== References ==
[[Category:Howtos]]
[[Category:Software]]
[[Category:Mail clients]]
[[Category:Needs restoration]]