Translation

(itstool) path: sect1/para
When using a static IP address, one should not need to adjust the default configuration. Set the hostname to the assigned Internet name and <application>Sendmail</application> will do the rest.
81/1930
Context English Chinese (Simplified) (zh_CN) State
Use the real email address for <systemitem class="username">root</systemitem>. Enter the <acronym>ISP</acronym>'s outgoing mail relay in place of <systemitem class="fqdomainname">mail.example.com</systemitem>. Some <acronym>ISP</acronym>s call this the <quote>outgoing mail server</quote> or <quote>SMTP server</quote>.
使用真实的电子邮件地址<systemitem class="username">根</systemitem> 。输入<acronym>ISP</acronym>的传出邮件中继代替<systemitem class="fqdomainname"> mail.example.com </systemitem> 。一些<acronym>ISP</acronym>将此称为<quote>对外邮件服务器</quote>或<quote> SMTP服务器</quote> 。
Make sure to disable <application>Sendmail</application>, including the outgoing mail service. See <xref linkend="mail-disable-sendmail"/> for details.
请确保禁用<application>Sendmail</application>,包括外发邮件服务。详情请参阅<xref linkend="mail-disable-sendmail"/>。
<package>mail/ssmtp</package> has some other options available. Refer to the examples in <filename>/usr/local/etc/ssmtp</filename> or the manual page of <application>ssmtp</application> for more information.
<filename>/usr/local/etc/ssmtp</filename> 和 <application>ssmtp</application> 手册页中有 <package>mail/ssmtp</package> 参数的详细说明。
Setting up <application>ssmtp</application> in this manner allows any software on the computer that needs to send mail to function properly, while not violating the <acronym>ISP</acronym>'s usage policy or allowing the computer to be hijacked for spamming.
以这种方式设置<application>ssmtp</application>,可以让计算机上任何需要发送邮件的软件正常运行,同时不会违反<acronym>ISP</acronym>的使用策略,也不会让计算机被垃圾邮件劫持。
Using Mail with a Dialup Connection
在拨号联机使用邮件
When using a static IP address, one should not need to adjust the default configuration. Set the hostname to the assigned Internet name and <application>Sendmail</application> will do the rest.
当使用静态IP地址时,不需要调整默认配置。将主机名设置为指定名称,然后<application>Sendmail</application>就可以完成剩下的工作。
When using a dynamically assigned IP address and a dialup PPP connection to the Internet, one usually has a mailbox on the <acronym>ISP</acronym>'s mail server. In this example, the <acronym>ISP</acronym>'s domain is <systemitem class="fqdomainname">example.net</systemitem>, the user name is <systemitem class="username">user</systemitem>, the hostname is <systemitem class="fqdomainname">bsd.home</systemitem>, and the <acronym>ISP</acronym> has allowed <systemitem class="fqdomainname">relay.example.net</systemitem> as a mail relay.
当使用动态分配的IP地址和拨号PPP连接到互联网时,通常在<acronym>ISP</acronym>的邮件服务器上有一个邮箱。在这个例子中,ISP的域名是<systemitem class="fqdomainname">example.net</systemitem>,用户名是<systemitem class="username">user</systemitem>,主机名是<systemitem class="fqdomainname">bsd.home</systemitem>,并且<acronym>ISP</acronym>允许<systemitem class="fqdomainname">relay.example.net</systemitem>作为邮件中继。
In order to retrieve mail from the <acronym>ISP</acronym>'s mailbox, install a retrieval agent from the Ports Collection. <package>mail/fetchmail</package> is a good choice as it supports many different protocols. Usually, the <acronym>ISP</acronym> will provide <acronym>POP</acronym>. When using user <acronym>PPP</acronym>, email can be automatically fetched when an Internet connection is established with the following entry in <filename>/etc/ppp/ppp.linkup</filename>:
为了从<acronym>ISP</acronym>的邮箱中检索邮件,请在 Ports Collection 中安装一个检索代理(retrieval agent)。<package>mail/fetchmail</package>是个不错的选择,它支持许多不同的协议。通常情况下,<acronym>ISP</acronym>会提供<acronym>POP</acronym>。当使用用户<acronym>PPP</acronym>时,当Internet连接建立后,可以在<filename>/etc/ppp/ppp.linkup</filename>中的以下条目中自动获取电子邮件:
MYADDR:
!bg su user -c fetchmail
MYADDR:
!bg su user -c fetchmail
When using <application>Sendmail</application> to deliver mail to non-local accounts, configure <application>Sendmail</application> to process the mail queue as soon as the Internet connection is established. To do this, add this line after the above <command>fetchmail</command> entry in <filename>/etc/ppp/ppp.linkup</filename>:
当使用<application>Sendmail</application>向非本地账户发送邮件时,请让<application>Sendmail</application>在Internet连接建立后立即处理邮件队列。要做到这一点,请在<filename>/etc/ppp/ppp.linkup</filename>中的<command>fetchmail</command>条目之后添加这一行:
!bg su user -c "sendmail -q"
!bg su user -c "sendmail -q"

Loading…

When using a static IP address, one should not need to adjust the default configuration. Set the hostname to the assigned Internet name and <application>Sendmail</application> will do the rest.
当使用静态IP地址时,不需要调整默认配置。将主机名设置为指定名称,然后<application>Sendmail</application>就可以完成剩下的工作。
a month ago
Browse all component changes

Glossary

English Chinese (Simplified) (zh_CN)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/para
Labels
No labels currently set.
Source string location
book.translate.xml:52256
Source string age
9 months ago
Translation file
books/zh_CN/handbook.po, string 8519