Debian Codegraph @

man-pages/zh_CN/man1/calibre-smtp.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "CALIBRE-SMTP" "1" "九月 18, 2026" "9.15.0" "calibre"
32 .SH NAME
33 calibre-smtp \- calibre-smtp
34 .INDENT 0.0
35 .INDENT 3.5
36 .sp
37 .EX
38 calibre\-smtp [选项] [from to和文本]
39 .EE
40 .UNINDENT
41 .UNINDENT
42 .sp
43 使用SMTP协议发送邮件。\fBcalibre\-smtp\fP 有两种操作模型。在“撰写”模式中,
44 您可以指定“from to ”和“正文”,它们用于撰写和发送电子邮件。在筛选
45 模式下,\fBcalibre\-smtp\fP 从STDIN读取完整的电子邮件正文在内的信息并发送。
46 \(aq文本\(aq是电子邮件的正文。
47 如果未指定文本,则会从STDIN读取完整的含正文的电子邮件。“from”是发件人的
48 电子邮件地址,“to ”是收件人的电子邮件地址。 当从STDIN读取完整的
49 电子邮件内容时,仅在SMTP协商中使用“from”和“to”电子邮件,不修改邮件头。
50 .sp
51 每当您将包含空格的参数传递给%p程序时,请将参数放在引号中。例如: \(dq/some path/with spaces\(dq
52 .SH [选项]
53 .INDENT 0.0
54 .TP
55 .B \-\-fork, \-f
56 在后台发送邮件。如果使用此选项, 还应使用 \fB\-\-outbox\fP 处理发送失败的邮件。
57 .UNINDENT
58 .INDENT 0.0
59 .TP
60 .B \-\-help, \-h
61 显示此帮助信息并退出
62 .UNINDENT
63 .INDENT 0.0
64 .TP
65 .B \-\-localhost, \-l
66 本机(localhost)的主机名。连接到SMTP服务器时使用。
67 .UNINDENT
68 .INDENT 0.0
69 .TP
70 .B \-\-outbox, \-o
71 邮件文件夹中存储发送失败的电子邮件的路径。
72 .UNINDENT
73 .INDENT 0.0
74 .TP
75 .B \-\-timeout, \-t
76 连接超时
77 .UNINDENT
78 .INDENT 0.0
79 .TP
80 .B \-\-verbose, \-v
81 更详细
82 .UNINDENT
83 .INDENT 0.0
84 .TP
85 .B \-\-version
86 显示程序版本号并退出
87 .UNINDENT
88 .SS COMPOSE MAIL
89 .sp
90 撰写电子邮件的选项。如果正文未设置,将被忽略。
91 .INDENT 0.0
92 .TP
93 .B \-\-attachment, \-a
94 邮件附件
95 .UNINDENT
96 .INDENT 0.0
97 .TP
98 .B \-\-subject, \-s
99 邮件标题
100 .UNINDENT
101 .SS SMTP RELAY
102 .sp
103 使用SMTP中继服务器发送邮件的选项。calibre 将尝试直接发送电子邮件,除非指定了 \-\-relay。
104 .INDENT 0.0
105 .TP
106 .B \-\-cafile
107 一个PEM格式的CA证书文件(用于在使用TLS时验证服务器证书)的路径。默认情况下,使用系统CA证书。
108 .UNINDENT
109 .INDENT 0.0
110 .TP
111 .B \-\-dont\-verify\-server\-certificate
112 在使用TLS连接时不验证服务器证书。这是caliber 3.27版之前的默认方式。如果要使用带有自签名证书或其他无效证书的中继,则可以使用此选项恢复到之前3.27版的方式
113 .UNINDENT
114 .INDENT 0.0
115 .TP
116 .B \-\-encryption\-method, \-e
117 连接到中继服务器时使用的加密方式。选项有 TLS、SSL 和 NONE(无),默认是 TLS。警告:选择NONE十分不安全。
118 .UNINDENT
119 .INDENT 0.0
120 .TP
121 .B \-\-password, \-p
122 中继服务器的密码
123 .UNINDENT
124 .INDENT 0.0
125 .TP
126 .B \-\-port
127 中继服务器的端口。默认是 465(SSL加密)和 25(不加密)。
128 .UNINDENT
129 .INDENT 0.0
130 .TP
131 .B \-\-relay, \-r
132 发送邮件使用的SMTP中继服务器。
133 .UNINDENT
134 .INDENT 0.0
135 .TP
136 .B \-\-username, \-u
137 中继服务器的用户名
138 .UNINDENT
139 .SH Author
140 Kovid Goyal
141 .SH Copyright
142 Kovid Goyal
143 .\" End of generated man page.