Difference between revisions of "Calmail mutt"
(→Using mutt with Calmail) |
(→Using mutt with Calmail) |
||
Line 1: | Line 1: | ||
− | = | + | = Configuring mutt for Calmail = |
+ | '''mutt''' is a powerful command line mail client, capable of using IMAP. | ||
+ | These instructions are not intended as a '''mutt''' tutorial, but for configuring '''mutt''' to use ''IMAP'' with Calmail. | ||
− | + | == .muttrc == | |
− | |||
− | + | The following rudimentary '''.muttrc''' file will allow you to get started. Replace '''LOGIN-NAME''' with your own login name on the Math systems. | |
− | For a complete, working example, take a look at the muttrc file in | + | |
− | ~steve/.mutt | + | |
+ | <pre> | ||
+ | # .muttrc | ||
+ | # | ||
+ | # GLOBAL | ||
+ | # | ||
+ | unset move | ||
+ | set reply_to | ||
+ | set sort=threads | ||
+ | set sort_alias=alias | ||
+ | set sort_aux=last-date-received | ||
+ | set sort_browser=reverse-date | ||
+ | # | ||
+ | # SSL | ||
+ | # | ||
+ | set certificate_file="~/.mutt_certificates" | ||
+ | # | ||
+ | # MAILBOXES | ||
+ | # | ||
+ | mailboxes imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu | ||
+ | mailboxes imap://LOGIN-NAME@mail.math.berkeley.edu/ | ||
+ | # | ||
+ | # KEYS BINDINGS | ||
+ | # | ||
+ | bind index <up> previous-entry | ||
+ | bind index <down> next-entry | ||
+ | bind index <delete> delete-message | ||
+ | |||
+ | bind pager <left> exit | ||
+ | bind pager <right> view-attachments | ||
+ | bind attach <left> exit | ||
+ | bind attach <right> view-attach | ||
+ | |||
+ | bind pager G bottom # just like vi and less | ||
+ | bind attach <enter> view-attach | ||
+ | bind attach <return> view-attach | ||
+ | bind compose <enter> send-message | ||
+ | bind compose <return> send-message | ||
+ | bind index <enter> display-message | ||
+ | bind index <return> display-message | ||
+ | bind pager <enter> next-line | ||
+ | bind pager <return> next-line | ||
+ | </pre> | ||
+ | |||
+ | = Advanced Configuraton = | ||
+ | This section is primarily intended for those who already use '''mutt'''. | ||
+ | In order to use '''mutt''' with Calmail, you'll need to configure some settings in your .muttrc file. Each of the following sections contains commands which should be added to your .muttrc file. For a complete, working example, take a look at the '''muttrc''' file in | ||
+ | '''~steve/.mutt''', which sources several other files in that directory. | ||
== mutt.ssl == | == mutt.ssl == | ||
Line 14: | Line 62: | ||
<pre> | <pre> | ||
## SSL | ## SSL | ||
− | |||
− | |||
# | # | ||
set ssl_starttls | set ssl_starttls | ||
Line 31: | Line 77: | ||
<pre> | <pre> | ||
## IMAP | ## IMAP | ||
− | |||
− | |||
# | # | ||
unset imap_authenticators | unset imap_authenticators | ||
Line 48: | Line 92: | ||
<pre> | <pre> | ||
## MAILBOXES | ## MAILBOXES | ||
− | |||
− | |||
# | # | ||
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/ | mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/ | ||
Line 61: | Line 103: | ||
mailboxes imap://sizemore@calmail.berkeley.edu/ | mailboxes imap://sizemore@calmail.berkeley.edu/ | ||
</pre> | </pre> | ||
− | --[[User:SteveSizemore|Steve Sizemore - Unix System Manager]] | + | |
+ | --[[User:SteveSizemore|Steve Sizemore - Unix System Manager]] 20:09, 24 March 2009 (UTC) |
Revision as of 12:09, 24 March 2009
Contents
Configuring mutt for Calmail
mutt is a powerful command line mail client, capable of using IMAP. These instructions are not intended as a mutt tutorial, but for configuring mutt to use IMAP with Calmail.
.muttrc
The following rudimentary .muttrc file will allow you to get started. Replace LOGIN-NAME with your own login name on the Math systems.
# .muttrc # # GLOBAL # unset move set reply_to set sort=threads set sort_alias=alias set sort_aux=last-date-received set sort_browser=reverse-date # # SSL # set certificate_file="~/.mutt_certificates" # # MAILBOXES # mailboxes imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu mailboxes imap://LOGIN-NAME@mail.math.berkeley.edu/ # # KEYS BINDINGS # bind index <up> previous-entry bind index <down> next-entry bind index <delete> delete-message bind pager <left> exit bind pager <right> view-attachments bind attach <left> exit bind attach <right> view-attach bind pager G bottom # just like vi and less bind attach <enter> view-attach bind attach <return> view-attach bind compose <enter> send-message bind compose <return> send-message bind index <enter> display-message bind index <return> display-message bind pager <enter> next-line bind pager <return> next-line
Advanced Configuraton
This section is primarily intended for those who already use mutt. In order to use mutt with Calmail, you'll need to configure some settings in your .muttrc file. Each of the following sections contains commands which should be added to your .muttrc file. For a complete, working example, take a look at the muttrc file in ~steve/.mutt, which sources several other files in that directory.
mutt.ssl
## SSL # set ssl_starttls set certificate_file="~/.mutt/certificates" set ssl_usesystemcerts set entropy_file="/dev/random" set ssl_use_sslv2 set ssl_use_sslv3 set ssl_use_tlsv1
mutt.imap
## IMAP # unset imap_authenticators set imap_delim_chars="/." set imap_keepalive=600 unset imap_list_subscribed unset imap_pass set imap_passive set imap_peek set imap_servernoise set imap_user=""
mutt.mailboxes
## MAILBOXES # mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/ mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/consult mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/daemon mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/admin mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/cfengine mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/cron mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/lscr mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/ucb-sysadmin mailboxes imap://sizemore@calmail.berkeley.edu/
--Steve Sizemore - Unix System Manager 20:09, 24 March 2009 (UTC)