diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2019-04-01 22:44:54 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-04-02 09:53:56 -0600 |
commit | bb08dbb36a7ad0a7d68f111bbffce4dd92b0ca75 (patch) | |
tree | b7e0af54784010f89366b249c18f1517629470e2 /Documentation | |
parent | 4ed38de756c9e7562ce313e21148a4d877ab861f (diff) | |
download | linux-bb08dbb36a7ad0a7d68f111bbffce4dd92b0ca75.tar.gz linux-bb08dbb36a7ad0a7d68f111bbffce4dd92b0ca75.tar.bz2 linux-bb08dbb36a7ad0a7d68f111bbffce4dd92b0ca75.zip |
docs/zh_CN: Update mutt setting info in email-clients
Update mutt setting info into Chinese.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Harry Wei <harryxiyou@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/translations/zh_CN/process/email-clients.rst | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/translations/zh_CN/process/email-clients.rst b/Documentation/translations/zh_CN/process/email-clients.rst index e7751f3bde25..d600ff5074f6 100644 --- a/Documentation/translations/zh_CN/process/email-clients.rst +++ b/Documentation/translations/zh_CN/process/email-clients.rst @@ -144,10 +144,47 @@ Mutt不自带编辑器,所以不管你使用什么编辑器都不应该带有 如果想要把补丁作为内嵌文本。 (a)ttach工作的很好,不带有"set paste"。 +你可以通过 ``git format-patch`` 生成补丁,然后用 Mutt发送它们:: + + $ mutt -H 0001-some-bug-fix.patch + 配置选项: 它应该以默认设置的形式工作。 然而,把"send_charset"设置为"us-ascii::utf-8"也是一个不错的主意。 +Mutt 是高度可配置的。 这里是个使用mutt通过 Gmail 发送的补丁的最小配置:: + + # .muttrc + # ================ IMAP ==================== + set imap_user = 'yourusername@gmail.com' + set imap_pass = 'yourpassword' + set spoolfile = imaps://imap.gmail.com/INBOX + set folder = imaps://imap.gmail.com/ + set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" + set postponed="imaps://imap.gmail.com/[Gmail]/Drafts" + set mbox="imaps://imap.gmail.com/[Gmail]/All Mail" + + # ================ SMTP ==================== + set smtp_url = "smtp://username@smtp.gmail.com:587/" + set smtp_pass = $imap_pass + set ssl_force_tls = yes # Require encrypted connection + + # ================ Composition ==================== + set editor = `echo \$EDITOR` + set edit_headers = yes # See the headers when editing + set charset = UTF-8 # value of $LANG; also fallback for send_charset + # Sender, email address, and sign-off line must match + unset use_domain # because joe@localhost is just embarrassing + set realname = "YOUR NAME" + set from = "username@gmail.com" + set use_from = yes + +Mutt文档含有更多信息: + + http://dev.mutt.org/trac/wiki/UseCases/Gmail + + http://dev.mutt.org/doc/manual.html + Pine (TUI) ~~~~~~~~~~ |