Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eddie Kovsky and committed by
Jonathan Corbet
91633a6d 803cfe26

+32
+32
Documentation/email-clients.txt
··· 185 185 However, it's a good idea to set the "send_charset" to: 186 186 set send_charset="us-ascii:utf-8" 187 187 188 + Mutt is highly customizable. Here is a minimum configuration to start 189 + using Mutt to send patches through Gmail: 190 + 191 + # .muttrc 192 + # ================ IMAP ==================== 193 + set imap_user = 'yourusername@gmail.com' 194 + set imap_pass = 'yourpassword' 195 + set spoolfile = imaps://imap.gmail.com/INBOX 196 + set folder = imaps://imap.gmail.com/ 197 + set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" 198 + set postponed="imaps://imap.gmail.com/[Gmail]/Drafts" 199 + set mbox="imaps://imap.gmail.com/[Gmail]/All Mail" 200 + 201 + # ================ SMTP ==================== 202 + set smtp_url = "smtp://username@smtp.gmail.com:587/" 203 + set smtp_pass = $imap_pass 204 + set ssl_force_tls = yes # Require encrypted connection 205 + 206 + # ================ Composition ==================== 207 + set editor = `echo \$EDITOR` 208 + set edit_headers = yes # See the headers when editing 209 + set charset = UTF-8 # value of $LANG; also fallback for send_charset 210 + # Sender, email address, and sign-off line must match 211 + unset use_domain # because joe@localhost is just embarrassing 212 + set realname = "YOUR NAME" 213 + set from = "username@gmail.com" 214 + set use_from = yes 215 + 216 + The 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 189 221 Pine (TUI) 190 222