aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Kovsky <ewk@edkovsky.org>2015-11-06 01:25:35 -0500
committerJonathan Corbet <corbet@lwn.net>2015-11-11 12:55:41 -0500
commit91633a6dc7cb49ae7c3d268e183ddc905e739fff (patch)
tree9cc146e5f3a669e03b37ef94212b3529fcadecc2
parent803cfe2635cff6ea2147dc1065b5bd0bb98c6394 (diff)
Documentation: Add minimal Mutt config for using Gmail
This patch provides a minimal configuration to set up Mutt for submitting plain text patches using Gmail. Signed-off-by: Eddie Kovsky <ewk@edkovsky.org> Reviewed-by: Darren Hart <dvhart@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/email-clients.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
index 3c2f7acf5701..a6e91506fd88 100644
--- a/Documentation/email-clients.txt
+++ b/Documentation/email-clients.txt
@@ -185,6 +185,38 @@ It should work with default settings.
185However, it's a good idea to set the "send_charset" to: 185However, it's a good idea to set the "send_charset" to:
186 set send_charset="us-ascii:utf-8" 186 set send_charset="us-ascii:utf-8"
187 187
188Mutt is highly customizable. Here is a minimum configuration to start
189using Mutt to send patches through Gmail:
190
191# .muttrc
192# ================ IMAP ====================
193set imap_user = 'yourusername@gmail.com'
194set imap_pass = 'yourpassword'
195set spoolfile = imaps://imap.gmail.com/INBOX
196set folder = imaps://imap.gmail.com/
197set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
198set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
199set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
200
201# ================ SMTP ====================
202set smtp_url = "smtp://username@smtp.gmail.com:587/"
203set smtp_pass = $imap_pass
204set ssl_force_tls = yes # Require encrypted connection
205
206# ================ Composition ====================
207set editor = `echo \$EDITOR`
208set edit_headers = yes # See the headers when editing
209set charset = UTF-8 # value of $LANG; also fallback for send_charset
210# Sender, email address, and sign-off line must match
211unset use_domain # because joe@localhost is just embarrassing
212set realname = "YOUR NAME"
213set from = "username@gmail.com"
214set use_from = yes
215
216The Mutt docs have lots more information:
217 http://dev.mutt.org/trac/wiki/UseCases/Gmail
218 http://dev.mutt.org/doc/manual.html
219
188~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
189Pine (TUI) 221Pine (TUI)
190 222