Skip to content

Commit

Permalink
docs/zh_CN: Update mutt setting info in email-clients
Browse files Browse the repository at this point in the history
Update mutt setting info into Chinese.

Signed-off-by: Alex Shi <[email protected]>
Cc: Harry Wei <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
alexshi authored and Jonathan Corbet committed Apr 2, 2019
1 parent 4ed38de commit bb08dbb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Documentation/translations/zh_CN/process/email-clients.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]'
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://[email protected]: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 = "[email protected]"
set use_from = yes

Mutt文档含有更多信息:

http://dev.mutt.org/trac/wiki/UseCases/Gmail

http://dev.mutt.org/doc/manual.html

Pine (TUI)
~~~~~~~~~~

Expand Down

0 comments on commit bb08dbb

Please sign in to comment.