Changes

Jump to: navigation, search

Mutt

2,035 bytes added, 16:02, 2 June 2020
References
= Mutt VT"''All mail clients suck. This one just sucks less.''"<ref>http:/Google Mail Setup =/www.mutt.org/</ref>
This will cover basic mutt configuration files '''Mutt''' is a [[w:text user interface|text-based]] [[w:email client|email client]] for connecting to VT webmail[[w:Unix-like|Unix-like]] systems. VT recommends using POP until It was originally written by Michael Elkins in 1995 and released under the quota system is in place because POP will store local copies, but IMAP still works[[w:GNU General Public License|GPL]] version 2 or any later version.<ref>https://en. These settings will get mutt working with VT's email servers, but there are other settings you probably want if you are unfamiliar with muttwikipedia.org/wiki/Mutt_%28email_client%29</ref>
== IMAP ==Anything in all caps should be replaced with your information<pre>set imap_user = "PID@vtMutt was originally designed as a [[w:Mail User Agent|Mail User Agent]] (MUA) and relied on locally accessible mailbox and [[w:sendmail|sendmail]] infrastructure.edu"set imap_pass = According to the Mutt homepage "PASSWORD"set though written from = scratch, Mutt's initial interface was based largely on the [[w:Elm (email client)|ELM mail client]]"PID@vt.edu"set folder = "imapsNew to Mutt were message scoring and threading capabilities. Support for fetching and sending email via various protocols such as [[w:POP3|POP3]], [[w:IMAP|IMAP]] and [[w://imapSimple Mail Transfer Protocol|SMTP]] was added later.vtMutt relies on external tools for composing and filtering messages.edu:993"set spoolfile == Mutt VT/Google Mail Setup = "+Inbox"set hostname = vt.eduset postponed = "+Drafts"set record = VT email lives in Google GSuite (i.e. gmail). Because GSuite is deprecating "+Sentless secure devices/app-passwords",</pre>you will need to use IMAP and SMTP with the XOAUTH2 authentication method.
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]]
folder-hook $folder 'source ~/.mutt/vtluug'
</pre>
 
== Local Mail on acidburn ==
 
This is how one would read and send local mail on acidburn. This is a fully functional <code>.muttrc</code>, however we
would suggest setting your mutt editor, setting your encoding preference (UTF-8), and changing keybindings to preference.
 
 
<pre>
set mbox_type=Maildir #acidburn uses maildirs
set folder=$HOME/Maildir
set spoolfile=+/
set header_cache=~/.cache/mutt #optional; header caching speeds things up
 
set my_user=wadsworth
 
set realname = "Wadsworth Luugbot"
set from = wadsworth@vtluug.org
set use_from = yes
 
# This is needed if you want to send from another ldapified server
#set smtp_url=smtps://$my_user:$my_pass@acidburn.vtluug.org:587
#set ssl_force_tls = yes
</pre>
 
== References ==
[[Category:Howtos]]
[[Category:Software]]
[[Category:Mail clients]]
[[Category:Needs restoration]]

Navigation menu