Difference between revisions of "Mutt"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Echarlie
(Mutt Mail Setup)
imported>Echarlie
Line 32: Line 32:
 
<pre>
 
<pre>
 
set ssl_min_dh_prime_bits = 500
 
set ssl_min_dh_prime_bits = 500
 +
</pre>
 +
 +
= LUUGmail =
 +
== IMAP/SMTP for acidburn ==
 +
<pre>
 +
set realname = 'Wadsworth Luugbot'
 +
set imap_user=wadsworth #this should be your LDAP account name
 +
set imap_pass=$my_luug_pass #whatever your LUUG password is. Here we used a personal variable
 +
set ssl_force_tls=yes
 +
set ssl_starttls=yes
 +
 +
set folder = "imap://$imap_user@acidburn.vtluug.org:143/"
 +
set spoolfile = +INBOX
 +
set postponed = +Drafts
 +
set record = +sent
 +
set imap_check_subscribed
 +
 +
set pgp_sign_as = "wadsworth@vtluug.org" # If you like pgp-signing things
 +
 +
set from = "wadsworth@vtluug.org" #### THIS IS IMPORTANT ####
 +
set use_from = yes
 +
set smtp_url=smtp://$imap_user:$imap_pass@acidburn.vtluug.org:587
 +
 +
# this is for if you use multiple accounts. The ssl settings are necessary since we don't have a
 +
# certified tls key right now
 +
account-hook $folder "set imap_user=$imap_user imap_pass=$imap_pass ssl_verify_dates=no ssl_verify_host=no"
 
</pre>
 
</pre>
  
 
[[Category:Howtos]]
 
[[Category:Howtos]]
 
[[Category:Mail clients]]
 
[[Category:Mail clients]]

Revision as of 23:06, 13 February 2016

Mutt VT/Google Mail Setup

This will cover basic mutt configuration files for connecting to VT webmail. VT recommends using POP until the quota system is in place because POP will store local copies, but IMAP still works. These settings will get mutt working with VT's email servers, but there are other settings you probably want if you are unfamiliar with mutt.

IMAP

Anything in all caps should be replaced with your information

set imap_user = "PID@vt.edu"
set imap_pass = "PASSWORD"
set from = "PID@vt.edu"
set folder = "imaps://imap.vt.edu:993"
set spoolfile = "+Inbox"
set hostname = vt.edu
set postponed = "+Drafts"
set record = "+Sent"

If trash is compiled into mutt you can add:

set trash = "+Trash"

POP

Coming soon...

SMTP

set smtp_url = "smtps://PID@vt.edu@auth.smtp.vt.edu:465/"
set smtp_pass = "PASSWORD

If you are using GnuTLS in mutt and get an error saying the key is too small. GnuTLS supports 256 AES, but it defaults to 128 when connecting. For this you must add this:

set ssl_min_dh_prime_bits = 500

LUUGmail

IMAP/SMTP for acidburn

set realname = 'Wadsworth Luugbot'
set imap_user=wadsworth #this should be your LDAP account name
set imap_pass=$my_luug_pass #whatever your LUUG password is. Here we used a personal variable
set ssl_force_tls=yes
set ssl_starttls=yes

set folder = "imap://$imap_user@acidburn.vtluug.org:143/"
set spoolfile = +INBOX
set postponed = +Drafts
set record = +sent
set imap_check_subscribed

set pgp_sign_as = "wadsworth@vtluug.org" # If you like pgp-signing things

set from = "wadsworth@vtluug.org" #### THIS IS IMPORTANT ####
set use_from = yes
set smtp_url=smtp://$imap_user:$imap_pass@acidburn.vtluug.org:587

# this is for if you use multiple accounts. The ssl settings are necessary since we don't have a
# certified tls key right now
account-hook $folder "set imap_user=$imap_user imap_pass=$imap_pass ssl_verify_dates=no ssl_verify_host=no"