# AUTHOR , YEAR. msgid "" msgstr "" "Project-Id-Version: 0\n" "POT-Creation-Date: 2022-07-30 18:23+0200\n" "PO-Revision-Date: 2021-02-13 06:50+0000\n" "Last-Translator: tao wang \n" "Language-Team: Chinese (Simplified) \n" "Language: zh-CN\n" "MIME-Version: 1.0\n" "Content-Type: application/x-publican; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.5-dev\n" msgid "Postfix" msgstr "Postfix" msgid "Apache" msgstr "Apache" msgid "NFS" msgstr "NFS(网络文件系统)" msgid "Samba" msgstr "Samba" msgid "Squid" msgstr "Squid" msgid "OpenLDAP" msgstr "OpenLDAP(开源轻型目录访问协议)" msgid "SIP" msgstr "SIP(会话发起协议)" msgid "SSL" msgstr "SSL(安全套接字层)" msgid "OpenDKIM" msgstr "OpenDKIM" msgid "SPF" msgstr "SPF(发件人策略框架)" msgid "Network Services: Postfix, Apache, NFS, Samba, Squid, LDAP, SIP, XMPP, TURN" msgstr "网络服务:Postfix、Apache、NFS、Samba、Squid、LDAP、SIP、XMPP、TURN" msgid "Network services are the programs that users interact with directly in their daily work. They are the tip of the information system iceberg, and this chapter focuses on them; the hidden parts they rely on are the infrastructure we already described. They usually require the encryption technology described in ." msgstr "网络服务是用户在日常工作中直接与之互动的程序。它们是信息系统的冰山一角,这一章节将集中阐释;它们所依赖而对用户不可见的部分就是我们已经描述过的基础架构。它们通常需要涉及 中所描述的加密技术。" msgid "Mail Server" msgstr "邮件服务器" msgid "The Falcot Corp administrators selected Postfix for the electronic mail server, due to its reliability and its ease of configuration. Indeed, its design enforces that each task is implemented in a process with the minimum set of required permissions, which is a great mitigation measure against security problems." msgstr "Falcot 公司的管理员选择 Postfix 作为电子邮件服务器,理由是它可靠且易于配置。的确,它的设计强制每个任务以所需要最小的权限在进程中实施,这是针对安全问题的巨大的缓解措施。" msgid "emailserver" msgstr "电子邮件服务器" msgid "emailPostfix" msgstr "电子邮件Postfix" msgid "serveremail" msgstr "服务器电子邮件" msgid "serverSMTP" msgstr "服务器SMTP" msgid "mail server" msgstr "邮件服务器" msgid "SMTP" msgstr "SMTP" msgid "Postfix" msgstr "Postfix" msgid "postfix" msgstr "postfix" msgid "ALTERNATIVE The Exim4 server" msgstr "替代 Exim4 服务器" msgid "Exim" msgstr "Exim" msgid "emailExim" msgstr "电子邮件Exim" msgid "exim4" msgstr "exim4" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/exim4/Exim" msgstr "NFS/etc/exports" msgid "Debian uses Exim4 as the default email server (which is why the initial installation includes Exim4). The configuration is provided by a separate package, exim4-config, and automatically customized based on the answers to a set of Debconf questions very similar to the questions asked by the postfix package." msgstr "Debian 使用 Exim4 作为默认的邮件服务器(这就是为何初始安装中包括 Exim4)。配置工作由另外的软件包 exim4-config 来提供,自动化配置依赖于对 Debconf 的几个问题的回答,这些问题类似于 postfix 软件包所询问的问题。" msgid "The configuration can be either in one single file (/etc/exim4/exim4.conf.template) or split across a number of configuration snippets stored under /etc/exim4/conf.d/. In both cases, the files are used by update-exim4.conf as templates to generate /var/lib/exim4/config.autogenerated. The latter is the file used by Exim4. Thanks to this mechanism, values obtained through Exim's debconf configuration — which are stored in /etc/exim4/update-exim4.conf.conf — can be injected in Exim's configuration file, even when the administrator or another package has altered the default Exim configuration." msgstr "配置可以是单独一个文件(如 /etc/exim4/exim4.conf.template ),或者分割成几个代码段,存储在 /etc/exim4/conf.d/ 之下。在以上两个情况中,文件由 update-exim4.conf 作为模板来使用,从而创建 /var/lib/exim4/config.autogenerated。后者由 Exim4 使用。由于这样的机制,通过 Exim 的 debconf 配置获得的配置值,甚至在管理员或者其包它改变了默认的 Exim 配置的情况下,也可以被注入到 Exim 的配置文件中,其中上述 Exim 的 debconf 配置,存储在 /etc/exim4/update-exim4.conf.conf 中。" msgid "The Exim4 configuration file syntax has its peculiarities and its learning curve; however, once these peculiarities are understood, Exim4 is a very complete and powerful email server, as evidenced by the tens of pages of documentation. " msgstr "Exim4 配置文件的语法有其特殊性和学习曲线;然而一旦理解其特性,Exim4 将会是一个非常完善并且强大的邮件服务器,如其几十页文档所证实的。" msgid "Installing Postfix" msgstr "安装 Postfix" msgid "Postfixinstallation" msgstr "Postfix安装" #, fuzzy #| msgid "serverSMTP" msgid "daemonSMTP" msgstr "服务器SMTP" msgid "The postfix package includes the main SMTP daemon. Other packages (such as postfix-ldap and postfix-pgsql) add extra functionality to Postfix, including access to mapping databases. You should only install them if you know that you need them." msgstr "postfix 软件包包含主要的 SMTP 守护进程。其它软件包(如postfix-ldap 和 postfix-pgsql)为 Postfix 添加了额外的功能,包括访问映射数据库。如果您知道自己需要它们,那么应该安装它们。" msgid "BACK TO BASICS SMTP" msgstr "基本知识 SMTP" #, fuzzy #| msgid "Simple Mail Transfer Protocol" msgid "Simple Mail Transfer ProtocolSMTP" msgstr "Simple Mail Transfer Protocol(简单邮件传输协议)" msgid "SMTP (Simple Mail Transfer Protocol, RFC 5321) is the protocol used by mail servers to exchange and route emails." msgstr "SMTP (简单邮件传输协议,RFC 5321) ,是邮件服务器用来交换和传输电子邮件的协议。" msgid "Several Debconf questions are asked during the installation of the package. The answers allow generating a first version of the /etc/postfix/main.cf configuration file." msgstr "一些 Debconf 问题在包安装时会被问到,相关回答允许生成 /etc/postfix/main.cf 配置文件的首个版本。" msgid "Postfix/etc/postfix/main.cf" msgstr "Postfix/etc/postfix/main.cf" msgid "The first question deals with the type of setup. Only two of the proposed answers are relevant in case of an Internet-connected server, “Internet site” and “Internet with smarthost”. The former is appropriate for a server that receives incoming email and sends outgoing email directly to its recipients, and is therefore well-adapted to the Falcot Corp case. The latter is appropriate for a server receiving incoming email normally, but that sends outgoing email through an intermediate SMTP server — the “smarthost” — rather than directly to the recipient's server. This is mostly useful for individuals with a dynamic IP address, since many email servers reject messages coming straight from such an IP address. In this case, the smarthost will usually be the ISP's SMTP server, which is always configured to accept email coming from the ISP's customers and forward it appropriately. This setup (with a smarthost) is also relevant for servers that are not permanently connected to the internet, since it avoids having to manage a queue of undeliverable messages that need to be retried later." msgstr "第一个问题处理设置的类型。在服务器连接到因特网上的情况下,只有两个建议的回答是相关的,即“Internet site”和“Internet with smarthost”。前者适用于接收到来的电子邮件并直接向收件人发送外发邮件的服务器,因此很适合Falcot公司的情况。后者适用于正常接收到来的电子邮件的服务器,但通过中间的 SMTP 服务器——“smarthost”发送外发邮件,而不是直接发送到收件人的服务器。这对于使用动态 IP 地址的个人来说非常有用,因为许多电子邮件服务器拒绝直接从这样的 IP 地址发送的消息。在这种情况下,smarthost 通常是 ISP 的 SMTP 服务器,它总是被配置为接受来自 ISP 客户的电子邮件,并适当地转发。这种设置(使用 smarthost)对于那些不是永久地连接到因特网上的服务器也是相关的,因为它避免了要管理一个无法投递的邮件队列,而这些邮件需要在以后重新尝试。" msgid "VOCABULARY ISP" msgstr "关键词 ISP" #, fuzzy #| msgid "SIP" msgid "ISP" msgstr "SIP" #, fuzzy #| msgid "ISP, Internet Service Provider" msgid "ISP, Internet Service ProviderISP" msgstr "ISP,因特网服务提供商" msgid "ISP is the acronym for “Internet Service Provider”. It covers an entity, often a commercial company, that provides Internet connections and the associated basic services (email, news and so on)." msgstr "ISP 是“Internet Service Provider”(因特网服务提供商)的首字母缩写。它涵盖了提供因特网连接和相关基础服务(电子邮件、新闻以及等等诸如此类)的实体,通常是商业公司。" msgid "The second question deals with the full name of the machine, used to generate email addresses from a local user name; the full name of the machine ends up as the part after the at-sign (“@”). In the case of Falcot, the answer should be mail.falcot.com. This is the only question asked by default, but the configuration it leads to is not complete enough for the needs of Falcot, which is why the administrators run dpkg-reconfigure postfix so as to be able to customize more parameters." msgstr "第二个问题处理机器的全名,用于从本地用户名生成电子邮件地址;机器的全名最终作为 \"@\" 之后的部分。在 Falcot 公司的情况下,回答应该是 mail.falcot.com 。这是默认询问的唯一问题,但它所导致的配置还不够完整,无法满足 Falcot 公司的需求,这就是为什么管理员运行 dpkg-reconfigure postfix ,以便能够定制更多参数。" msgid "One of the extra questions asks for all the domain names related to this machine. The default list includes its full name as well as a few synonyms for localhost, but the main falcot.com domain needs to be added by hand. More generally, this question should usually be answered with all the domain names for which this machine should serve as an MX server; in other words, all the domain names for which the DNS says that this machine will accept email. This information ends up in the mydestination variable of the main Postfix configuration file — /etc/postfix/main.cf." msgstr "其中一个额外的问题是询问与这台机器相关的所有域名。默认列表包括其全名以及 localhost 的一些同义词,但主要的 falcot.com 域名需要手动添加。更一般的是,这个问题通常应该用这台机器作为 MX 服务器的所有域名来回答,换句话说,就是 DNS 所说的这台机器可以接受电子邮件的所有域名。这些信息最终会出现在 Postfix 主配置文件 /etc/postfix/main.cf 的 mydestination 变量中。" #, fuzzy #| msgid "Postfixreject_unauth_destination" msgid "Postfixmydestination" msgstr "Postfixreject_unauth_destination" msgid "serverMX" msgstr "服务器MX" msgid "MXserver" msgstr "MX服务器" #, fuzzy #| msgid "DNSSRV record" msgid "DNSresource recordMX" msgstr "DNSSRV 记录" msgid "Role of the DNS MX record while sending a mail" msgstr "发送邮件时 DNS MX 记录的角色" msgid "EXTRA Querying the MX records" msgstr "扩展 查询 MX 记录" #, fuzzy #| msgid "DNSSRV record" msgid "DNSresource recordA" msgstr "DNSSRV 记录" #, fuzzy #| msgid "DNSSRV record" msgid "DNSresource recordAAAA" msgstr "DNSSRV 记录" msgid "When the DNS does not have an MX record for a domain, the email server will try sending the messages to the host itself, by using the matching A record (or AAAA in IPv6)." msgstr "当 DNS 中没有域的 MX 记录时,电子邮件服务器将尝试使用匹配的 A 记录(或 IPv6 中的 AAAA),将消息发送到主机本身。" #, fuzzy #| msgid "Postfixpermit_mynetworks" msgid "Postfixmynetworks" msgstr "Postfixpermit_mynetworks" msgid "In some cases, the installation can also ask what networks should be allowed to send email via the machine. In its default configuration, Postfix only accepts emails coming from the machine itself; the local network will usually be added. The Falcot Corp administrators added 192.168.0.0/16 to the default answer. If the question is not asked, the relevant variable in the configuration file is mynetworks, as seen in the example below." msgstr "在某些情况下,安装过程中还可以询问应该允许哪些网络通过机器发送电子邮件。在其默认配置中,Postfix 只接受来自机器本身的电子邮件;通常会添加本地网络。Falcot 公司的管理员将 192.168.0.0/16 添加到默认回答中。如果不询问问题,那么配置文件中的相关变量是 mynetworks ,如下面的示例所示。" msgid "Local email can also be delivered through procmail. This tool allows users to sort their incoming email according to rules stored in their ~/.procmailrc file. Both Postfix and Exim4 suggest procmail by default, but there are alternatives like maildrop or Sieve filters." msgstr "本地邮件也可以通过 procmail 来传递。这个工具允许用户根据存储在 ~/.procmailrc 文件中的规则,对到来的电子邮件进行排序。Postfix 和 Exim4 都建议默认使用 procmail ,但也有其它选择,如 maildrop 或 Sieve 筛选程序。" msgid "procmail" msgstr "procmail" msgid "maildrop" msgstr "maildrop" msgid "emailfiltering" msgstr "电子邮件筛选" msgid "filtering email" msgstr "筛选电子邮件" msgid "After this first step, the administrators got the following configuration file; it will be used as a starting point for adding some extra functionality in the next sections." msgstr "完成第一步后,管理员获得以下配置文件;它将用作下一节中添加一些额外功能的起点。" msgid "Initial /etc/postfix/main.cf file" msgstr "初始 /etc/postfix/main.cf 文件" #, fuzzy #| msgid "Examples/etc/postfix/main.cf" msgid "/etc/etc/postfix/Postfix" msgstr "示例/etc/postfix/main.cf" #, fuzzy #| msgid "" #| "" msgid "" "" msgstr "" "" msgid "SECURITY Snake oil SSL certificates" msgstr "安全 Snake oil SSL 证书" #, fuzzy #| msgid "Postfixtrusted certificates" msgid "certificatesnakeoil certificate" msgstr "Postfix受信任的证书" msgid "The snake oil certificates, like the snake oil “medicine” sold by unscrupulous quacks in old times, have absolutely no value: you cannot rely on them to authenticate the server since they are automatically generated self-signed certificates. However, they are useful to improve the privacy of the exchanges." msgstr "snake oil 证书,像旧时代不道德的江湖郎中贩卖的蛇油 “药物”一样,绝对是没有价值的:不能依赖它们来认证服务器,因为它们是自动生成的自签名证书。然而,它们用于改进交换的私密性。" msgid "In general they should only be used for testing purposes, and normal service must use real certificates. The Let's encrypt initiative offers free and trusted SSL/TLS certificates, which can be generated using the certbot package as described in and then used in postfix like this:" msgstr "通常它们只用于测试的目的,并且正常的服务必须使用真正的证书。Let's encrypt(让我们加密) 方案提供了免费和可信任的 SSL/TLS 证书,可以使用 中描述的 certbot 软件包来生成,然后在 postfix 中使用,像这样:" msgid "Postfixcertbot" msgstr "Postfixcertbot" msgid "Postfixtrusted certificates" msgstr "Postfix受信任的证书" #, fuzzy #| msgid "Postfixtrusted certificates" msgid "certificatetrusted certificate" msgstr "Postfix受信任的证书" msgid "Postfixsmtpd_tls_cert_file" msgstr "Postfixsmtpd_tls_cert_file" msgid "Postfixsmtpd_tls_key_file" msgstr "Postfixsmtpd_tls_key_file" msgid "Postfixsmtpd_tls_CAfile" msgstr "Postfixsmtpd_tls_CAfile" msgid "Postfixsmtpd_tls_CApath" msgstr "Postfixsmtpd_tls_CApath" msgid "Postfixsmtp_tls_CApath" msgstr "Postfixsmtp_tls_CApath" msgid "" "\n" "smtpd_tls_cert_file = /etc/letsencrypt/live/DOMAIN/fullchain.pem\n" "smtpd_tls_key_file = /etc/letsencrypt/live/DOMAIN/privkey.pem\n" "smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt\n" "smtpd_tls_CApath = /etc/ssl/certs\n" "smtp_tls_CApath = /etc/ssl/certs" msgstr "" "\n" "smtpd_tls_cert_file = /etc/letsencrypt/live/DOMAIN/fullchain.pem\n" "smtpd_tls_key_file = /etc/letsencrypt/live/DOMAIN/privkey.pem\n" "smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt\n" "smtpd_tls_CApath = /etc/ssl/certs\n" "smtp_tls_CApath = /etc/ssl/certs" #, fuzzy #| msgid "A different way to generate own certificates is described in ." msgid "A different way to generate your own certificates using your own certificate authority is described in ." msgstr "生成自己的证书的不同方式在 中描述。" msgid "Configuring Virtual Domains" msgstr "配置虚拟域" msgid "Postfixvirtual domain" msgstr "Postfix虚拟域" msgid "domainvirtual" msgstr "域虚拟" #, fuzzy #| msgid "The mail server can receive emails addressed to other domains besides the main domain; these are then known as virtual domains. In most cases where this happens, the emails are not ultimately destined to local users. Postfix provides two interesting features for handling virtual domains." msgid "The mail server can receive mails addressed to other domains besides the main domain; these are then known as “virtual“ domains. In most cases where this happens, the emails are not ultimately destined to local users. Postfix provides two interesting features for handling virtual domains." msgstr "邮件服务器可以接收地址为主域以外的其他域的电子邮件;这些被称为虚拟域。在这样的情况下,电子邮件并不是最终发送给本地用户。Postfix 提供了两个有趣的特性来处理虚拟域。" msgid "CAUTION Virtual domains and canonical domains" msgstr "警告 虚拟域和规范域" #, fuzzy #| msgid "Postfixvirtual domain" msgid "Postfixcanonical domain" msgstr "Postfix虚拟域" #, fuzzy #| msgid "domainvirtual" msgid "domaincanonical" msgstr "域虚拟" msgid "None of the virtual domains must be referenced in the mydestination variable; this variable only contains the names of the “canonical” domains directly associated to the machine and its local users." msgstr "虚拟域不是必须在 mydestination 变量中引用;这个变量只包含直接与机器及其本地用户相联系的“规范”域。" msgid "Virtual Alias Domains" msgstr "虚拟别名域" msgid "aliasvirtual alias domain" msgstr "别名虚拟别名域" #, fuzzy #| msgid "virtual domain" msgid "virtual alias domain" msgstr "虚拟域" msgid "A virtual alias domain only contains aliases, i.e. addresses that only forward emails to other addresses." msgstr "虚拟别名域只包含别名,也就是只将电子邮件转发给其它地址的地址。" msgid "Such a domain is enabled by adding its name to the virtual_alias_domains variable, and referencing an address mapping file in the virtual_alias_maps variable." msgstr "通过将其名称添加到 virtual_alias_domains 变量中,并引用 virtual_alias_maps 变量中的地址映射文件,来启用这样的域。" msgid "Postfixvirtual_alias_domains" msgstr "Postfixvirtual_alias_domains" msgid "Postfixvirtual_alias_maps" msgstr "Postfixvirtual_alias_maps" msgid "" "\n" "virtual_alias_domains = falcotsbrand.com\n" "virtual_alias_maps = hash:/etc/postfix/virtual" msgstr "" "\n" "virtual_alias_domains = falcotsbrand.com\n" "virtual_alias_maps = hash:/etc/postfix/virtual" msgid "The /etc/postfix/virtual file describes a mapping with a rather straightforward syntax: each line contains two fields separated by whitespace; the first field is the alias name, the second field is a list of email addresses where it redirects. The special @domain.com syntax covers all remaining aliases in a domain." msgstr "/etc/postfix/virtual 文件以相当直接的语法来描述映射:每行包含两个由空白字符分开的字段;第一字段是别名,第二个字段是重定向的电子邮件地址列表。特殊的 @domain.com 语法涵盖了域中所有其余的别名。" msgid "Postfix/etc/postfix/virtual" msgstr "Postfix/etc/postfix/virtual" msgid "" "\n" "webmaster@falcotsbrand.com jean@falcot.com\n" "contact@falcotsbrand.com laure@falcot.com, sophie@falcot.com\n" "# The alias below is generic and covers all addresses within\n" "# the falcotsbrand.com domain not otherwise covered by this file.\n" "# These addresses forward email to the same user name in the\n" "# falcot.com domain.\n" "@falcotsbrand.com @falcot.com" msgstr "" "\n" "webmaster@falcotsbrand.com jean@falcot.com\n" "contact@falcotsbrand.com laure@falcot.com, sophie@falcot.com\n" "# The alias below is generic and covers all addresses within\n" "# the falcotsbrand.com domain not otherwise covered by this file.\n" "# These addresses forward email to the same user name in the\n" "# falcot.com domain.\n" "@falcotsbrand.com @falcot.com" msgid "After changing /etc/postfix/virtual the postfix table /etc/postfix/virtual.db needs to be updated using sudo postmap /etc/postfix/virtual." msgstr "在更改 /etc/postfix/virtual后,postfix 表格 /etc/postfix/virtual.db 需要使用 sudo postmap /etc/postfix/virtual 来更新。" msgid "Virtual Mailbox Domains" msgstr "虚拟邮箱域" msgid "mailbox, virtual domain" msgstr "邮箱,虚拟域" #, fuzzy #| msgid "virtual domainvirtual mailbox domain" msgid "domainvirtual mailbox domain" msgstr "虚拟域虚拟邮箱域" msgid "CAUTION Combined virtual domain?" msgstr "警告 组合虚拟域吗?" msgid "Postfix does not allow using the same domain in both virtual_alias_domains and virtual_mailbox_domains. However, every domain of virtual_mailbox_domains is implicitly included in virtual_alias_domains, which makes it possible to mix aliases and mailboxes within a virtual domain." msgstr "Postfix 不允许在 virtual_alias_domains 和 virtual_mailbox_domains 中使用相同的域。然而, virtual_mailbox_domains 的每个域隐性地包含在 virtual_alias_domains 中,它能够在虚拟域中混合别名和邮箱。" msgid "Messages addressed to a virtual mailbox domain are stored in mailboxes not assigned to a local system user." msgstr "发给虚拟邮箱域的消息,存储在没有指定给本地系统用户的邮箱中。" msgid "Enabling a virtual mailbox domain requires naming this domain in the virtual_mailbox_domains variable, and referencing a mailbox mapping file in virtual_mailbox_maps. The virtual_mailbox_base parameter contains the directory under which the mailboxes will be stored." msgstr "启用虚拟邮箱域需要在 virtual_mailbox_domains 变量中命名这个域,并且引用 virtual_mailbox_maps 中的邮箱映射文件。virtual_mailbox_base 参数包含目录,邮箱存储在其中。" msgid "Postfixvirtual_mailbox_domains" msgstr "Postfixvirtual_mailbox_domains" msgid "Postfixvirtual_mailbox_maps" msgstr "Postfixvirtual_mailbox_maps" msgid "Postfix/etc/postfix/vmailbox" msgstr "Postfix/etc/postfix/vmailbox" msgid "" "\n" "virtual_mailbox_domains = falcot.org\n" "virtual_mailbox_maps = hash:/etc/postfix/vmailbox\n" "virtual_mailbox_base = /var/mail/vhosts" msgstr "" "\n" "virtual_mailbox_domains = falcot.org\n" "virtual_mailbox_maps = hash:/etc/postfix/vmailbox\n" "virtual_mailbox_base = /var/mail/vhosts" msgid "The virtual_uid_maps parameter (respectively virtual_gid_maps) references the file containing the mapping between the email address and the system user (respectively group) that “owns” the corresponding mailbox. To get all mailboxes owned by the same owner/group, the static:5000 syntax assigns a fixed UID/GID (of value 5000 here)." msgstr "virtual_uid_maps 参数(各自的 virtual_gid_maps)引用包含映射的文件,其中映射联系了邮件地址与“拥有”相应邮箱的系统用户(各自的用户组)。为了得到由相同的用户/用户组所拥有的所有邮箱,static:5000 语法指定了固定的 UID/GID (在这里,其值为 5000)。" msgid "Postfixvirtual_uid_maps" msgstr "Postfixvirtual_uid_maps" msgid "Postfixvirtual_gid_maps" msgstr "Postfixvirtual_gid_maps" msgid "Again, the syntax of the /etc/postfix/vmailbox file is quite straightforward: two fields separated with whitespace. The first field is an email address within one of the virtual domains, and the second field is the location of the associated mailbox (relative to the directory specified in virtual_mailbox_base). If the mailbox name ends with a slash (/), the emails will be stored in the maildir format; otherwise, the traditional mbox format will be used. The maildir format uses a whole directory to store a mailbox, each individual message being stored in a separate file. In the mbox format, on the other hand, the whole mailbox is stored in one file, and each line starting with “From ” (From followed by a space) signals the start of a new message." msgstr "再一次,/etc/postfix/vmailbox 文件的语法非常直接:两个字段由空白字符分开。第一个字段是虚拟域之一的电子邮件地址,而第二个字段是与之相联系的电子邮箱(相对于 virtual_mailbox_base 中指定的目录)。如果邮箱名称以斜杠(/)结尾,那么电子邮件会存储为 maildir 格式;否则,会使用传统的 mbox 格式。maildir 格式使用整个目录来存储邮箱,每个单独的消息存储为单独的文件。另一方面,在 mbox 格式中,整个邮箱存储为一个文件,并且以“From”(“来自”)开始的每一行(From 后面跟着一个空格)表示新消息的开始。" msgid "Postfixvirtual_mailbox_base" msgstr "Postfixvirtual_mailbox_base" msgid "" "\n" "# Jean's email is stored as maildir, with\n" "# one file per email in a dedicated directory\n" "jean@falcot.org falcot.org/jean/\n" "# Sophie's email is stored in a traditional \"mbox\" file,\n" "# with all mails concatenated into one single file\n" "sophie@falcot.org falcot.org/sophie" msgstr "" "\n" "# Jean's email is stored as maildir, with\n" "# one file per email in a dedicated directory\n" "jean@falcot.org falcot.org/jean/\n" "# Sophie's email is stored in a traditional \"mbox\" file,\n" "# with all mails concatenated into one single file\n" "sophie@falcot.org falcot.org/sophie" msgid "Restrictions for Receiving and Sending" msgstr "接收邮件和发送邮件的限制" msgid "The growing number of unsolicited bulk emails (spam) requires being increasingly strict when deciding which emails a server should accept. This section presents some of the strategies included in Postfix." msgstr "数量增长的主动巨量(垃圾) 电子邮件需要更加严格地确定服务器接受哪些电子邮件。这一节展现了 Postfix 中包含的一些策略。" msgid "If the reject-rules are too strict, it may happen that even legitimate email traffic gets locked out. It is therefor a good habit to test restrictions and prevent the permanent rejection of requests during this time using the soft_bounce = yes directive. By prepending a reject-type directive with warn_if_reject only a log message will be recorded instead of rejecting the request." msgstr "如果拒绝法则太过严格,那么会发生即使是合法的电子邮件交流也会被封锁在外面的情况。这样,好的习惯是测试严格程度,并在这时直接使用 soft_bounce = yes 指令,来防止请求被永久拒绝。通过warn_if_reject 来预置拒绝类型的指令,只有日志消息被记录,不是去拒绝请求。" msgid "Postfixsoft_bounce" msgstr "Postfixsoft_bounce" msgid "Postfixwarn_if_reject" msgstr "Postfixwarn_if_reject" msgid "CULTURE The spam problem" msgstr "CULTURE 垃圾邮件问题" msgid "spam" msgstr "垃圾邮件" msgid "unsolicited commercial emailspam" msgstr "主动的商业电子邮件垃圾邮件" msgid "“Spam” is a generic term used to designate all the unsolicited commercial emails (also known as UCEs) that flood our electronic mailboxes; the unscrupulous individuals sending them are known as spammers. They care little about the nuisance they cause, since sending an email costs very little, and only a very small percentage of recipients need to be attracted by the offers for the spamming operation to make more money than it costs. The process is mostly automated, and any email address made public (for instance, on a web forum, or on the archives of a mailing list, or on a blog, and so on) will be likely discovered by the spammers' robots, and subjected to a never-ending stream of unsolicited messages. Also every contact found at a compromised system is targeted." msgstr "“垃圾邮件”是个通用术语,用于指示在我们的电子邮箱中泛滥的所有主动的商业电子邮件(被称为 UCEs);发送它们的不道德的个人被称为垃圾邮件发件人。他们不关心他们造成的麻烦,因为发送电子邮件花费很少,而只有很小比例的收件人需要被发送垃圾邮件的操作所吸引,来获得比成本更多的钱。这个过程多数是自动的,并且任何被公开的电子邮件地址(例如,在网页论坛上,或者在电子邮件列表的档案上,或者在 blog 上,以及等等诸如此类)会被垃圾邮件发件人的机器人发现,并收到无休止的主动消息。同样,受损系统上发现的每个联系人也会被盯上。" msgid "All system administrators try to face this nuisance with spam filters, but of course spammers keep adjusting to try to work around these filters. Some even rent networks of machines compromised by a worm from various crime syndicates. Recent statistics estimate that up to 95% of all emails circulating on the Internet are spam!" msgstr "所有系统管理员试图使用垃圾邮件筛选程序来面对这个麻烦,但垃圾邮件发件人当然一直在调整,试图绕过这些筛选程序。一些甚至租用的网络机器也被来自各种犯罪集团的蠕虫所损害。最近的统计数据估计,因特网上交流的所有电子邮件中多达 95% 是垃圾邮件!" msgid "IP-Based Access Restrictions" msgstr "基于 IP 的访问限制" msgid "Postfixsmtpd_client_restrictions" msgstr "Postfixsmtpd_client_restrictions" msgid "emailfiltering on the client host" msgstr "电子邮件在客户端主机上筛选" msgid "The smtpd_client_restrictions directive controls which machines are allowed to communicate with the email server." msgstr "smtpd_client_restrictions 指令控制哪些机器被允许与电子邮件服务器通信。" msgid "When a variable contains a list of rules, as in the example below, these rules are evaluated in order, from the first to the last. Each rule can accept the message, reject it, or leave the decision to a following rule. As a consequence, order matters, and simply switching two rules can lead to a widely different behavior." msgstr "当变量包含规则列表时,如在下面的示例中,这些规则被顺序评价,从第一个到最后一个,每条规则可以接受消息,拒绝消息,或将决定权留给后面的规则。结果,顺序很重要,而简单地交换两条规则可以导致非常不同的行为。" msgid "Restrictions Based on Client Address" msgstr "基于客户端地址的限制" msgid "" "\n" "smtpd_client_restrictions =\n" " permit_mynetworks,\n" " warn_if_reject reject_unknown_client_hostname,\n" " check_client_access hash:/etc/postfix/access_clientip,\n" " reject_rhsbl_reverse_client dbl.spamhaus.org,\n" " reject_rhsbl_reverse_client rhsbl.sorbs.net,\n" " reject_rbl_client zen.spamhaus.org,\n" " reject_rbl_client dnsbl.sorbs.net" msgstr "" "\n" "smtpd_client_restrictions =\n" " permit_mynetworks,\n" " warn_if_reject reject_unknown_client_hostname,\n" " check_client_access hash:/etc/postfix/access_clientip,\n" " reject_rhsbl_reverse_client dbl.spamhaus.org,\n" " reject_rhsbl_reverse_client rhsbl.sorbs.net,\n" " reject_rbl_client zen.spamhaus.org,\n" " reject_rbl_client dnsbl.sorbs.net" msgid "The permit_mynetworks directive, used as the first rule, accepts all emails coming from a machine in the local network (as defined by the mynetworks configuration variable)." msgstr "permit_mynetworks指令用作第一条规则,接受来自本地网络中的机器的所有电子邮件(如由 mynetworks 配置变量所定义的)。" msgid "Postfixpermit_mynetworks" msgstr "Postfixpermit_mynetworks" msgid "The second directive would normally reject emails coming from machines without a completely valid DNS configuration. Such a valid configuration means that the IP address can be resolved to a name, and that this name, in turn, resolves to the IP address. This restriction is often too strict, since many email servers do not have a reverse DNS for their IP address. This explains why the Falcot administrators prepended the warn_if_reject modifier to the reject_unknown_client directive: this modifier turns the rejection into a simple warning recorded in the logs. The administrators can then keep an eye on the number of messages that would be rejected if the rule were actually enforced, and make an informed decision later if they wish to enable such enforcement." msgstr "第二条指令通常拒绝来自没有完全合法 DNS 配置的机器的邮件。这样的合法配置意味着 IP 地址可以被解析为名称,而这个名称可以反过来解析为 IP 地址。这个限制通常太严格,因为很多电子邮件服务器不具有它们 IP 地址的反向 DNS。这解释了为什么 Falcot 公司的管理员为 reject_unknown_client 指令预置了 warn_if_reject 修饰符:这个修饰符 将拒绝行为转换为日志中记录的简单警告。然后如果规则被实际强制执行的话,管理员可以关注被拒绝的消息数量,并且如果他们想要启用这样的强制执行的话,就可以在后面做出决定。" msgid "Postfixreject_unknown_client_hostname" msgstr "Postfixreject_unknown_client_hostname" msgid "TIP access tables" msgstr "技巧 访问 表格" #, fuzzy #| msgid "The restriction criteria include administrator-modifiable tables listing combinations of senders, IP addresses, and allowed or forbidden hostnames. These tables can be created using an uncompressed copy of the /usr/share/doc/postfix/examples/access.gz file shipped with the postfix-doc package. This model is self-documented in its comments, which means each table describes its own syntax." msgid "The restriction criteria include administrator-modifiable tables listing combinations of senders, IP addresses, and allowed or forbidden hostnames. These tables can be created using a copy of the /usr/share/doc/postfix/examples/access file shipped with the postfix-doc package and explained in access 5. This model is self-documented in its comments, which means each table describes its own syntax." msgstr "限制标准包括管理员可调整的表格,列出了发件人、IP 地址和被允许或禁止的主机名的组合。这些表格可以使用 /usr/share/doc/postfix/examples/access.gz 文件的未压缩副本来创建,其中这个文件与 postfix-doc 软件包一起上市。这个模型在其注释中是自带文档的,这意味着每个表格描述了它自己的语法。" msgid "The /etc/postfix/access_clientip table lists IP addresses and networks; /etc/postfix/access_helo lists domain names; /etc/postfix/access_sender contains sender email addresses. All these files need to be turned into hash-tables (a format optimized for fast access) after each change, with the sudo postmap /etc/postfix/file command." msgstr "/etc/postfix/access_clientip 表格列出了 IP 地址和网络;/etc/postfix/access_helo 列出了域名;/etc/postfix/access_sender 包含发件人电子邮件地址。所有这些文件需要在每次更改后,通过sudo postmap /etc/postfix/file命令转换成哈希表(为快速访问而优化的格式)。" #, fuzzy #| msgid "The third directive allows the administrator to set up a blacklist and a whitelist of email servers, stored in the /etc/postfix/access_clientip file. Servers in the whitelist are considered as trusted, and the emails coming from there therefore do not go through the following filtering rules." msgid "The check_client_access directive allows the administrator to set up a blacklist and a whitelist of email servers, stored in the /etc/postfix/access_clientip file. Servers in the whitelist are considered as trusted, and the emails coming from there therefore do not go through the following filtering rules." msgstr "第三条指令允许管理员设置电子邮件服务器的黑名单和白名单,它们存储在 /etc/postfix/access_clientip 文件中。白名单中的服务器被认为是可信任的,这样,来自这些邮件服务器的电子邮件不经过后面的筛选规则。" msgid "Postfixcheck_client_access" msgstr "Postfixcheck_client_access" msgid "The last four rules reject any message coming from a server listed in one of the indicated blacklists. RBL is an acronym for Remote Black List, and RHSBL stands for Right-Hand Side Black List. The difference is that the former lists IP addresses, whereas the latter lists domain names. There are several such services. They list domains and IP addresses with poor reputation, badly configured servers that spammers use to relay their emails, as well as unexpected mail relays such as machines infected with worms or viruses." msgstr "后四条规则拒绝来自其中一个黑名单中列出的服务器的任何消息。RBL 是 Remote Black List(远程黑名单)的缩写,而 RHSBL 的意思是 Right-Hand Side Black List(右手侧黑名单)。差异是前面的黑名单列出了 IP 地址,而后面的黑名单列出了域名。有几个这样的服务,列出了名声不好的、配置很差的服务器的域和 IP 地址,垃圾邮件发件人使用这些服务器作为他们电子邮件的中继,同样那些不想要的邮件也依赖这样被蠕虫或病毒感染的机器。" msgid "Postfixreject_rbl_client" msgstr "Postfixreject_rbl_client" msgid "Postfixreject_rhsbl_client" msgstr "Postfixreject_rhsbl_client" msgid "TIP White list and RBLs" msgstr "技巧 白名单和 RBLs" #, fuzzy #| msgid "TLS" msgid "RBL" msgstr "TLS" #, fuzzy #| msgid "Remote Black List" msgid "Remote Black ListRBL" msgstr "远程黑名单" msgid "Blacklists sometimes include a legitimate server that has been suffering an incident. In these situations, all emails coming from one of these servers would be rejected unless the server is listed in a whitelist defined by /etc/postfix/access_clientip." msgstr "黑名单有时包括遭遇故障的合法服务器。在这些情况下,来自这些服务器之一的所有电子邮件都会被拒绝,除非这些服务器在 /etc/postfix/access_clientip 定义的白名单中列出。" msgid "Prudence therefore recommends including in the whitelist(s) all the trusted servers from which many emails are usually received." msgstr "这样,谨慎推荐将通常从中接收很多电子邮件的所有受信任的服务器包含在白名单中。" msgid "Checking the Validity of the EHLO or HELO Commands" msgstr "检查 EHLO 或 HELO 命令的合法性" msgid "Postfixsmtpd_helo_restrictions" msgstr "Postfixsmtpd_helo_restrictions" #, fuzzy #| msgid "Postfixsmtpd_delay_reject" msgid "Postfixsmtpd_helo_required" msgstr "Postfixsmtpd_delay_reject" msgid "emailfiltering on the mail host" msgstr "电子邮件在电子邮件主机上筛选" msgid "Each SMTP exchange starts with a HELO (or EHLO) command, followed by the name of the sending email server. Checking the validity of this name can be interesting. To fully enforce the restrictions listed in smtpd_helo_restrictions the smtpd_helo_required option needs to be enabled. Otherwise clients could skip the restrictions by not sending any HELO/EHLO command." msgstr "每个 SMTP 交换从HELO(或 EHLO)命令开始,然后是发送电子邮件服务器的名称。检查这个名称的合法性会很有趣。为了完全强制执行 smtpd_helo_restrictions 中列出的限制,需要启用 smtpd_helo_required 选项。否则客户端会通过不发送任何 HELO/EHLO 命令来跳过限制。" msgid "HELO" msgstr "HELO" msgid "EHLOHELO" msgstr "EHLOHELO" msgid "SMTPHELO" msgstr "SMTPHELO" msgid "SMTPEHLO" msgstr "SMTPEHLO" msgid "Restrictions on the name announced in EHLO" msgstr "对 EHLO 中宣称的名称的限制" msgid "" "\n" "smtpd_helo_required = yes\n" "smtpd_helo_restrictions =\n" " permit_mynetworks,\n" " reject_invalid_helo_hostname,\n" " reject_non_fqdn_helo_hostname,\n" " warn_if_reject reject_unknown_helo_hostname,\n" " check_helo_access hash:/etc/postfix/access_helo,\n" " reject_rhsbl_helo multi.surbl.org" msgstr "" "\n" "smtpd_helo_required = yes\n" "smtpd_helo_restrictions =\n" " permit_mynetworks,\n" " reject_invalid_helo_hostname,\n" " reject_non_fqdn_helo_hostname,\n" " warn_if_reject reject_unknown_helo_hostname,\n" " check_helo_access hash:/etc/postfix/access_helo,\n" " reject_rhsbl_helo multi.surbl.org" msgid "The first permit_mynetworks directive allows all machines on the local network to introduce themselves freely. This is important, because some email programs do not respect this part of the SMTP protocol adequately enough, and they can introduce themselves with nonsensical names." msgstr "第一条 permit_mynetworks 指令允许本地网络上的所有机器自由地引入它们自身。这是很重要的,因为一些电子邮件程序没有足够充分地尊重这部分 SMTP 协议,并且它们可以通过一些无意义的名称来引入自身。" #, fuzzy #| msgid "The reject_invalid_helo_hostname rule rejects emails when the EHLO announce lists a syntactically incorrect hostname. The reject_non_fqdn_helo_hostname rule rejects messages when the announced hostname is not a fully-qualified domain name (including a domain name as well as a host name). The reject_unknown_helo_hostname rule rejects messages if the announced name does not exist in the DNS. Since this last rule unfortunately leads to too many rejections, the administrators turned its effect to a simple warning with the warn_if_reject modifier as a first step; they may decide to remove this modifier at a later stage, after auditing the results of this rule." msgid "The reject_invalid_helo_hostname rule rejects emails when the EHLO announce lists a syntactically incorrect hostname. The reject_non_fqdn_helo_hostname rule rejects messages when the announced hostname is not a fully-qualified domain name (including a domain name as well as a host name). The reject_unknown_helo_hostname rule rejects messages if the announced name does not exist in the DNS. Since this last rule unfortunately leads to a lot of rejections, the administrators turned its effect to a simple warning with the warn_if_reject modifier as a first step; they may decide to remove this modifier at a later stage, after auditing the results of this rule." msgstr "当 EHLO 宣称列出了语法不正确的域名时,reject_invalid_helo_hostname规则拒绝电子邮件。当宣称的域名不是完全合格的域名(包括域名和主机名)时,reject_non_fqdn_helo_hostname 规则拒绝消息。如果宣称的域名不存在与 DNS 中,那么 reject_unknown_helo_hostname 规则拒绝电子邮件。由于这最后一条规则不幸导致太多的拒绝,因此管理员用 warn_if_reject 修饰符将其效果转变为简单的警告,作为第一步;他们会在审查这条规则的结果之后,在后面的阶段来决定删除这个修饰符。" msgid "Postfixreject_invalid_helo_hostname" msgstr "Postfixreject_invalid_helo_hostname" msgid "Postfixreject_non_fqdn_helo_hostname" msgstr "Postfixreject_non_fqdn_helo_hostname" msgid "Postfixreject_unknown_helo_hostname" msgstr "Postfixreject_unknown_helo_hostname" msgid "The reject_rhsbl_helo allows to specify a black list to check the hostname against an RHSBL." msgstr "reject_rhsbl_helo 允许指定黑名单,针对 RHSBL 来检查主机名。" msgid "Using permit_mynetworks as the first rule has an interesting side effect: the following rules only apply to hosts outside the local network. This allows blacklisting all hosts that announce themselves as part of the falcot.com network, for instance by adding a falcot.com REJECT You are not in our network! line to the /etc/postfix/access_helo file." msgstr "使用 permit_mynetworks 作为第一条规则有个有趣的副作用:后面的规则只应用于本地网络以外的主机。这允许将那些宣称自己为 falcot.com 网络的一部分的主机列入黑名单,例如,通过将 falcot.com 拒绝,你不再我们的网络中! 这一行添加到 /etc/postfix/access_helo 文件中。" msgid "Postfixcheck_helo_access" msgstr "Postfixcheck_helo_access" #, fuzzy #| msgid "Accepting or Refusing Based on the Announced Sender" msgid "Accepting or Refusing Mails Based on the Announced Sender" msgstr "根据宣称的发件人接受或拒绝" msgid "Postfixsmtpd_sender_restrictions" msgstr "Postfixsmtpd_sender_restrictions" msgid "emailfiltering on the sender" msgstr "电子邮件根据发件人来筛选" msgid "Every message has a sender, announced by the MAIL FROM command of the SMTP protocol; again, this information can be validated in several different ways." msgstr "每条消息都有一位发件人,由STMP 协议的 MAIL FROM(邮件来自) 命令宣布;再一次,这个信息能够以几种不同的方式验证。" msgid "MAIL FROM" msgstr "MAIL FROM(邮件来自)" msgid "SMTPMAIL FROM" msgstr "SMTPMAIL FROM(邮件来自)" msgid "Sender checks" msgstr "发件人检查" msgid "" "\n" "smtpd_sender_restrictions =\n" " check_sender_access hash:/etc/postfix/access_sender,\n" " reject_unknown_sender_domain,\n" " reject_unlisted_sender,\n" " reject_non_fqdn_sender,\n" " reject_rhsbl_sender rhsbl.sorbs.net" msgstr "" "\n" "smtpd_sender_restrictions =\n" " check_sender_access hash:/etc/postfix/access_sender,\n" " reject_unknown_sender_domain,\n" " reject_unlisted_sender,\n" " reject_non_fqdn_sender,\n" " reject_rhsbl_sender rhsbl.sorbs.net" msgid "The /etc/postfix/access_sender table maps some special treatment to some senders. This usually means listing some senders into a white list or a black list." msgstr "/etc/postfix/access_sender 表格将一些特殊处理映射到一些发件人。这通常意味着将一些发件人列入白名单或黑名单。" msgid "Postfixcheck_sender_access" msgstr "Postfixcheck_sender_access" #, fuzzy #| msgid "The reject_unknown_sender_domain rule requires a valid sender domain, since it is needed for a valid address. The reject_unlisted_sender rule rejects local senders if the address does not exist; this prevents emails from being sent from an invalid address in the falcot.com domain, and messages emanating from joe.bloggs@falcot.com are only accepted if such an address really exists." msgid "The reject_unknown_sender_domain rule requires a valid sender domain, since it is needed for a valid address. The reject_unlisted_sender rule rejects local senders if the address does not exist; this prevents emails being sent from an invalid address in the falcot.com domain, and messages emanating from joe.bloggs@falcot.com are only accepted if such an address really exists." msgstr "reject_unknown_sender_domain 规则需要合法的发件人域,因为这是合法地址所需的。如果地址不存在的话,那么 reject_unlisted_sender 规则拒绝本地发件人;这防止电子邮件由 falcot.com 域中的非法地址发送,并且,由 joe.bloggs@falcot.com 显示的消息,只有在这样的地址真实存在的情况下才被接受。" msgid "Postfixreject_unknown_sender_domain" msgstr "Postfixreject_unknown_sender_domain" msgid "Postfixreject_unlisted_sender" msgstr "Postfixreject_unlisted_sender" msgid "Finally, the reject_non_fqdn_sender rule rejects emails purporting to come from addresses without a fully-qualified domain name. In practice, this means rejecting emails coming from user@machine: the address must be announced as either user@machine.example.com or user@example.com." msgstr "最后,reject_non_fqdn_sender 规则拒绝那些自称来自没有完全合格域名的地址的电子邮件。实际上,这意味着拒绝来自 user@machine 的电子邮件:地址必须宣布为 user@machine.example.com 或 user@example.com。" msgid "Postfixreject_non_fqdn_sender" msgstr "Postfixreject_non_fqdn_sender" msgid "The reject_rhsbl_sender rule reject senders based on a (domain-based) RHSBL service." msgstr "reject_rhsbl_sender 规则根据(基于域的)RHSBL 服务来拒绝发件人。" msgid "Postfixreject_rhsbl_sender" msgstr "Postfixreject_rhsbl_sender" #, fuzzy #| msgid "Accepting or Refusing Based on the Recipient" msgid "Accepting or Refusing Mails Based on the Recipient" msgstr "根据收件人接受或拒绝" msgid "Postfixsmtpd_recipient_restrictions" msgstr "Postfixsmtpd_recipient_restrictions" msgid "emailfiltering on the recipient" msgstr "电子邮件根据收件人筛选" msgid "Each email has at least one recipient, announced with the RCPT TO command in the SMTP protocol. These addresses also warrant validation, even if that may be less relevant than the checks made on the sender address." msgstr "每封电子邮件具有至少一名收件人,由 SMTP 协议中的 RCPT TO 命令来宣布。即使与发件人地址进行的检查不那么相关,这些地址保证了合法性。" msgid "RCPT TO" msgstr "RCPT TO" #, fuzzy #| msgid "SIPPBX" msgid "SMTPRCPT TO" msgstr "SIPPBX" msgid "Recipient checks" msgstr "收件人检查" msgid "" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" " reject_unlisted_recipient,\n" " reject_non_fqdn_recipient,\n" " permit" msgstr "" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" " reject_unlisted_recipient,\n" " reject_non_fqdn_recipient,\n" " permit" msgid "reject_unauth_destination is the basic rule that requires outside messages to be addressed to us; messages sent to an address not served by this server are rejected. Without this rule, a server becomes an open relay that allows spammers to send unsolicited emails; this rule is therefore mandatory, and it will be best included near the beginning of the list, so that no other rules may authorize the message before its destination has been checked." msgstr "reject_unauth_destination 是基本的规则,需要外部消息写给我们;向这台服务器不服务的地址发送的消息被拒绝。没有这条规则的话,服务器会变成开放中继,允许所有的垃圾邮件发件人发送自主邮件;由此这条规则是强制的,它最好包含在接近列表的开始部分,从而没有其它规则能够在检查目的地之前对消息进行授权。" msgid "Postfixreject_unauth_destination" msgstr "Postfixreject_unauth_destination" msgid "The reject_unlisted_recipient rule rejects messages sent to non-existing local users, which makes sense. Finally, the reject_non_fqdn_recipient rule rejects non-fully-qualified addresses; this makes it impossible to send an email to jean or jean@machine, and requires using the full address instead, such as jean@machine.falcot.com or jean@falcot.com." msgstr "reject_unlisted_recipient 规则拒绝将消息发送给不存在的本地用户,这容易理解。最后,reject_non_fqdn_recipient 规则拒绝非完全合格的地址;从而不能将邮件发送给 jean 或 jean@machine,并且需要替代使用完整地址,如 jean@machine.falcot.com 或 jean@falcot.com。" msgid "Postfixreject_unlisted_recipient" msgstr "Postfixreject_unlisted_recipient" msgid "Postfixreject_non_fqdn_recipient" msgstr "Postfixreject_non_fqdn_recipient" msgid "The permit directive at the end is not necessary. But it can be useful at the end of a restriction list to make the default policy explicit." msgstr "在结尾的 permit 指令不是必要的。但它用于在限制列表的末端使默认策略显性化。" msgid "Restrictions Associated with the DATA Command" msgstr "与 DATA(数据) 命令相关的限制" msgid "Postfixsmtpd_data_restrictions" msgstr "Postfixsmtpd_data_restrictions" msgid "emailfiltering on SMTP commands" msgstr "电子邮件在 SMTP 命令上筛选" msgid "The DATA command of SMTP is emitted before the contents of the message. It doesn't provide any information per se, apart from announcing what comes next. It can still be subjected to checks." msgstr "SMTP的 DATA(数据) 命令在消息内容之前发出。它本质上不提供任何信息,除了宣布下面的是什么。它仍然可以受到检查。" msgid "DATA" msgstr "DATA(数据)" msgid "SMTPDATA" msgstr "SMTPDATA(数据)" msgid "DATA checks" msgstr "DATA(数据) 检查" msgid "smtpd_data_restrictions = reject_unauth_pipelining" msgstr "smtpd_data_restrictions = reject_unauth_pipelining" msgid "The reject_unauth_pipelining directives causes the message to be rejected if the sending party sends a command before the reply to the previous command has been sent. This guards against a common optimization used by spammer robots, since they usually don't care a fig about replies and only focus on sending as many emails as possible in as short a time as possible." msgstr "如果在对之前的命令回复被发送前,发送部分就发送了命令的话,那么 reject_unauth_pipelining 指令促使消息被拒绝。这针对垃圾邮件机器人使用的一般优化进行保护,因为它们通常毫不在乎回复,并且只聚焦在尽可能短的时间发送尽可能多的电子邮件。" msgid "Postfixreject_unauth_pipelining" msgstr "Postfixreject_unauth_pipelining" msgid "Applying Restrictions" msgstr "应用限制" msgid "Postfixsmtpd_delay_reject" msgstr "Postfixsmtpd_delay_reject" msgid "Although the above commands validate information at various stages of the SMTP exchange, Postfix sends the actual rejection as a reply to the RCPT TO command by default." msgstr "尽管上面的命令在 SMTP 交换的各个阶段验证信息,Postfix 默认发送真正的拒绝作为对 RCPT TO 命令的回应。" msgid "This means that even if the message is rejected due to an invalid EHLO command, Postfix knows the sender and the recipient when announcing the rejection. It can then log a more explicit message than it could if the transaction had been interrupted from the start. In addition, a number of SMTP clients do not expect failures on the early SMTP commands, and these clients will be less disturbed by this late rejection." msgstr "这意味着即使消息由于非法的 EHLO 命令被拒绝,当宣布拒绝的时候 Postfix 也知道发件人和收件人。相比交流一开始就中断了,它可以将更显性的消息记入日志。此外,很多 SMTP 客户端在 SMTP 命令的早期都不希望失败,这些客户端通过这样较晚的拒绝而较少受到困扰。" msgid "A final advantage to this choice is that the rules can accumulate information during the various stages of the SMTP exchange; this allows defining more fine-grained permissions, such as rejecting a non-local connection if it announces itself with a local sender." msgstr "这个选择的最后一个优点是在 STMP 交换的各个阶段规则都会聚集信息;这允许确定更精细粒度的许可,如拒绝那些宣布自己是本地发件人的非本地连接。" msgid "The default behavior is controlled by the smtpd_delay_reject rule." msgstr "默认行为由 smtpd_delay_reject 规则来控制。" msgid "Filtering Based on the Message Contents" msgstr "根据消息内容来筛选" msgid "emailfiltering on content inspection" msgstr "电子邮件在内容检查上筛选" msgid "emailfiltering on contents" msgstr "电子邮件在内容上筛选" msgid "Postfixbody_checks" msgstr "Postfixbody_checks" msgid "Postfixheader_checks" msgstr "Postfixheader_checks" msgid "The validation and restriction system would not be complete without a way to apply checks to the message contents. Postfix differentiates the checks applying to the email headers from those applying to the email body." msgstr "如果没有一种方式对信息内容进行检查的话,验证与限制系统将是不完整的。Postfix 将应用于电子邮件头的检查从那些应用于电子邮件主体的检查中区别出来。" msgid "Enabling content-based filters" msgstr "启用基于内容的筛选" msgid "" "\n" "header_checks = regexp:/etc/postfix/header_checks\n" "body_checks = regexp:/etc/postfix/body_checks" msgstr "" "\n" "header_checks = regexp:/etc/postfix/header_checks\n" "body_checks = regexp:/etc/postfix/body_checks" msgid "Both files contain a list of regular expressions (commonly known as regexps or regexes) and associated actions to be triggered when the email headers (or body) match the expression." msgstr "这些文件都含有正则表达式(一般被称为 regexps 或 regexes)的列表,以及当电子邮件头(或主体)与表达式匹配时触发的相关动作。" msgid "QUICK LOOK Regexp tables" msgstr "速览 Regexp 表格" #, fuzzy #| msgid "The file /usr/share/doc/postfix/examples/header_checks.gz (from the postfix-doc package) and header_checks5 contain many explanatory comments and can be used as a starting point for creating the /etc/postfix/header_checks and /etc/postfix/body_checks files." msgid "The file /usr/share/doc/postfix/examples/header_checks (from the postfix-doc package) and header_checks 5 contain many explanatory comments and can be used as a starting point for creating the /etc/postfix/header_checks and /etc/postfix/body_checks files." msgstr "文件 /usr/share/doc/postfix/examples/header_checks.gz (来自 postfix-doc 软件包)和 header_checks5 包含很多解释性注释,并且可以作为创建 /etc/postfix/header_checks 和 /etc/postfix/body_checks 文件的起点。" msgid "Example /etc/postfix/header_checks file" msgstr "示例 /etc/postfix/header_checks 文件" msgid "" "\n" "/^X-Mailer: GOTO Sarbacane/ REJECT I fight spam (GOTO Sarbacane)\n" "/^Subject: *Your email contains VIRUSES/ DISCARD virus notification" msgstr "" "\n" "/^X-Mailer: GOTO Sarbacane/ REJECT I fight spam (GOTO Sarbacane)\n" "/^Subject: *Your email contains VIRUSES/ DISCARD virus notification" msgid "BACK TO BASICS Regular expression" msgstr "基本知识 正则表达式" #, fuzzy #| msgid "regular expressions" msgid "regular expression" msgstr "正则表达式" #, fuzzy #| msgid "regexregular expressions" msgid "regexregular expression" msgstr "regex正则表达式" #, fuzzy #| msgid "regexpregular expressions" msgid "regexpregular expression" msgstr "regexp正则表达式" msgid "The regular expression term (shortened to regexp or regex) references a generic notation for expressing a description of the contents and/or structure of a string of characters. Certain special characters allow defining alternatives (for instance, foo|bar matches either “foo” or “bar”), sets of allowed characters (for instance, [0-9] means \"any digit\", and . — a dot — means \"any character\"), quantification (s? matches either s or the empty string, in other words 0 or 1 occurrence of s; s+ matches one or more consecutive s characters; and so on). Parentheses allow grouping search results." msgstr "正则表达式 这个术语(缩写为 regexp 或 regex)引用了用于表达对字符串内容和/或结构进行描述的通用符号。某个特定字符允许定义替代(例如,foo|bar 与 “foo” 或 “bar”匹配), 允许的字符组(例如,[0-9] 意味着“任何数字”,而 . ——点号——意味着“任何字符”),定量(s? 与 s 或空字符串匹配,换句话说,s 发生 0 次 或1 次;s+ 与一个或更多个连续的 s 字符匹配;以及等等诸如此类)。括号允许将搜索结果分组。" msgid "The precise syntax of these expressions varies across the tools using them, but the basic features are similar. " msgstr "这些表达式的精确语法在使用它们的工具之间变化,但基本特性是相似的。" msgid "The first one checks the header mentioning the email software; if GOTO Sarbacane (a bulk email software) is found, the message is rejected. The second expression controls the message subject; if it mentions a virus notification, we can decide not to reject the message but to discard it immediately instead." msgstr "第一个是检查提到电子邮件软件的标头;如果发现 GOTO Sarbacane(一个批量电子邮件软件),则拒绝消息。第二个表达式控制消息的主题;如果提到病毒通知,那么我们可以决定不拒绝消息,而是立即丢弃它。" msgid "Using these filters is a double-edged sword, because it is easy to make the rules too generic and to lose legitimate emails as a consequence. In these cases, not only the messages will be lost, but their senders will get unwanted (and annoying) error messages." msgstr "这些筛选的使用是把双刃剑,因为容易使规则太过一般化,并且结果容易丢失合法的电子邮件。在这些情况下,不仅丢失消息,它们的发件人也会得到不需要的(令人困扰的)错误消息。" msgid "Setting Up greylisting" msgstr "设置 灰名单" msgid "greylisting" msgstr "灰名单" #, fuzzy #| msgid "emailgreylisting" msgid "Postfixgreylisting" msgstr "电子邮件灰名单" msgid "emailgreylisting" msgstr "电子邮件灰名单" msgid "postgrey" msgstr "postgrey" #, fuzzy #| msgid "“Greylisting” is a filtering technique according to which a message is initially rejected with a temporary error code, and only accepted on a further try after some delay. This filtering is particularly efficient against spam sent by the many machines infected by worms and viruses, since this software rarely acts as a full SMTP agent (by checking the error code and retrying failed messages later), especially since many of the harvested addresses are really invalid and retrying would only mean losing time." msgid "“Greylisting” is a filtering technique according to which a message is initially rejected with a temporary error code, and only accepted after a further delivery attempt with some delay. This filtering is particularly efficient against spam sent by the many machines infected by worms and viruses, since this software rarely acts as a full SMTP agent (by checking the error code and retrying failed messages later), especially since many of the harvested addresses are really invalid and retrying would only mean losing time." msgstr "“灰名单”是一项筛选技术,某条消息据此以临时的错误代码被初始拒绝,并且经过一段延迟后经过进一步尝试来接受。这个筛选针对蠕虫和病毒感染的很多机器发送的垃圾邮件特别有效,因为这个软件极少作为完全 SMTP 代理(通过检查错误代码并在此后再次尝试失败的消息),特别是因为很多被收割的地址实际上都是非法的,并且重复尝试只意味着损失时间。" msgid "Postfix doesn't provide greylisting natively, but there is a feature by which the decision to accept or reject a given message can be delegated to an external program. The postgrey package contains just such a program, designed to interface with this access policy delegation service." msgstr "Postfix 本身不提供灰名单,但它有个特性,接受还是拒绝给定消息的决定可以委托给外部程序。postgrey 软件包刚好包含这样的程序,它被设计与这个访问策略委托服务来对接。" #, fuzzy #| msgid "Postfixcheck_client_access" msgid "Postfixcheck_policy_service" msgstr "Postfixcheck_client_access" msgid "Once postgrey is installed, it runs as a daemon and listens on port 10023. Postfix can then be configured to use it, by adding the check_policy_service parameter as an extra restriction:" msgstr "一旦安装了 postgrey,它就作为守护进程运行,并且监听 10023 端口。Postfix 然后可以配置来使用它,通过添加 check_policy_service 参数作为外部限制:" msgid "" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " [...]\n" " check_policy_service inet:127.0.0.1:10023" msgstr "" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " [...]\n" " check_policy_service inet:127.0.0.1:10023" #, fuzzy #| msgid "Each time Postfix reaches this rule in the ruleset, it will connect to the postgrey daemon and send it information concerning the relevant message. On its side, Postgrey considers the IP address/sender/recipient triplet and checks in its database whether that same triplet has been seen recently. If so, Postgrey replies that the message should be accepted; if not, the reply indicates that the message should be temporarily rejected, and the triplet gets recorded in the database." msgid "Each time Postfix reaches this rule in the rule set, it will connect to the postgrey daemon and send it information concerning the relevant message. On its side, Postgrey considers the IP address/sender/recipient triplet and checks in its database whether that same triplet has been seen recently. If so, Postgrey replies that the message should be accepted; if not, the reply indicates that the message should be temporarily rejected, and the triplet gets recorded in the database." msgstr "每次 Postfix 在规则组中达到这个规则时,都会连接到 postgrey 守护进程,并且向它发送相关消息的信息。在它这一侧,Postgrey 考虑 IP address/sender/recipient (IP 地址/发件人/收件人)元组,并且在它的数据库中检查最近是否看到相同的元组。如果是的话,Postgrey 回复应该接受消息;如果否的话,回复应该临时拒绝消息,并且将元组记录在数据库中。" msgid "The main disadvantage of greylisting is that legitimate messages get delayed, which is not always acceptable. It also increases the burden on servers that send many legitimate emails." msgstr "灰名单的主要缺点是合法消息会延迟,也不会总是被接受。它还增加了服务器发送很多合法电子邮件的负担。" msgid "IN PRACTICE Shortcomings of greylisting" msgstr "实践 灰名单的缺点" msgid "Theoretically, greylisting should only delay the first mail from a given sender to a given recipient, and the typical delay is in the order of minutes. Reality, however, can differ slightly. Some large ISPs use clusters of SMTP servers, and when a message is initially rejected, the server that retries the transmission may not be the same as the initial one. When that happens, the second server gets a temporary error message due to greylisting too, and so on; it may take several hours until transmission is attempted by a server that has already been involved, since SMTP servers usually increase the delay between retries at each failure." msgstr "理论上,灰名单应该只延迟从给定发件人到给定收件人的第一封邮件,并且典型的延迟是分钟级的。然而实际上会有略微的不同。一些大的 ISPs 使用 SMTP 服务器集群,并且当消息被初始拒绝时,再次尝试传送的服务器可能与初始的那个不同。当这种情况发生时,第二台服务器也因为灰名单而得到临时错误消息,以及等等诸如此类;这会花费几个小时直到尝试传送由曾经被使用过的服务器来进行,因为 SMTP 服务器通常在每次失败的尝试之间增加延迟时间。" msgid "As a consequence, the incoming IP address may vary in time even for a single sender. But it goes further: even the sender address can change. For instance, many mailing-list servers encode extra information in the sender address so as to be able to handle error messages (known as bounces). Each new message sent to a mailing-list may then need to go through greylisting, which means it has to be stored (temporarily) on the sender's server. For very large mailing-lists (with tens of thousands of subscribers), this can soon become a problem." msgstr "结果,即使是单一的发件人,到来的 IP 地址也会不时变化。而更进一步:甚至发件人的地址会变化。例如,很多邮件列表服务器将发件人地址中的更多信息编码,从而能够处理错误消息(被称为 bounces,弹跳)。发送给邮件列表服务器的每条新消息然后会需要经过灰名单来筛选,这意味着必须(临时)存储在发件人的服务器上。对于非常大的邮件列表(有上万个订阅者),这会很快变成问题。" #, fuzzy #| msgid "Postfix/etc/postfix/virtual" msgid "/etc/etc/postgrey/whitelist_clients" msgstr "Postfix/etc/postfix/virtual" msgid "To mitigate these drawbacks, Postgrey manages a whitelist of such sites, and messages emanating from them are immediately accepted without going through greylisting. This list can easily be adapted to local needs, since it is stored in the /etc/postgrey/whitelist_clients file." msgstr "为了减轻这些缺点,Postgrey 管理这样网站的白名单,并且由它们产生的消息被立即接受,而不经过灰名单去筛选。这个列表可以容易地适应本地需求,因为它存储在 /etc/postgrey/whitelist_clients 文件中。" msgid "GOING FURTHER Selective greylisting with milter-greylist" msgstr "进阶阅读 使用milter-greylist 进行选择性灰名单的筛选" msgid "milter-greylist" msgstr "milter-greylist" #, fuzzy #| msgid "Postfixcertbot" msgid "Postfixmilter-greylist" msgstr "Postfixcertbot" msgid "The drawbacks of greylisting can be mitigated by only using greylisting on the subset of clients that are already considered as probable sources of spam (because they are listed in a DNS blacklist). This is not possible with postgrey but milter-greylist can be used in such a way." msgstr "可以在已经被认为可能是垃圾邮件源头的客户端子组中只使用灰名单(因为它们被列在 DNS 黑名单中),来减轻灰名单的缺点。这对于 postgrey 是不可能的,但可以以这样的方式来使用 milter-greylist 。" msgid "In that scenario, since DNS blacklists never triggers a definitive rejection, it becomes reasonable to use aggressive blacklists, including those listing all dynamic IP addresses from ISP clients (such as pbl.spamhaus.org or dul.dnsbl.sorbs.net)." msgstr "在这种情形下,由于 DNS 黑名单永远不会触发已确定的拒绝,于是能够合理地使用激进的黑名单,包括从 ISP 客户端列出所有动态 IP 地址的那些(如 pbl.spamhaus.org 或 dul.dnsbl.sorbs.net)。" #, fuzzy #| msgid "Postfixsmtpd_miltersDKIM" msgid "Postfixsmtpd_miltersmilter-greylist" msgstr "Postfixsmtpd_miltersDKIM" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/milter-greylist/greylist.conf" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Apache/etc/apache2/sites-enabled" msgid "/etc/etc/default/milter-greylist" msgstr "Apache/etc/apache2/sites-enabled" msgid "Since milter-greylist uses Sendmail's milter interface, the postfix side of its configuration is limited to “smtpd_milters = unix:/var/run/milter-greylist/milter-greylist.sock”. The greylist.conf5 manual page documents /etc/milter-greylist/greylist.conf and the numerous ways to configure milter-greylist. You will also have to edit /etc/default/milter-greylist to actually enable the service." msgstr "由于 milter-greylist 使用 Sendmail 的 milter 接口,其配置的 postfix 侧被限制为 “smtpd_milters = unix:/var/run/milter-greylist/milter-greylist.sock”。 greylist.conf5 手册页将 /etc/milter-greylist/greylist.conf 和配置 milter-greylist 的几种方式进行了存档。还必须编辑 /etc/default/milter-greylist 来实际启用这项服务。" msgid "Customizing Filters Based On the Recipient" msgstr "根据收件人定制筛选程序" msgid "emailcustom restriction classes" msgstr "电子邮件客户限制类" msgid " and reviewed many of the possible restrictions. They all have their use in limiting the amount of received spam, but they also all have their drawbacks. It is therefore more and more common to customize the set of filters depending on the recipient. At Falcot Corp, greylisting is interesting for most users, but it hinders the work of some users who need low latency in their emails (such as the technical support service). Similarly, the commercial service sometimes has problems receiving emails from some Asian providers who may be listed in blacklists; this service asked for a non-filtered address so as to be able to correspond." msgstr " 和 回顾了很多可能的限制。在限制接收到垃圾邮件的量方面它们都有自己的作用,但它们也有自己的缺点。这样,根据收件人来定制一组筛选程序会越来越常见。在 Falcot 公司,灰名单吸引了多数用户,但它阻碍了需要低延迟电子邮件的一些用户(如技术支持服务)的工作。相似地,从会被列入黑名单的一些亚洲提供商那里接收电子邮件的商务服务有时也会有问题;这项服务要求非筛选的地址,从而能够响应。" msgid "Postfix provides such a customization of filters with a “restriction class” concept. The classes are declared in the smtpd_restriction_classes parameter, and defined the same way as smtpd_recipient_restrictions. The check_recipient_access directive then defines a table mapping a given recipient to the appropriate set of restrictions." msgstr "Postfix 通过“restriction class(限制类)”的概念来提供筛选服务的定制。类在 smtpd_restriction_classes 参数中声明,并且以 smtpd_recipient_restrictions 的相同方式定义。check_recipient_access 指令然后定义表格,将给定的收件人映射到适当的限制组。" msgid "Postfixsmtpd_restriction_classes" msgstr "Postfixsmtpd_restriction_classes" msgid "Postfixcheck_recipient_access" msgstr "Postfixcheck_recipient_access" msgid "Defining restriction classes in main.cf" msgstr "在 main.cf 中定义限制类" msgid "" "smtpd_restriction_classes = greylisting, aggressive, permissive\n" "\n" "greylisting = check_policy_service inet:127.0.0.1:10023\n" "aggressive =\n" " reject_rbl_client sbl-xbl.spamhaus.org,\n" " check_policy_service inet:127.0.0.1:10023\n" "permissive = permit\n" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" " check_recipient_access hash:/etc/postfix/recipient_access" msgstr "" "smtpd_restriction_classes = greylisting, aggressive, permissive\n" "\n" "greylisting = check_policy_service inet:127.0.0.1:10023\n" "aggressive =\n" " reject_rbl_client sbl-xbl.spamhaus.org,\n" " check_policy_service inet:127.0.0.1:10023\n" "permissive = permit\n" "\n" "smtpd_recipient_restrictions =\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" " check_recipient_access hash:/etc/postfix/recipient_access" msgid "The /etc/postfix/recipient_access file" msgstr "/etc/postfix/recipient_access 文件" msgid "" "\n" "# Unfiltered addresses\n" "postmaster@falcot.com permissive\n" "support@falcot.com permissive\n" "sales-asia@falcot.com permissive\n" "\n" "# Aggressive filtering for some privileged users\n" "joe@falcot.com aggressive\n" "\n" "# Special rule for the mailing-list manager\n" "sympa@falcot.com reject_unverified_sender\n" "\n" "# Greylisting by default\n" "falcot.com greylisting" msgstr "" "\n" "# Unfiltered addresses\n" "postmaster@falcot.com permissive\n" "support@falcot.com permissive\n" "sales-asia@falcot.com permissive\n" "\n" "# Aggressive filtering for some privileged users\n" "joe@falcot.com aggressive\n" "\n" "# Special rule for the mailing-list manager\n" "sympa@falcot.com reject_unverified_sender\n" "\n" "# Greylisting by default\n" "falcot.com greylisting" #, fuzzy #| msgid "Integrating an Antivirus" msgid "Integrating an Antivirus Filter" msgstr "集成防病毒" msgid "antivirus" msgstr "防病毒" msgid "emailvirus scanning" msgstr "电子邮件病毒扫描" #, fuzzy #| msgid "Apachea2ensite" msgid "Postfixclamav-milter" msgstr "Apachea2ensite" #, fuzzy #| msgid "The many viruses circulating as attachments to emails make it important to set up an antivirus at the entry point of the company network, since despite an awareness campaign, some users will still open attachments from obviously shady messages." msgid "The many viruses circulating as attachments to emails make it important to set up an antivirus solution at the entry point of the company network, since despite an awareness campaign, some users will still open attachments from obviously shady messages." msgstr "作为电子邮件的附件传播的很多病毒,使得在公司网络的入口点设置防病毒变得重要,因为尽管一些用户知道与病毒的斗争,但仍然会打开明显可疑的消息附件。" msgid "SECURITY Controversial Discussion of Anti-Virus Software" msgstr "安全 防病毒软件的有争议的讨论" msgid "The usage of virus scanners, or so called antivirus software, is controversial. There is usually a gap between the release of some piece of malware and the addition of detection rules to the antivirus database. During this gap, there is no software-based protection. Further, the usage often requires to run additional software, for example, to uncompress archives and scan all kinds of executables, which drastically increases the exploit potential of the antivirus software itself. Usage of such software solutions can therefor never replace awareness campaigns and simple behavioral rules (never open unsolicited sent attachments, etc.)." msgstr "病毒扫描软件,或者所谓防病毒软件的使用是有争议的。一些恶意软件的发行与检测规则添加到防病毒数据库之间通常有时间间隔。在这个间隔中,没有基于软件的保护。进一步,病毒扫描软件的使用通常需要运行另外的软件,例如,解压缩档案并扫描所有类型的可执行文件,这彻底增加了防病毒软件自身的利用潜力。由此,使用这样软件的解决方案永远也不能代替对斗争的了解与简单的行为规则(永远不要打开自主发送附件,等等)。" msgid "antiviruscontroversy" msgstr "防病毒争议" msgid "The Falcot administrators selected clamav from the homonymous package." msgstr "" msgid "clamav" msgstr "clamav" msgid "clamav-milter" msgstr "clamav-milter" #, fuzzy #| msgid "Postfixcertbot" msgid "Postfixmilter" msgstr "Postfixcertbot" msgid "The task of interfacing between antivirus and the email server goes to clamav-milter. A milter (short for mail filter) is a filtering program specially designed to interface with email servers. A milter uses a standard application programming interface (API) that provides much better performance than filters external to the email servers. Milters were initially introduced by Sendmail, but Postfix soon followed suit." msgstr "防病毒软件与电子邮件服务器之间的接口任务由 clamav-milter 执行。milter (mail filter,邮件筛选程序的缩写)是特别设计与电子邮件服务器来接口的筛选程序。milter 使用标准的应用程序接口(API),来提供比电子邮件服务器之外的筛选程序更好的性能。Milters 最初由 Sendmail 引入,但 Postfix 很快就效仿了。" msgid "QUICK LOOK A milter for Spamassassin" msgstr "速览用于 Spamassassin 的 milter" msgid "spamassassin" msgstr "spamassassin" msgid "spamass-milter" msgstr "spamass-milter" #, fuzzy #| msgid "Postfixcertbot" msgid "Postfixspamass-milter" msgstr "Postfixcertbot" msgid "The spamass-milter package provides a milter based on SpamAssassin, the famous unsolicited email detector. It can be used to flag messages as probable spams (by adding an extra header) and/or to reject the messages altogether if their “spamminess” score goes beyond a given threshold." msgstr "spamass-milter 软件包根据 SpamAssassin这个著名的自发电子邮件检测程序来提供milter。它可以用于将消息标记为可能的垃圾邮件(通过添加另外的标头),并且/或者拒绝消息,如果其“垃圾邮件特性”得分超过给定阈值的话。" msgid "Once the clamav-milter package is installed, the milter should be reconfigured to run on a TCP port rather than on the default named socket. This can be achieved with dpkg-reconfigure clamav-milter. When prompted for the “Communication interface with Sendmail”, answer “inet:10002@127.0.0.1”." msgstr "一旦安装了 clamav-milter 软件包,就应该重新配置 milter 来运行在 TCP 端口上,而不是在默认命名套接字上。这可以通过 dpkg-reconfigure clamav-milter 来实现。当提示“Communication interface with Sendmail”( Sendmail 的通讯接口)时,回答 “inet:10002@127.0.0.1”。" msgid "NOTE Real TCP port vs named socket" msgstr "注解 真正的 TCP 端口 vs 命名套接字" msgid "The reason why we use a real TCP port rather than the named socket is that the postfix daemons often run chrooted and do not have access to the directory hosting the named socket. You could also decide to keep using a named socket and pick a location within the chroot (/var/spool/postfix/)." msgstr "我们使用真实的 TCP 端口而不是命名套接字的原因是,postfix 守护进程通常运行 chrooted, 而不能访问作为命名套接字主机的目录。还应该决定一直使用命名套接字,并在 chroot 内选择一个位置(/var/spool/postfix/)。" msgid "The standard ClamAV configuration fits most situations, but some important parameters can still be customized with dpkg-reconfigure clamav-base." msgstr "标准的 ClamAV 配置适应多数情况,但一些重要的参数仍然需要用 dpkg-reconfigure clamav-base 来定制。" msgid "The last step involves telling Postfix to use the recently-configured filter. This is a simple matter of adding the following directive to /etc/postfix/main.cf:" msgstr "最后一步包括告诉 Postfix 使用最近配置的筛选程序。这是件简单的事,将后面的指令添加到 /etc/postfix/main.cf中:" #, fuzzy #| msgid "Postfixsmtpd_miltersDKIM" msgid "Postfixsmtpd_miltersclamav" msgstr "Postfixsmtpd_miltersDKIM" msgid "" "\n" "# Virus check with clamav-milter\n" "smtpd_milters = inet:[127.0.0.1]:10002" msgstr "" "\n" "# Virus check with clamav-milter\n" "smtpd_milters = inet:[127.0.0.1]:10002" msgid "If the antivirus causes problems, this line can be commented out, and systemctl reload postfix should be run so that this change is taken into account." msgstr "如果防病毒软件发生问题,这一行可以被注释掉,并且应该运行 systemctl reload postfix,使这项更改被接受。" msgid "IN PRACTICE Testing the antivirus" msgstr "实践 测试防病毒软件" msgid "Once the antivirus is set up, its correct behavior should be tested. The simplest way to do that is to send a test email with an attachment containing the eicar.com (or eicar.com.zip) file, which can be downloaded online: " msgstr "一旦设置好防病毒,就可以测试它的正确行为了。测试的最简单方式是发送测试电子邮件,包含eicar.com (或 eicar.com.zip)文件的附件,它可以在线下载:" msgid "This file is not a true virus, but a test file that all antivirus software on the market diagnose as a virus to allow checking installations." msgstr "这个文件不是真实的病毒,但市场上的所有防病毒软件将这个测试文件诊断文病毒,这样允许检查防病毒软件的安装。" msgid "All messages handled by Postfix now go through the antivirus filter." msgstr "由 Postfix 处理的所有消息现在经过防病毒软件删选程序。" msgid "Fighting Spam with SPF, DKIM and DMARC" msgstr "用 SPF、DKIM 和 DMARC 应对垃圾邮件" msgid "The high number of unsolicited email sent every day led to the creation of several standards, which aim at validating that the sending host of an email is authorized and that the email has not been tampered with. The following systems are all DNS-based and require the administrators to not only have control over the mail server, but over the DNS for the domain in question too." msgstr "每天大量发送的自发电子邮件导致建立了几条标准,目的在于验证授权的电子邮件的发送主机被授权,以及没有关联的电子邮件是否合法。后面的系统都是基于 DNS 的,并且需要管理员不仅控制邮件服务器,而且还要控制有问题的域的 DNS。" msgid "CAUTION Controversial Discussion" msgstr "警告 有争议的讨论" #, fuzzy #| msgid "Like any other tool, the following standards have limits and real effects if put to use. They can (and should) lead to emails being rejected or even just discarded. If that happens to some legitimate emails (sometimes sent from a misconfigured SMTP server), it usually causes anger and a lack of understanding by the user. Therefor these rules are often applied as a \"soft fail\" or a \"soft reject\", which usually means that failing the checks only leads to adding a (header) mark to the affected email. There are people who think that this makes these standards \"broken by design\". Decide for yourself and be careful about how strict you choose to apply these standards." msgid "Like any other tool, the following standards have limits and real effects if put to use. They can (and should) lead to emails being rejected or even just discarded. If that happens to some legitimate emails (sometimes sent from a misconfigured SMTP server), it usually causes anger and a lack of understanding by the user. Therefore these rules are often applied as a \"soft fail\" or a \"soft reject\", which usually means that failing the checks only leads to adding a (header) mark to the affected email. There are people who think that this makes these standards \"broken by design\". Decide for yourself and be careful about how strict you choose to apply these standards." msgstr "像任何其它工具一样,后面的标准如果投入使用的话,会具有限制和真实效果。它们可以(也应该)导致电子邮件被拒绝或甚至丢弃。如果发生在一些合法的电子邮件上的话(有时发自错误配置的 STMP 服务器),通常会使用户生气并缺乏理解。这样,这些规则通常作为“软失败”或“软拒绝”来应用,这通常意味着检查失败只导致将(标头)标记添加到受影响的电子邮件上。有人认为这些标准“因为设计而失效”。请自己决定并小心要多么严格地来应用这些标准。" msgid "Integrating the Sender Policy Framework (SPF)" msgstr "集成发件人策略框架(Sender Policy Framework,即SPF)" #, fuzzy #| msgid "SIP" msgid "SPF" msgstr "SIP" #, fuzzy #| msgid "Sender Policy Framework " msgid "Sender Policy FrameworkSPF" msgstr "发件人政策框架" msgid "postfix-policyd-spf-python" msgstr "postfix-policyd-spf-python" msgid "The Sender Policy Framework (SPF) is used to validate if a certain mail server is allowed to send emails for a given domain. It is mostly configured through DNS. The syntax for the entry to make is explained in detail at: " msgstr "发件人策略框架(Sender Policy Framework,即SPF)用于验证对于给定的域,某个邮件服务器是否允许合法地发送电子邮件。它主要通过 DNS 来配置。配置入口的语法在: 中具体解释" #, fuzzy #| msgid "The following is a sample DNS entry which states that all the domain's Mail Exchange Resource Records (MX-RRs) are allowed to email the current domain, and all others are prohibited. The DNS entry does not need to be given a name. But to use the include directive it must have one." msgid "The following is a sample DNS entry which states that all the domain's Mail Exchange Resource Records (MX-RRs) are allowed to send email for the current domain, and all others are prohibited. The DNS entry does not need to be given a name. But to use the include directive it must have one." msgstr "后面是示例的 DNS 入口,声明所有域的邮件交换资源记录(Mail Exchange Resource Records,即MX-RRs)允许向当前的域发送电子邮件,而所有其它的被禁止。DNS 入口不需要给予名称。但如果必须要有一个的话,则使用include指令。" #, fuzzy #| msgid "ApacheOrder" msgid "DNSTXTSPF" msgstr "ApacheOrder" #, fuzzy #| msgid "Postfixsmtpd_miltersDKIM" msgid "DNSresource recordTXT" msgstr "Postfixsmtpd_miltersDKIM" msgid "" "" msgstr "" "" msgid "Let's take a quick look at the falcot.org entry." msgstr "让我们快速浏览一下 falcot.org 入口。" msgid "" "\n" "# host -t TXT falcot.org" msgstr "" "\n" "# host -t TXT falcot.org" msgid "It states that the IP of the sender must match the A record for the sending domain, or must be listed as one of the Mail Exchange Resource Records for the current domain, or must be one of the three mentioned IP4 addresses. All other hosts should be marked as not being allowed to send email for the sender domain. The latter is called a \"soft fail\" and is intended to mark the email accordingly, but still accept it." msgstr "它声明发件人的 IP 必须与发送域的记录匹配,或者必须作为当前域的一个电子邮件交换资源记录(Mail Exchange Resource Records)列出,或者必须是三个提到的 IP4 地址之一。所有其它主机应该被标记为不允许对那些发件人域发送电子邮件。后者被称为“软失败”,并且要由此标记电子邮件,但仍可以接受它。" msgid "The postfix mail server can check the SPF record for incoming emails using the postfix-policyd-spf-python package, a policy agent written in Python. The file /usr/share/doc/postfix-policyd-spf-python/README.Debian describes the necessary steps to integrate the agent into postfix, so we won't repeat it here." msgstr "postfix 邮件服务器可以使用 postfix-policyd-spf-python 软件包,对到来的电子邮件来检查 SPF 记录,这个软件包是用 Python 写的策略代理。文件 /usr/share/doc/postfix-policyd-spf-python/README.Debian 描述了将代理集成进 postfix 的必要步骤,因此不在这里重复。" msgid "PostfixSPF" msgstr "PostfixSPF" msgid "The configuration is done in the file /etc/postfix-policyd-spf-python/policyd-spf.conf, which is fully documented in policyd-spf.conf 5 and /usr/share/doc/postfix-policyd-spf-python/policyd-spf.conf.commented.gz. The main configuration parameters are HELO_reject and Mail_From_reject, which configure if emails should be rejected (Fail) or accepted with a header being appended (False), if checks fail. The latter is often useful, when the message is further processed by a spam filter." msgstr "配置在文件 /etc/postfix-policyd-spf-python/policyd-spf.conf 中完成,它完全存档在 policyd-spf.conf 5 和 /usr/share/doc/postfix-policyd-spf-python/policyd-spf.conf.commented.gz中。主要配置参数是 HELO_reject 和 Mail_From_reject,如果检查失败的话,它们将通过将追加标头(False),来配置电子邮件应该被拒绝(Fail)还是应该被接受。当消息被垃圾邮件筛选程序进一步处理时,后者通常很有用。" msgid "If the result is intended to be used by opendmarc (), then Header_Type must be set to AR." msgstr "如果结果要由 opendmarc()使用,那么 Header_Type 必须设置为 AR。" msgid "Note that spamassassin contains a plugin to check the SPF record." msgstr "注意 spamassassin 包含插件来检查 SPF 记录。" msgid "spamassassinSPF" msgstr "spamassassinSPF" msgid "Integrating DomainKeys (DKIM) Signing and Checking" msgstr "和集成 DomainKeys (DKIM) 签名与检查" #, fuzzy #| msgid "LDIF" msgid "DKIM" msgstr "LDIF" #, fuzzy #| msgid "DomainKeys Identified Mail" msgid "DomainKeys Identified MailDKIM" msgstr "DomainKeys 识别的邮件" msgid "opendkim" msgstr "opendkim" msgid "The Domain Keys Identified Mail (DKIM) standard is a sender authentication system. The mail transport agent, here postfix, adds a digital signature associated with the domain name to the header of outgoing emails. The receiving party can validate the message body and header fields by checking the signature against a public key, which is retrieved from the senders DNS records. " msgstr "域密钥识别邮件(Domain Keys Identified Mail,缩写为DKIM)标准是发件人认证系统。邮件传输代理,这里是 postfix,将与域名相联系的数字签名添加到外发电子邮件的标头中。接收部分可以通过相对于发件人 DNS 记录中下载的公钥来检查签名,从而验证消息本体和标头字段。" msgid "The necessary tools are shipped with the opendkim and opendkim-tools packages." msgstr "必要的工具与软件包opendkim 和 opendkim-tools 一起上市。" msgid "CAUTION Mailing List Software and DKIM" msgstr "警告 邮件列表软件和 DKIM" msgid "Mailing list managers often rewrite some email headers, thus leading to invalid DKIM signatures. Even using a relaxed canonicalization does not always prevent this from happening. So the administrators must pay close attention to the mail severs log files to identify such issues. Otherwise such emails might be flagged as spam and might get rejected." msgstr "邮件列表管理器通常重写一些电子邮件的标头,这样导致非法的 DKIM 签名。即使使用 relaxed(放松的) 规范,也不能总是防止发生这个问题。于是管理员必须密切注意邮件服务器的日志文件,来识别这样的问题。否则这样的电子邮件会被标记为垃圾邮件并会被拒绝。" #, fuzzy #| msgid "NFSclient" msgid "DKIMmailing lists" msgstr "NFS客户端" #, fuzzy #| msgid "PostfixDKIM" msgid "mailing listsDKIM" msgstr "PostfixDKIM" msgid "First the private key must be created using the command opendkim-genkey -s SELECTOR -d DOMAIN. SELECTOR must be a unique name for the key. It can be as simple as \"mail\" or the date of creation, if you plan to rotate keys." msgstr "第一个私钥必须使用命令 opendkim-genkey -s SELECTOR -d DOMAIN来创建。 SELECTOR 必须是密钥的唯一名称。如果计划旋转密钥的话,它可以像 “mail”或创建日期那样简单。" msgid "opendkimopendkim-genkey" msgstr "opendkimopendkim-genkey" msgid "Create a private key for signing E-Mails from falcot.com" msgstr "创建私钥用于为来自 falcot.com 的电子邮件签名" msgid "" "\n" "# opendkim-genkey -s mail -d falcot.com -D /etc/dkimkeys\n" "# chown opendkim.opendkim /etc/dkimkeys/mail.*" msgstr "" "\n" "# opendkim-genkey -s mail -d falcot.com -D /etc/dkimkeys\n" "# chown opendkim.opendkim /etc/dkimkeys/mail.*" msgid "This will create the files /etc/dkimkeys/mail.private and /etc/dkimkeys/mail.txt and set the appropriate ownership. The first file contains the private key, and the latter the public key that needs to be added to the DNS:" msgstr "这将创建文件 /etc/dkimkeys/mail.private 和 /etc/dkimkeys/mail.txt,并设置适当的所有权。第一个文件包含私钥,而后一个文件包含需要添加到 DNS 中的公钥:" #, fuzzy #| msgid "Postfixvirtual_mailbox_domains" msgid "DNSTXTmail._domainkey" msgstr "Postfixvirtual_mailbox_domains" #, fuzzy #| msgid "ApacheExecCGI" msgid "DNSTXTDKIM" msgstr "ApacheExecCGI" msgid "" "" msgstr "" "" msgid "The opendkim package in Debian defaults to a keysize of 2048 bit. Unfortunately some DNS servers can only handle text entries with a maximum length of 255 characters, which is exceeded by the chosen default keysize. In this case use the option -b 1024 to chose a smaller keysize. If opendkim-testkey succeeds, the entry has been successfully set up. The syntax of the entry is explained here: " msgstr "Debian 中的 opendkim 软件包默认为 2048 字节。不幸的是一些 DNS 服务器只能处理最大 255 个字符的文本入口,这超过了所选择的默认尺寸。在这种情况下,使用 -b 1024 选项来选择较小的密钥尺寸。如果 opendkim-testkey 成功的话,入口就会被成功设置。入口的语法在这里解释: " #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/default/opendkim" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/opendkim.conf" msgstr "Samba/etc/samba/smb.conf" msgid "To configure opendkim, SOCKET and RUNDIR must be chosen in /etc/default/opendkim. Please note that SOCKET must be accessible from postfix in its chrooted environment. The further configuration is done in /etc/opendkim.conf. The following is a configuration excerpt, which makes sure that the Domain \"falcot.com\" and all subdomains (SubDomain) are signed by the Selector \"mail\" and the single private key (KeyFile) /etc/dkimkeys/mail.private. The \"relaxed\" Canonicalization for both the header and the body tolerates mild modification (by a mailing list software, for example). The filter runs both in signing (\"s\") and verification (\"v\") Mode. If a signature fails to validate (On-BadSignature), the mail should be quarantined (\"q\")." msgstr "为了配置 opendkim,必须在 /etc/default/opendkim 中选择 SOCKET 和 RUNDIR。请注意,必须在 chrooted 环境下从 postfix 中访问 SOCKET 。进一步的配置在 /etc/opendkim.conf 中完成。后面是配置节选,它确定 Domain(域) \"falcot.com\" 和所有子域 (SubDomain)由 Selector(选择器)\"mail\"和单独的私钥 (KeyFile) /etc/dkimkeys/mail.private 来签名。对于标头和本体 “放松的”Canonicalization(规范)能够容忍温和的修改(例如由邮件列表软件)。筛选程序在签名(\"s\")和确认(\"v\")Mode(模式)中运行。如果签名验证失败(On-BadSignature),那么邮件应该被隔离(\"q\")。" msgid "" "" msgstr "" "" msgid "It is also possible to use multiple selectors/keys (KeyTable), domains (SigningTable) and to specify internal or trusted hosts (InternalHosts, ExternalIgnoreList), which may send mail through the server as one of the signing domains without credentials." msgstr "还能够使用多个选择器/密钥(KeyTable)、域(SigningTable)并指定内部或可信任的主机(InternalHosts、ExternalIgnoreList),它们可以通过服务器作为签名的主机之一发送邮件,而无需证书。" msgid "The following directives in /etc/postfix/main.cf make postfix use the filter:" msgstr "后面在 /etc/postfix/main.cf 中的指令使 postfix 使用筛选程序:" msgid "PostfixDKIM" msgstr "PostfixDKIM" msgid "Postfixsmtpd_miltersDKIM" msgstr "Postfixsmtpd_miltersDKIM" msgid "Postfixnon_smtpd_miltersDKIM" msgstr "Postfixnon_smtpd_miltersDKIM" msgid "" "" msgstr "" "" msgid "To differentiate signing and verification it is sometimes more useful to add the directives to the services in /etc/postfix/master.cf instead." msgstr "为了区别签名与核实,有时将指令替代添加到 /etc/postfix/master.cf 的服务中更有用。" msgid "More information is available in the /usr/share/doc/opendkim/ directory and the manual pages opendkim 8 and opendkim.conf 5." msgstr "更多信息可以在 /usr/share/doc/opendkim/ 目录和手册页 opendkim 8 与 opendkim.conf 5 中获得。" msgid "Note that spamassassin contains a plugin to check the DKIM record." msgstr "注意 spamassassin 包含插件来检查 DKIM 记录。" msgid "spamassassinDKIM" msgstr "spamassassinDKIM" msgid "Integrating Domain-based Message Authentication, Reporting and Conformance (DMARC)" msgstr "集成基于域的消息认证、报告与一致性(DMARC)" #, fuzzy #| msgid "LDAP" msgid "DMARC" msgstr "LDAP" #, fuzzy #| msgid "Domain-based Message Authentication, Reporting and Conformance" msgid "Domain-based Message Authentication, Reporting and ConformanceDMARC" msgstr "基于域的消息认证、报告与一致性" msgid "opendmarc" msgstr "opendmarc" #, fuzzy #| msgid "ApacheOrder" msgid "DNSTXT_dmarc" msgstr "ApacheOrder" #, fuzzy #| msgid "ApacheExecCGI" msgid "DNSTXTDMARC" msgstr "ApacheExecCGI" msgid "The Domain-based Message Authentication, Reporting and Conformance (DMARC) standard can be used to define a DNS TXT entry with the name _dmarc and the action that should be taken when emails that contain your domain as the sending host fail to validate using DKIM and SPF. " msgstr "基于域的消息认证、报告与一致性(DMARC)标准,可以通过_dmarc名称来确定 DNS TXT 入口,以及当包含您的域作为发送主机的电子邮件使用 DKIM 和 SPF 验证失败时应该执行的动作。" msgid "Let's have a look at the entries of two large providers:" msgstr "让我们看看两个大提供商的条目:" #, fuzzy #| msgid "" #| "\n" #| "# host -t TXT _dmarc.gmail.com\n" #| "# host -t TXT _dmarc.yahoo.com" msgid "" "\n" "# host -t TXT _dmarc.gmail.com\n" "# host -t TXT _dmarc.yahoo.com" msgstr "" "\n" "# host -t TXT _dmarc.gmail.com\n" "# host -t TXT _dmarc.yahoo.com" msgid "Yahoo has a strict policy to reject all emails pretending to be sent from a Yahoo account but missing or failing DKIM and SPF checks. Google Mail (Gmail) propagates a very relaxed policy, in which such messages from the main domain should still be accepted (p=none). For subdomains they should be marked as spam (sp=quarantine). The addresses given in the rua key can be used to send aggregated DMARC reports to. The full syntax is explained here: " msgstr "Yahoo 具有严格的策略来rejec(拒绝)t所有的电子邮件,防止它们从 Yahoo 账户发送,但没有 DKIM 和 SPF 检查或检查失败。Google Mail (Gmail)传播非常放松的策略,其中来自主域的消息仍然应该被接受(p=none)。对于子域,它们应该被标记为垃圾邮件(sp=quarantine)。在 rua 密钥中给出的地址可以用于将汇总的 DMARC 报告发送给它。完整语法在这里解释: " #, fuzzy #| msgid "Postfixcertbot" msgid "Postfixopendmarc" msgstr "Postfixcertbot" #, fuzzy #| msgid "Examples/etc/postfix/main.cf" msgid "/etc/etc/default/opendmarc" msgstr "示例/etc/postfix/main.cf" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/opendmarc.conf" msgstr "Samba/etc/samba/smb.conf" msgid "The postfix mail server can use this information too. The opendmarc package contains the necessary milter. Similar to opendkim SOCKET and RUNDIR must be chosen in /etc/default/opendmarc (for Unix sockets you must make sure that they are inside the postfix chroot to be found). The configuration file /etc/opendmarc.conf contains detailed comments and is also explained in opendmarc.conf 5. By default, emails failing the DMARC validation are not rejected but flagged, by adding an appropriate header field. To change this, use RejectFailures true." msgstr "postfix 邮件服务器也可以使用这个信息。opendmarc 软件包包含必要的 milter 。与 opendkim 相似,SOCKET 和 RUNDIR 必须在 /etc/default/opendmarc 中选择(对于 Unix 套接字,必须确认它们能够在 postfix chroot 内找到)。配置文件/etc/opendmarc.conf 包含具体的注释,并且还在 opendmarc.conf 5 中解释。DMARC 验证失败的电子邮件默认被拒绝,但通过添加适当的标头字段而被标记。要更改的话,需使用 RejectFailures true。" msgid "The milter is then added to smtpd_milters and non_smtpd_milters. If we configured the opendkim and opendmarc milters to run on ports 12345 and 54321, the entry in /etc/postfix/main.cf looks like this:" msgstr "然后 milter 添加到 smtpd_milters 和 non_smtpd_milters 中。如果我们配置 opendkim 和 opendmarc milters 在端口 12345 和 54321 上运行,那么 /etc/postfix/main.cf 中的入口看起来像这样:" msgid "PostfixDMARC" msgstr "PostfixDMARC" msgid "Postfixsmtpd_miltersDMARC" msgstr "Postfixsmtpd_miltersDMARC" msgid "Postfixnon_smtpd_miltersDMARC" msgstr "Postfixnon_smtpd_miltersDMARC" msgid "" "" msgstr "" "" msgid "The milter can also be selectively applied to a service in /etc/postfix/master.cf instead." msgstr "milter 还可以可选择地替代应用于 /etc/postfix/master.cf 中。" msgid "Authenticated SMTP" msgstr "认证的 SMTP" #, fuzzy #| msgid "SIP" msgid "SASL" msgstr "SIP" #, fuzzy #| msgid "unsolicited commercial emailspam" msgid "Simple Authentication and Security LayerSASL" msgstr "主动的商业电子邮件垃圾邮件" #, fuzzy #| msgid "Postfixinstallation" msgid "Postfixauthentication" msgstr "Postfix安装" #, fuzzy #| msgid "PostfixSPF" msgid "PostfixSASL" msgstr "PostfixSPF" msgid "Being able to send emails requires an SMTP server to be reachable; it also requires said SMTP server to send emails through it. For roaming users, this may need regularly changing the configuration of the SMTP client, since Falcot's SMTP server rejects messages coming from IP addresses apparently not belonging to the company. Two solutions exist: either the roaming user installs an SMTP server on their computer, or they still use the company server with some means of authenticating as an employee. The former solution is not recommended since the computer won't be permanently connected, and it won't be able to retry sending messages in case of problems; we will focus on the latter solution." msgstr "能够发送电子邮件需要能够访问到 SMTP 服务器;还需要所谓的 SMTP 服务器,通过它来发送电子邮件。对于漫游用户,这会需要定期更改 SMTP 客户端的配置,因为 falcot 公司的 SMTP 服务器拒绝来自明显不属于公司 IP 地址的邮件。有两个解决方案:漫游用户在他们的计算机上安装 SMTP 服务器,或者他们通过一些方式被认证为雇员,从而仍然使用公司的服务器。不推荐前面的解决方案,因为计算机不会永远地连接,并且在出现问题时不能重复尝试发送消息;我们将聚焦于后一个解决方案。" msgid "SMTP authentication in Postfix relies on SASL (Simple Authentication and Security Layer). It requires installing the libsasl2-modules and sasl2-bin packages, then registering a password in the SASL database for each user that needs authenticating on the SMTP server. This is done with the saslpasswd2 command, which takes several parameters. The -u option defines the authentication domain, which must match the smtpd_sasl_local_domain parameter in the Postfix configuration. The -c option allows creating a user, and -f allows specifying the file to use if the SASL database needs to be stored at a different location than the default (/etc/sasldb2)." msgstr "Postfix 中的 SMTP 认证依赖于 SASL(Simple Authentication and Security Layer,简单认证与安全层)。它需要安装 libsasl2-modules 和 sasl2-bin 软件包,然后在 SASL 数据库中为 SMTP 服务器上需要认证的每位用户注册密码。这通过 saslpasswd2 命令完成,它使用几个参数。-u 选项确定认证域,必须与 Postfix 配置中的 smtpd_sasl_local_domain 参数匹配。-c 选项允许创建用户,而在 SASL 数据库需要存储在默认位置(/etc/sasldb2)以外的不同位置的情况下,-f允许指定要使用的文件。" msgid "" "\n" "# saslpasswd2 -u `postconf -h myhostname` -f /var/spool/postfix/etc/sasldb2 -c jean\n" "[... type jean's password twice ...]" msgstr "" "\n" "# saslpasswd2 -u `postconf -h myhostname` -f /var/spool/postfix/etc/sasldb2 -c jean\n" "[... type jean's password twice ...]" msgid "Note that the SASL database was created in Postfix's directory. In order to ensure consistency, we also turn /etc/sasldb2 into a symbolic link pointing at the database used by Postfix, with the ln -sf /var/spool/postfix/etc/sasldb2 /etc/sasldb2 command." msgstr "注意 SASL 数据库创建在 Postfix 的目录下。为了确保一致性,还使用 ln -sf /var/spool/postfix/etc/sasldb2 /etc/sasldb2 命令,将 /etc/sasldb2 转变成指向由 Postfix 使用的数据库的符号链接。" msgid "Now we need to configure Postfix to use SASL. First the postfix user needs to be added to the sasl group, so that it can access the SASL account database. A few new parameters are also needed to enable SASL, and the smtpd_recipient_restrictions parameter needs to be configured to allow SASL-authenticated clients to send emails freely." msgstr "现在需要配置 Postfix 来使用 SASL。首先 postfix 用户需要被添加到 sasl 群组中,从而可以访问 SASL 账户数据库。还需要一些新的参数来启用 SASL,并且需要配置 smtpd_recipient_restrictions 参数来允许 SASL 认证的客户端自由发送电子邮件。" #, fuzzy #| msgid "Postfixsmtpd_tls_CApath" msgid "Postfixsmtpd_sasl_auth_enable" msgstr "Postfixsmtpd_tls_CApath" #, fuzzy #| msgid "Postfixvirtual_alias_domains" msgid "Postfixsmtpd_sasl_local_domain" msgstr "Postfixvirtual_alias_domains" #, fuzzy #| msgid "Postfixpermit_mynetworks" msgid "Postfixpermit_sasl_authenticated" msgstr "Postfixpermit_mynetworks" msgid "Enabling SASL in /etc/postfix/main.cf" msgstr "在 /etc/postfix/main.cf 中启用 SASL" msgid "" "\n" "# Enable SASL authentication\n" "smtpd_sasl_auth_enable = yes\n" "# Define the SASL authentication domain to use\n" "smtpd_sasl_local_domain = $myhostname\n" "[...]\n" "# Adding permit_sasl_authenticated before reject_unauth_destination\n" "# allows relaying mail sent by SASL-authenticated users\n" "smtpd_recipient_restrictions =\n" " permit_sasl_authenticated,\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" "[...]" msgstr "" "\n" "# Enable SASL authentication\n" "smtpd_sasl_auth_enable = yes\n" "# Define the SASL authentication domain to use\n" "smtpd_sasl_local_domain = $myhostname\n" "[...]\n" "# Adding permit_sasl_authenticated before reject_unauth_destination\n" "# allows relaying mail sent by SASL-authenticated users\n" "smtpd_recipient_restrictions =\n" " permit_sasl_authenticated,\n" " permit_mynetworks,\n" " reject_unauth_destination,\n" "[...]" msgid "It is usually a good idea to not send passwords over an unencrypted connection. Postfix allows to use different configurations for each port (service) it runs on. All these can be configured with different rules and directives in the /etc/postfix/master.cf file. To turn off authentication at all for port 25 (smtpd service) add the following directive:" msgstr "不通过未加密的连接发送密码通常是好的主意。Postfix 允许为它运行其上的每个端口(服务)使用不同的配置。所有这些可以在 /etc/postfix/master.cf 文件中以不同的规则和指令来配置。为了完全关闭对端口 25(smtpd 服务)的认证,要添加后面的指令:" #, fuzzy #| msgid "Postfix/etc/postfix/main.cf" msgid "Postfix/etc/postfix/master.cf" msgstr "Postfix/etc/postfix/main.cf" msgid "" "" msgstr "" "" #, fuzzy #| msgid "Postfixreject_rhsbl_client" msgid "Postfixbroken_sasl_auth_clients" msgstr "Postfixreject_rhsbl_client" msgid "If for some reason clients use an outdated AUTH command (some very old mail clients do), interoperability with them can be enabled using the broken_sasl_auth_clients directive." msgstr "如果由于一些原因,客户端使用了过期的 AUTH 命令(一些非常老的客户端会这样),那么可以使用 broken_sasl_auth_clients 指令来启用与它们的互操作性。" msgid "EXTRA Authenticated SMTP client" msgstr "补充 认证的 SMTP 客户端" msgid "Most email clients are able to authenticate to an SMTP server before sending outgoing messages, and using that feature is a simple matter of configuring the appropriate parameters. If the client in use does not provide that feature, the workaround is to use a local Postfix server and configure it to relay email via the remote SMTP server. In this case, the local Postfix itself will be the client that authenticates with SASL. Here are the required parameters:" msgstr "多数电子邮件客户端能够在发送外发的消息前对 SMTP 服务器认证,对这个特性的使用不过是简单的配置适当参数的事。如果使用的客户端不提供这样的特性,那么变通方法是使用本地 Postfix 服务器,并配置它通过远程 SMTP 服务器来中继电子邮件。在这种情况下,本地 Postfix 本身将会是用 SASL 验证的客户端。这里是需要的参数:" #, fuzzy #| msgid "Postfixvirtual_alias_maps" msgid "Postfixsmtp_sasl_password_maps" msgstr "Postfixvirtual_alias_maps" msgid "" "\n" "smtp_sasl_auth_enable = yes\n" "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd\n" "relay_host = [mail.falcot.com]" msgstr "" "\n" "smtp_sasl_auth_enable = yes\n" "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd\n" "relay_host = [mail.falcot.com]" msgid "The /etc/postfix/sasl_passwd file needs to contain the username and password to use for authenticating on the mail.falcot.com server. Here is an example:" msgstr "/etc/postfix/sasl_passwd 文件需要包含用户名和密码,用于在 mail.falcot.com 服务器上验证。这里是示例:" msgid "" "\n" "[mail.falcot.com] joe:LyinIsji" msgstr "" "\n" "[mail.falcot.com] joe:LyinIsji" msgid "As for all Postfix maps, this file must be turned into /etc/postfix/sasl_passwd.db with the postmap command." msgstr "对于所有的 Postfix 映射,这个文件必须用 postmap 命令转换为 /etc/postfix/sasl_passwd.db。" msgid "Web Server (HTTP)" msgstr "Web 服务器(HTTP)" #, fuzzy #| msgid "The Falcot Corp administrators decided to use the Apache HTTP server, included in Debian Buster at version 2.4.38." msgid "The Falcot Corp administrators decided to use the Apache HTTP server, included in Debian Bullseye at version 2.4.52." msgstr "Falcot 公司的管理员决定使用 Apache HTTP 服务器,它包括在 Debian Buster 2.4.38版中。" msgid "apache" msgstr "apache" msgid "serverweb" msgstr "服务器web" msgid "web serverApache" msgstr "Web 服务器Apache" msgid "serverHTTP" msgstr "服务器HTTP" #, fuzzy #| msgid "ProxyHTTP" msgid "daemonHTTP" msgstr "ProxyHTTP" msgid "HTTPserverApache" msgstr "HTTP服务器Apache" msgid "ALTERNATIVE Other web servers" msgstr "替代 其它 web 服务器" msgid "Apache is probably the most widely-known web server, but there are others. Its major opponent is nginx, which comes in different packages with different sets of features, like nginx-light, nginx-full, or nginx-extras. Another alternative is lighttpd. All of them can offer very good or even better performance under certain workloads or in certain situations, but not all provide the same number of available features and modules." msgstr "" msgid "nginx" msgstr "nginx" msgid "lighttpd" msgstr "lighttpd" msgid "Installing Apache" msgstr "安装 Apache" #, fuzzy #| msgid "Sambainstallation" msgid "Apacheinstallation" msgstr "Samba安装" #, fuzzy #| msgid "ApacheSSL" msgid "ApacheMPM" msgstr "ApacheSSL" msgid "Installing the apache2 package is all that is needed. It contains all the modules, including the Multi-Processing Modules (MPMs) that affect how Apache handles parallel processing of many requests, which used to be provided in separate apache2-mpm-* packages. It will also pull apache2-utils containing the command line utilities that we will discover later." msgstr "所有需要的只是安装 apache2 软件包。它包含所有的模块,包括 Multi-Processing Modules (MPMs) ,它影响 Apache 如何处理很多请求的并行处理,以前这在另外的 apache2-mpm-* 软件包中提供。它还拉取 apache2-utils,其中包含的命令行应用将在后面讨论。" msgid "The MPM in use affects significantly the way Apache will handle concurrent requests. With the worker MPM, it uses threads (lightweight processes), whereas with the prefork MPM it uses a pool of processes created in advance. With the event MPM it also uses threads, but the inactive connections (notably those kept open by the HTTP keep-alive feature) are handed back to a dedicated management thread." msgstr "使用 MPM 显著地影响 Apache 处理并发请求的方式。通过 worker MPM,它使用 threads(线程)(轻量进程),而通过 prefork MPM,它使用预先创建的进程池。通过 event(事件) MPM,它也使用线程,但非活动连接(显著地由 HTTP keep-alive 特性保持打开的那些)交回给专用的管理线程。" #, fuzzy #| msgid "The Falcot administrators also install libapache2-mod-php7.3 so as to include the PHP support in Apache. This causes the default event MPM to be disabled, and prefork to be used instead. To use the event MPM one can use php7.3-fpm." msgid "The Falcot administrators also install libapache2-mod-php so as to include the PHP 7.4 support in Apache. This causes the default event MPM to be disabled, and prefork to be used instead. To use the event MPM one can use php-fpm." msgstr "Falcot 公司的管理员还安装 libapache2-mod-php7.3,从而在 Apache 中包含 PHP 支持。这使默认的 event(事件) MPM 被禁止,而替代使用 prefork。为了使用 event(事件) MPM,可以使用 php7.3-fpm。" msgid "SECURITY Execution under the www-data user" msgstr "安全 在 www-data 用户下执行" msgid "www-data" msgstr "www-data" #, fuzzy #| msgid "ProxyFTP" msgid "groupwww-data" msgstr "ProxyFTP" msgid "suexec" msgstr "suexec" msgid "Apachewww-data, user" msgstr "Apachewww-data,用户" #, fuzzy #| msgid "ApacheExecCGI" msgid "Apachesuexec" msgstr "ApacheExecCGI" #, fuzzy #| msgid "Apache/etc/apache2/mods-enabled" msgid "Apache/etc/apache2/envvars" msgstr "Apache/etc/apache2/mods-enabled" #, fuzzy #| msgid "By default, Apache handles incoming requests under the identity of the www-data user. This means that a security vulnerability in a CGI script executed by Apache (for a dynamic page) won't compromise the whole system, but only the files owned by this particular user." msgid "By default, Apache handles incoming requests under the identity of the www-data user as defined in /etc/apache2/envvars. This means that a security vulnerability in a CGI script executed by Apache (for a dynamic page) won't compromise the whole system, but only the files owned by this particular user." msgstr "Apache 默认在 www-data 用户身份下处理到来的请求。这意味着由 Apache执行的 CGI 脚本中的安全漏洞将不会使整个系统陷入危险,而只影响这个特定用户所拥有的文件。" msgid "Using the suexec modules, provided by apache2-suexec-* packages, allows bypassing this rule so that some CGI scripts are executed under the identity of another user. This is configured with a SuexecUserGroup usergroup directive in the Apache configuration." msgstr "通过使用由 apache2-suexec-* 软件包提供的 suexec 模块,允许避开这条规则,从而一些 CGI 脚本在其它用户的身份下执行。这由 Apache 配置中的 SuexecUserGroup usergroup 指令来配置。" msgid "libapache2-mpm-itk" msgstr "libapache2-mpm-itk" msgid "Another possibility is to use a dedicated MPM, such as the one provided by libapache2-mpm-itk. This particular one has a slightly different behavior: it allows “isolating” virtual hosts (actually, sets of pages) so that they each run as a different user. A vulnerability in one website therefore cannot compromise files belonging to the owner of another website." msgstr "另一个可能性是使用专用的 MPM,如由 libapache2-mpm-itk 提供的一个。特定的这个具有略微不同的行为:它允许 “隔离” 虚拟主机(实际上是一组页面),从而它们每次作为不同用户运行。这样,一个网站中的漏洞不能使属于另一个网站所有者的文件陷入危险。" msgid "QUICK LOOK List of modules" msgstr "速览 模块的列表" #, fuzzy #| msgid "The full list of Apache standard modules can be found online. " msgid "The full list of Apache standard modules can be found online. " msgstr "Apache 标准模块的完整列表可以在线找到。" msgid "Apache is a modular server, and many features are implemented by external modules that the main program loads during its initialization. The default configuration only enables the most common modules, but enabling new modules is a simple matter of running a2enmod module; to disable a module, the command is a2dismod module. These programs actually only create (or delete) symbolic links in /etc/apache2/mods-enabled/, pointing at the actual files (stored in /etc/apache2/mods-available/)." msgstr "Apache 是模块化的服务器,而它的很多特性由主程序在初始化时装载的外部模块来实施。默认配置只启用最常用的模块,但启用新的模块不过是运行 a2enmod module的简单事情;要禁止模块,命令是a2dismod module。这些程序实际上只创建(或删除)/etc/apache2/mods-enabled/中的符号链接,它们指向真实文件(存储在 /etc/apache2/mods-available/中)。" #, fuzzy #| msgid "Apache/etc/apache2/mods-enabled" msgid "/etc/etc/apache2/Apache" msgstr "Apache/etc/apache2/mods-enabled" #, fuzzy #| msgid "Apache/etc/apache2/mods-available" msgid "Apache/etc/apache2/mods-available/" msgstr "Apache/etc/apache2/mods-available" #, fuzzy #| msgid "Apache/etc/apache2/mods-enabled" msgid "Apache/etc/apache2/mods-enabled/" msgstr "Apache/etc/apache2/mods-enabled" msgid "Apachea2enmod" msgstr "Apachea2enmod" #, fuzzy #| msgid "Apachea2enmod" msgid "Apachea2dismod" msgstr "Apachea2enmod" #, fuzzy #| msgid "nmbd" msgid "a2enmod" msgstr "nmbd" #, fuzzy #| msgid "smbd" msgid "a2dismod" msgstr "smbd" msgid "IN PRACTICE Checking the configuration" msgstr "实践 检查配置" #, fuzzy #| msgid "ApacheDeny from" msgid "Apachemod_info, module" msgstr "ApacheDeny from" msgid "The mod_info module (a2enmod info) allows to access the comprehensive Apache server configuration and information via browser visiting http://localhost/server-info. Because it might contain sensitive information, access is only allowed from the local host by default. " msgstr "mod_info 模块(a2enmod info)允许通过浏览器访问http://localhost/server-info,来访问所有的 Apache 服务器配置和信息。因为它会包含敏感信息,默认只允许来自本地主机的访问。" msgid "With its default configuration, the web server listens on port 80 (as configured in /etc/apache2/ports.conf), and serves pages from the /var/www/html/ directory (as configured in /etc/apache2/sites-enabled/000-default.conf)." msgstr "通过其默认设置,web 服务器监听端口 80 (如在 /etc/apache2/ports.conf 中所配置的),并且为来自 /var/www/html/ 目录的页面提供服务(如在 /etc/apache2/sites-enabled/000-default.conf中所配置的)。" #, fuzzy #| msgid "Apache/etc/apache2/conf-enabled" msgid "Apache/etc/apache2/ports.conf" msgstr "Apache/etc/apache2/conf-enabled" msgid "Adding support for SSL" msgstr "为 SSL 添加支持" msgid "HTTPS" msgstr "HTTPS" #, fuzzy #| msgid "HTTPsecure" msgid "HTTPsecureHTTPS" msgstr "HTTP安全" msgid "ApacheSSL" msgstr "ApacheSSL" #, fuzzy #| msgid "ApacheOptions" msgid "Apachemod_ssl, module" msgstr "Apache选项" #, fuzzy #| msgid "Apache/etc/apache2/sites-available" msgid "Apache/etc/apache2/sites-available/default-ssl.conf" msgstr "Apache/etc/apache2/sites-available" msgid "Apache 2.4 includes the SSL module (mod_ssl) required for secure HTTP (HTTPS) out of the box. It just needs to be enabled with a2enmod ssl, then the required directives have to be added to the configuration files. A configuration example is provided in /etc/apache2/sites-available/default-ssl.conf. " msgstr "Apache 2.4 包括用于保护开箱即用的 HTTP(HTTPS)所需的 SSL 模块(mod_ssl)。它只需要用 a2enmod ssl 来启用,然后所需的指令必须添加到配置文件中。配置示例提供在 /etc/apache2/sites-available/default-ssl.conf 中。" msgid "If you want to generate trusted certificates, you can follow section and then adjust the following variables:" msgstr "如果想要生成受信任的证书,可以按照 这一节,然后调整后面的变量:" #, fuzzy #| msgid "ApacheLogFormat" msgid "ApacheSSLCertificateFile, directive" msgstr "ApacheLogFormat" #, fuzzy #| msgid "ApacheDirectory" msgid "ApacheSSLCertificateKeyFile, directive" msgstr "Apache目录" #, fuzzy #| msgid "ApacheLogFormat" msgid "ApacheSSLCertificateChainFile, directive" msgstr "ApacheLogFormat" #, fuzzy #| msgid "ApacheLogFormat" msgid "ApacheSSLCACertificateFile, directive" msgstr "ApacheLogFormat" msgid "" "\n" "SSLCertificateFile /etc/letsencrypt/live/DOMAIN/fullchain.pem\n" "SSLCertificateKeyFile /etc/letsencrypt/live/DOMAIN/privkey.pem\n" "SSLCertificateChainFile /etc/letsencrypt/live/DOMAIN/chain.pem\n" "SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt" msgstr "" "\n" "SSLCertificateFile /etc/letsencrypt/live/DOMAIN/fullchain.pem\n" "SSLCertificateKeyFile /etc/letsencrypt/live/DOMAIN/privkey.pem\n" "SSLCertificateChainFile /etc/letsencrypt/live/DOMAIN/chain.pem\n" "SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt" #, fuzzy #| msgid "Some extra care must be taken if you want to favor SSL connections with Perfect Forward Secrecy (those connections use ephemeral session keys ensuring that a compromission of the server's secret key does not result in the compromission of old encrypted traffic that could have been stored while sniffing on the network). Have a look at Mozilla's recommendations in particular: " msgid "Some extra care must be taken if you want to favor SSL connections with Perfect Forward Secrecy (those connections use ephemeral session keys ensuring that a compromise of the server's secret key does not result in the compromise of old encrypted traffic that could have been stored while sniffing on the network). Have a look at Mozilla's recommendations in particular: " msgstr "流量如果偏爱 SSL 与 Perfect Forward Secrecy(完全正向保密) 链接的话,必须更要小心 (那些连接使用短暂的会话密钥,来确保服务器密钥陷入危险时不会导致在网络上嗅探时存储的旧的加密交流陷入危险)。特别要看看 Mozilla 的推荐:" msgid "Perfect Forward Secrecy" msgstr "Perfect Forward Secrecy(完全正向保密)" #, fuzzy #| msgid "As an alternative to the standard SSL module, there is an extension module called mod_gnutls, which is shipped with the libapache2-mod-gnutls package and enabled with the a2enmod gnutls command. " msgid "As an alternative to the standard SSL module, there is an extension module called mod_gnutls, which is shipped with the libapache2-mod-gnutls package and enabled with the a2enmod gnutls command. Unfortunately the version packaged for Debian had serious issues and even security implications and is therefor not part of the Debian Bullseye release. " msgstr "作为对标准 SSL 模块的替代,有个被称为 mod_gnutls 的扩展模块,它与 libapache2-mod-gnutls 软件包一起上市,并且用 a2enmod gnutls 命令来启用。" #, fuzzy #| msgid "ApacheOptions" msgid "Apachemod_gnutls, module" msgstr "Apache选项" msgid "Configuring Virtual Hosts" msgstr "配置虚拟主机" #, fuzzy #| msgid "ApacheVirtual Hosts" msgid "Apachevirtual hosts" msgstr "Apache虚拟主机" #, fuzzy #| msgid "ApacheVirtualHost" msgid "ApacheVirtualHost, directive" msgstr "Apache虚拟主机" msgid "A virtual host is an extra identity for the web server." msgstr "虚拟主机是 web 服务器额外的身份。" msgid "virtual host" msgstr "virtual host(虚拟主机)" msgid "Apache considers two different kinds of virtual hosts: those that are based on the IP address (or the port), and those that rely on the domain name of the web server. The first method requires allocating a different IP address (or port) for each site, whereas the second one can work on a single IP address (and port), and the sites are differentiated by the hostname sent by the HTTP client (which only works in version 1.1 of the HTTP protocol — fortunately that version is old enough that all clients use it already)." msgstr "Apache 考虑两个不同种类的虚拟主机:基于 IP 地址(或端口)的那些,和依赖于 web 服务器域名的那些。第一种方法需要为每个网站分配不同的 IP 地址(或端口),而第二种可以工作在单一 IP 地址(或端口)上,并且网站由 HTTP 客户端发送的主机名来区分(只工作在 HTTP 协议的 1.1 版本下——幸运的是版本足够老,所有的客户端都已经使用了)。" msgid "The (increasing) scarcity of IPv4 addresses usually favors the second method; however, it is made more complex if the virtual hosts need to provide HTTPS too, since the SSL protocol hasn't always provided for name-based virtual hosting; the SNI extension (Server Name Indication) that allows such a combination is not handled by all browsers. When several HTTPS sites need to run on the same server, they will usually be differentiated either by running on a different port or on a different IP address (IPv6 can help there)." msgstr "IPv4 地址(增加的)稀缺性通常偏爱第二种方法;然而虚拟主机也需要提供 HTTPS 的话会变得更复杂,因为 SSL 协议不总是为基于名称的虚拟主机而提供;允许这样组合的 SNI 扩展(Server Name Indication(服务器名称指示))并不被所有浏览器处理。当几个 HTTPS 网站需要在相同的服务器上运行时,它们通常或者由在不同的端口上,或者在不同的 IP 地址上运行来区分(IPv6 在这里会有帮助)。" #, fuzzy #| msgid "HTTPsecure" msgid "HTTPSSNI" msgstr "HTTP安全" #, fuzzy #| msgid "ApacheVirtual Hosts" msgid "Apachevirtual hostsname based" msgstr "Apache虚拟主机" #, fuzzy #| msgid "ApacheSSL" msgid "ApacheSNI" msgstr "ApacheSSL" #, fuzzy #| msgid "SIP" msgid "SNI" msgstr "SIP" msgid "The default configuration for Apache 2 enables name-based virtual hosts. In addition, a default virtual host is defined in the /etc/apache2/sites-enabled/000-default.conf file; this virtual host will be used if no host matching the request sent by the client is found." msgstr "Apache 2 的默认配置启用基于名称的虚拟主机。此外,默认虚拟主机在 /etc/apache2/sites-enabled/000-default.conf 文件中定义;如果没有发现与客户端发送的请求相匹配的主机的话,这个虚拟主机将被使用。" #, fuzzy #| msgid "ApacheVirtual Hosts" msgid "Apachevirtual hostsdefault" msgstr "Apache虚拟主机" msgid "CAUTION First virtual host" msgstr "警告 第一虚拟主机" msgid "Requests concerning unknown virtual hosts will always be served by the first defined virtual host, which is why we defined www.falcot.com first here." msgstr "关于未知虚拟主机的请求总是由首先定义的虚拟主机来服务,这就是为什么我们首先在这里定义 www.falcot.com。" msgid "QUICK LOOK Apache supports SNI" msgstr "速览 Apache 支持 SNI" #, fuzzy #| msgid "Server Name Indication" msgid "Server Name IndicationSNI" msgstr "Server Name Indication(服务器名称指示)" msgid "The Apache server supports an SSL protocol extension called Server Name Indication (SNI). This extension allows the browser to send the hostname of the web server during the establishment of the SSL connection, much earlier than the HTTP request itself, which was previously used to identify the requested virtual host among those hosted on the same server (with the same IP address and port). This allows Apache to select the most appropriate SSL certificate for the transaction to proceed." msgstr "Apache 服务器支持 SSL 协议扩展,被称为 Server Name Indication(服务器名称指示) (SNI)。这个扩展允许在建立 SSL 连接的过程中浏览器发送 web 服务器的主机名,比 HTTP 请求本身早得多,这在之前用于识别以相同服务器(具有相同的地址和端口)作为主机的那些请求的虚拟主机。这允许 Apache 选择最适当的 SSL 证书来继续传输。" msgid "Before SNI, Apache would always use the certificate defined in the default virtual host. Clients trying to access another virtual host would then display warnings, since the certificate they received didn't match the website they were trying to access. Fortunately, most browsers now work with SNI; this includes Microsoft Internet Explorer starting with version 7.0 (starting on Vista), Mozilla Firefox starting with version 2.0, Apple Safari since version 3.2.1, and all versions of Google Chrome." msgstr "在 SNI 之前,Apache 总是使用默认的虚拟主机中定义的证书。试图访问其它虚拟主机的客户端然后显示警告,因为它们接收到的证书与它们试图访问的网站不匹配。幸运的是,多数浏览器现在通过 SNI 来工作;这包括自 7.0 版本开始的微软 IE(从 Vista 开始)、从2.0 版本开始的 Mozilla Firefox和从 3.2.1 版本开始的苹果 Safari,以及所有版本的谷歌 Chrome。" msgid "The Apache package provided in Debian is built with support for SNI; no particular configuration is therefore needed." msgstr "Debian 中提供的 Apache 软件包建有对 SNI 的支持;这样,不需要特别的配置。" msgid "Each extra virtual host is then described by a file stored in /etc/apache2/sites-available/. Setting up a website for the falcot.org domain is therefore a simple matter of creating the following file, then enabling the virtual host with a2ensite www.falcot.org." msgstr "每一个额外的虚拟主机都由 /etc/apache2/sites-available/ 中存储的文件来描述。这样,为 falcot.org 域设置网站就是创建后面的文件,然后通过 a2ensite www.falcot.org 启用虚拟主机这样简单的事情。" #, fuzzy #| msgid "Apache/etc/apache2/sites-available" msgid "Apache/etc/apache2/sites-available/" msgstr "Apache/etc/apache2/sites-available" #, fuzzy #| msgid "Apache/etc/apache2/sites-enabled" msgid "Apache/etc/apache2/sites-enabled/" msgstr "Apache/etc/apache2/sites-enabled" msgid "Apachea2ensite" msgstr "Apachea2ensite" #, fuzzy #| msgid "apache" msgid "a2ensite" msgstr "apache" msgid "The /etc/apache2/sites-available/www.falcot.org.conf file" msgstr "/etc/apache2/sites-available/www.falcot.org.conf 文件" msgid "" "\n" "ServerName www.falcot.org\n" "ServerAlias falcot.org\n" "DocumentRoot /srv/www/www.falcot.org\n" "\n" "]]>" msgstr "" "\n" "ServerName www.falcot.org\n" "ServerAlias falcot.org\n" "DocumentRoot /srv/www/www.falcot.org\n" "\n" "]]>" msgid "The Apache server, as configured so far, uses the same log files for all virtual hosts (although this could be changed by adding CustomLog directives in the definitions of the virtual hosts). It therefore makes good sense to customize the format of this log file to have it include the name of the virtual host. This can be done by creating a /etc/apache2/conf-available/customlog.conf file that defines a new format for all log files (with the LogFormat directive) and by enabling it with a2enconf customlog. The CustomLog line must also be removed (or commented out) from the /etc/apache2/sites-available/000-default.conf file." msgstr "迄今为止配置的 Apache 服务器对所有虚拟主机使用了相同的日志文件(尽管可以通过在虚拟主机的定义中添加 CustomLog 指令来更改)。这样,很好理解去定制这个日志文件的格式来使它包含虚拟主机的名称。这可以通过创建为所有日志文件定义了新格式的 /etc/apache2/conf-available/customlog.conf 文件来进行,并通过 a2enconf customlog 来启用。还必须从 /etc/apache2/sites-available/000-default.conf 文件中删除(或注释掉) CustomLog 行。" #, fuzzy #| msgid "ApacheCustomLog" msgid "ApacheCustomLog, directive" msgstr "ApacheCustomLog" #, fuzzy #| msgid "ApacheLogFormat" msgid "ApacheLogFormat, directive" msgstr "ApacheLogFormat" #, fuzzy #| msgid "Apache/etc/apache2/conf-available" msgid "Apache/etc/apache2/conf-available/" msgstr "Apache/etc/apache2/conf-available" #, fuzzy #| msgid "Apache/etc/apache2/conf-enabled" msgid "Apache/etc/apache2/conf-enabled/" msgstr "Apache/etc/apache2/conf-enabled" msgid "Apachea2enconf" msgstr "Apachea2enconf" #, fuzzy #| msgid "apache" msgid "a2enconf" msgstr "apache" msgid "The /etc/apache2/conf-available/customlog.conf file" msgstr "/etc/apache2/conf-available/customlog.conf 文件" msgid "" "\n" "# New log format including (virtual) host name\n" "LogFormat \"%v %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" vhost\n" "\n" "# Now let's use this \"vhost\" format by default\n" "CustomLog /var/log/apache2/access.log vhost" msgstr "" "\n" "# New log format including (virtual) host name\n" "LogFormat \"%v %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" vhost\n" "\n" "# Now let's use this \"vhost\" format by default\n" "CustomLog /var/log/apache2/access.log vhost" msgid "Common Directives" msgstr "常用指令" msgid "This section briefly reviews some of the commonly-used Apache configuration directives." msgstr "这一节简要地回顾了一些通常使用的 Apache 配置指令。" msgid "directives, Apache" msgstr "指令,Apache" msgid "Apachedirectives" msgstr "Apache指令" msgid "The main configuration file usually includes several Directory blocks; they allow specifying different behaviors for the server depending on the location of the file being served. Such a block commonly includes Options and AllowOverride directives." msgstr "主要配置文件通常包括几个 Directory(目录) 块;它们允许为依赖于所服务的文件的位置的服务器指定不同行为。这样的块通常包括 Options 和 AllowOverride 指令。" #, fuzzy #| msgid "ApacheDirectory" msgid "ApacheDirectory, directive" msgstr "Apache目录" #, fuzzy #| msgid "ApacheOptions" msgid "ApacheOptions, directive" msgstr "Apache选项" #, fuzzy #| msgid "ApacheAllowOverride" msgid "ApacheAllowOverride, directive" msgstr "ApacheAllowOverride" #, fuzzy #| msgid "ApacheDirectoryIndex" msgid "ApacheDirectoryIndex, directive" msgstr "ApacheDirectoryIndex" msgid "Directory block" msgstr "目录块" msgid "" "\n" "Options Includes FollowSymlinks\n" "AllowOverride All\n" "DirectoryIndex index.php index.html index.htm\n" "\n" "]]>" msgstr "" "\n" "Options Includes FollowSymlinks\n" "AllowOverride All\n" "DirectoryIndex index.php index.html index.htm\n" "\n" "]]>" msgid "The DirectoryIndex directive contains a list of files to try when the client request matches a directory. The first existing file in the list is used and sent as a response." msgstr "DirectoryIndex 指令包含当客户端请求匹配目录时尝试的文件列表。列表中存在的第一个文件被使用,并作为响应来发送。" msgid "The Options directive is followed by a list of options to enable. The None value disables all options; correspondingly, All enables them all except MultiViews. Available options include:" msgstr "Options 指令后面是被启用的选项列表。None 值禁止了所有的选项;相应地,All 全部启用它们,除了MultiViews。可用选项包括:" msgid "ExecCGI indicates that CGI scripts can be executed." msgstr "ExecCGI 指示可以执行 CGI 脚本。" #, fuzzy #| msgid "ApacheExecCGI" msgid "ApacheExecCGI, directive" msgstr "ApacheExecCGI" msgid "FollowSymlinks tells the server that symbolic links can be followed, and that the response should contain the contents of the target of such links." msgstr "FollowSymlinks 告诉服务器可以跟随符号链接,并且响应应该包含这个链接目标的内容。" #, fuzzy #| msgid "ApacheFollowSymlinks" msgid "ApacheFollowSymlinks, directive" msgstr "ApacheFollowSymlinks" #, fuzzy #| msgid "SymlinksIfOwnerMatch also tells the server to follow symbolic links, but only when the link and the its target have the same owner." msgid "SymlinksIfOwnerMatch also tells the server to follow symbolic links, but only when the link and its target have the same owner." msgstr "SymlinksIfOwnerMatch 还告诉服务器跟随符号链接,但只当链接及其目标具有相同的所有者的时候进行。" #, fuzzy #| msgid "ApacheSymlinksIfOwnerMatch" msgid "ApacheSymlinksIfOwnerMatch, directive" msgstr "ApacheSymlinksIfOwnerMatch" msgid "Includes enables Server Side Includes (SSI for short). These are directives embedded in HTML pages and executed on the fly for each request." msgstr "Includes 启用 Server Side Includes(服务器一侧包含)(缩写为 SSI)。这些指令嵌入 HTML 页面中,并对每个请求动态执行。" #, fuzzy #| msgid "ApacheIncludes" msgid "ApacheIncludes, directive" msgstr "Apache包括" #, fuzzy #| msgid "ApacheSSL" msgid "ApacheSSI" msgstr "ApacheSSL" msgid "IncludesNOEXEC allows Server Side Includes (SSI) but disables the exec command and limits the include directive to text/markup files." msgstr "IncludesNOEXEC 允许 Server Side Includes(服务器一侧执行)(缩写为 SSI),但禁止 exec 命令并对文本/标记文件限制 include 指令。" #, fuzzy #| msgid "ApacheIncludesNOEXEC" msgid "ApacheIncludesNOEXEC, directive" msgstr "ApacheIncludesNOEXEC" msgid "Indexes tells the server to list the contents of a directory if the HTTP request sent by the client points at a directory without an index file (i.e., when no files mentioned by the DirectoryIndex directive exists in this directory)." msgstr "Indexes 告诉服务器如果由客户端发送的 HTTP 请求指向没有索引文件的目录(也就是DirectoryIndex 指令提到的文件不存在于这个目录中时),那么列出目录的内容。" #, fuzzy #| msgid "ApacheIndexes" msgid "ApacheIndexes, directive" msgstr "Apache索引" msgid "MultiViews enables content negotiation; this can be used by the server to return a web page matching the preferred language as configured in the browser." msgstr "MultiViews 启用了内容协商;这可以被服务器使用,来返回与浏览器中配置的所需语言相匹配的 web 页面。" #, fuzzy #| msgid "ApacheMultiViews" msgid "ApacheMultiViews, directive" msgstr "ApacheMultiViews" msgid "BACK TO BASICS .htaccess file" msgstr "基本知识 .htaccess 文件" msgid "Apache.htaccess" msgstr "Apache.htaccess" msgid ".htaccess" msgstr ".htaccess" msgid "The .htaccess file contains Apache configuration directives enforced each time a request concerns an element of the directory where it is stored. The scope of these directives also recurses to all the subdirectories within." msgstr ".htaccess 文件包含 Apache 配置指令,每次请求涉及其所存储的目录中的元素时会强制执行配置指令。这些指令的范围还递归到其中所有的子目录。" msgid "Most of the directives that can occur in a Directory block are also legal in a .htaccess file." msgstr "在 Directory 块中能够发生的多数指令在 .htaccess 文件中也是合法的。" msgid "The AllowOverride directive lists all the options that can be enabled or disabled by way of a .htaccess file. A common use of this option is to restrict ExecCGI, so that the administrator chooses which users are allowed to run programs under the web server's identity (the www-data user)." msgstr "AllowOverride 指令列出可以由 .htaccess 文件的方式启用或禁止的所有选项。这个选项通常用于限制 ExecCGI,从而管理员选择哪些用户在 web 服务器身份(www-data 用户)下允许运行程序。" msgid "Requiring Authentication" msgstr "需要身份认证" msgid "web authentication" msgstr "web 认证" #, fuzzy #| msgid "ApacheIP-based authentication" msgid "authenticationweb authentication" msgstr "Apache基于 IP 的认证" msgid "Apachepassword-based authentication" msgstr "Apache基于密码的认证" #, fuzzy #| msgid "In some circumstances, access to part of a website needs to be restricted, so only legitimate users who provide a username and a password are granted access to the contents." msgid "In some circumstances, access to part of a website needs to be restricted, so only legitimate users who provide a username and a password are granted access to the contents. These feature are provided by the mod_auth* modules." msgstr "在一些情形下,需要限制对部分网站的访问,所以只有提供用户名和密码的合法用户被授权访问内容。" #, fuzzy #| msgid "Apachewww-data, user" msgid "Apachemod_auth*, modules" msgstr "Apachewww-data,用户" msgid ".htaccess file requiring authentication" msgstr ".htaccess 文件需要授权" #, fuzzy #| msgid "ApacheRequire" msgid "ApacheRequire, directive" msgstr "Apache需要" #, fuzzy #| msgid "ApacheCustomLog" msgid "ApacheAuthName, directive" msgstr "ApacheCustomLog" #, fuzzy #| msgid "ApacheRequire" msgid "ApacheAuthType, directive" msgstr "Apache需要" #, fuzzy #| msgid "ApacheRequire" msgid "ApacheAuthUserFile, directive" msgstr "Apache需要" msgid "" "\n" "Require valid-user\n" "AuthName \"Private directory\"\n" "AuthType Basic\n" "AuthUserFile /etc/apache2/authfiles/htpasswd-private" msgstr "" "\n" "Require valid-user\n" "AuthName \"Private directory\"\n" "AuthType Basic\n" "AuthUserFile /etc/apache2/authfiles/htpasswd-private" msgid "SECURITY No security" msgstr "安全 无安全问题" msgid "The authentication system used in the above example (Basic) has minimal security as the password is sent in clear text (it is only encoded as base64, which is a simple encoding rather than an encryption method). It should also be noted that the documents “protected” by this mechanism also go over the network in the clear. If security is important, the whole HTTP connection should be encrypted with SSL." msgstr "上面的示例中使用的认证系统(Basic)具有最低的安全性,因为密码以明文发送(只加密为base64,这只是简单的编码而不是加密方法)。还应该注意,由这种机制“保护”的文件在网络上同样清楚地交流。如果安全性是重要的,那么整个 HTTP 连接应该由 SSL 加密。" msgid "The /etc/apache2/authfiles/htpasswd-private file contains a list of users and passwords; it is commonly manipulated with the htpasswd command. For example, the following command is used to add a user or change their password:" msgstr "/etc/apache2/authfiles/htpasswd-private 文件包含用户和密码的列表;它通常由 htpasswd 命令来操作。例如后面的命令用于添加用户或更改他们的密码:" msgid "htpasswd" msgstr "htpasswd" #, fuzzy #| msgid "Apachea2enmod" msgid "Apachehtpasswd" msgstr "Apachea2enmod" msgid "" "\n" "# htpasswd /etc/apache2/authfiles/htpasswd-private user\n" "New password:\n" "Re-type new password:\n" "Adding password for user user\n" "" msgstr "" "\n" "# htpasswd /etc/apache2/authfiles/htpasswd-private user\n" "New password:\n" "Re-type new password:\n" "Adding password for user user\n" "" msgid "Restricting Access" msgstr "限制访问" msgid "web access restriction" msgstr "web 访问限制" msgid "ApacheIP-based authentication" msgstr "Apache基于 IP 的认证" msgid "The Require directive controls access restrictions for a directory (and its subdirectories, recursively). " msgstr "Require 指令控制对目录(递归地,及其子目录)的访问限制。" msgid "It can be used to restrict access based on many criteria; we will stop at describing access restriction based on the IP address of the client, but it can be made much more powerful than that, especially when several Require directives are combined within a RequireAll block." msgstr "它可以基于很多标准用来限制访问;我们会停在描述根据客户端的 IP 地址来限制访问上,但它的功能比这个更强大,特别是在 RequireAll 块中组合几个 Require 指令的时候。" msgid "Only allow from the local network" msgstr "只允许来自本地网络" msgid "Require ip 192.168.0.0/16" msgstr "需要 ip 192.168.0.0/16" msgid "ALTERNATIVE Old syntax" msgstr "替代 旧的语法" msgid "The Require syntax is only available in Apache 2.4 (the version shipped since Jessie). For users of Wheezy, the Apache 2.2 syntax is different, and we describe it here mainly for reference, although it can also be made available in Apache 2.4 using the mod_access_compat module." msgstr "Require 语法只在 Apache 2.4 中可用(从 Jessie 开始上市的版本)。对于 Wheezy 的用户, Apache 2.2 的语法不同,我们在这里描述主要用于参考,尽管可以使用 mod_access_compat 模块在 Apache 2.4 中得到。" msgid "The Allow from and Deny from directives control access restrictions for a directory (and its subdirectories, recursively)." msgstr "Allow from 和 Deny from 指令控制对目录(及其子目录,递归地)的访问限制。" #, fuzzy #| msgid "ApacheAllow from" msgid "ApacheAllow from, directive" msgstr "ApacheAllow from" #, fuzzy #| msgid "ApacheDeny from" msgid "ApacheDeny from, directive" msgstr "ApacheDeny from" #, fuzzy #| msgid "ApacheOrder" msgid "ApacheOrder, directive" msgstr "ApacheOrder" msgid "The Order directive tells the server of the order in which the Allow from and Deny from directives are applied; the last one that matches takes precedence. In concrete terms, Order deny,allow allows access if no Deny from applies, or if an Allow from directive does. Conversely, Order allow,deny rejects access if no Allow from directive matches (or if a Deny from directive applies)." msgstr "Order 指令告诉服务器 Allow from 和 Deny from 指令应用的顺序;匹配的最后一个获得优先权。具体来说,如果不应用 Deny from 的话,或者如果 Allow from 指令执行的话,则 Order deny,allow 允许访问。相反,如果 Allow from 指令不匹配(或者如果应用 Deny from 指令),那么Order allow,deny 拒绝访问。" msgid "The Allow from and Deny from directives can be followed by an IP address, a network (such as 192.168.0.0/255.255.255.0, 192.168.0.0/24 or even 192.168.0), a hostname or a domain name, or the all keyword, designating everyone." msgstr "Allow from 和 Deny from 指令可以在后面跟 IP 地址、网络(如 192.168.0.0/255.255.255.0、192.168.0.0/24 或者甚至 192.168.0)、主机名或域名、或者 all 关键字来指定每个人。" msgid "For instance, to reject connections by default but allow them from the local network, you could use this:" msgstr "例如,要默认拒绝连接但允许连接来自本地网络的链接,可以使用这个:" msgid "" "\n" "Order deny,allow\n" "Allow from 192.168.0.0/16\n" "Deny from all" msgstr "" "\n" "Order deny,allow\n" "Allow from 192.168.0.0/16\n" "Deny from all" msgid "Log Analyzers" msgstr "日志分析程序" msgid "A log analyzer is frequently installed on a web server; since the former provides the administrators with a precise idea of the usage patterns of the latter." msgstr "日志分析程序频繁地安装在 web 服务器上;因为前者为管理员提供了后者使用方式的精确概念。" msgid "The Falcot Corp administrators selected AWStats (Advanced Web Statistics) to analyze their Apache log files." msgstr "Falcot 公司的管理员选择 AWStats(Advanced Web Statistics)来分析他们的 Apache 日志文件。" #, fuzzy #| msgid "htpasswd" msgid "awstats" msgstr "htpasswd" msgid "web logs analyzer" msgstr "web 日志分析程序" #, fuzzy #| msgid "logsweb logs analyzer" msgid "log filesweb logs analyzer" msgstr "日志web 日志分析程序" #, fuzzy #| msgid "analyzer of web logs" msgid "analyzer, of web logs" msgstr "web 日志的分析程序" msgid "Apachelog analyzer" msgstr "Apache日志分析程序" msgid "The first configuration step is the customization of the /etc/awstats/awstats.conf file. The Falcot administrators keep it unchanged apart from the following parameters:" msgstr "第一个配置步骤是定制 /etc/awstats/awstats.conf 文件。Falcot 公司的管理员只更改后面的参数,而保持其它不变:" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/awstats/awstats.conf" msgstr "Samba/etc/samba/smb.conf" msgid "" "\n" "LogFile=\"/var/log/apache2/access.log\"\n" "LogFormat = \"%virtualname %host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot\"\n" "SiteDomain=\"www.falcot.com\"\n" "HostAliases=\"falcot.com REGEX[^.*\\.falcot\\.com$]\"\n" "DNSLookup=1\n" "LoadPlugin=\"tooltips\"" msgstr "" "\n" "LogFile=\"/var/log/apache2/access.log\"\n" "LogFormat = \"%virtualname %host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot\"\n" "SiteDomain=\"www.falcot.com\"\n" "HostAliases=\"falcot.com REGEX[^.*\\.falcot\\.com$]\"\n" "DNSLookup=1\n" "LoadPlugin=\"tooltips\"" msgid "All these parameters are documented by comments in the template file. In particular, the LogFile and LogFormat parameters describe the location and format of the log file and the information it contains; SiteDomain and HostAliases list the various names under which the main web site is known." msgstr "所有这些参数由模板文件中的注释来存档。特别是,LogFile 和 LogFormat 参数描述了日志文件以及其包含的信息;SiteDomain 和 HostAliases 列出了获知主网站的各个名称。" msgid "For high traffic sites, DNSLookup should usually not be set to 1; for smaller sites, such as the Falcot one described above, this setting allows getting more readable reports that include full machine names instead of raw IP addresses." msgstr "对于高流量网站,DNSLookup 通常应该不设置为 1;对于较小的网站,如上面描述的 Falcot 公司的网站,这个设置允许得到可读性更好的报告,它除了包括原始 IP 地址,还包括全部的机器名称。" msgid "SECURITY Access to statistics" msgstr "安全 对统计数据的访问" msgid "AWStats makes its statistics available on the website with no restrictions by default, but restrictions can be set up so that only a few (probably internal) IP addresses can access them; the list of allowed IP addresses needs to be defined in the AllowAccessFromWebToFollowingIPAddresses parameter" msgstr "AWStats 默认使其统计数据在网络上可被获取而不被限制,但限制可以被设置,从而只有很少的(可能是内部的) IP 地址可以访问它们;允许的 IP 地址列表需要在 AllowAccessFromWebToFollowingIPAddresses 参数中确定" msgid "AWStats will also be enabled for other virtual hosts; each virtual host needs its own configuration file, such as /etc/awstats/awstats.www.falcot.org.conf." msgstr "AWStats 还启用其它虚拟主机;每台虚拟主机需要自己的配置文件,如/etc/awstats/awstats.www.falcot.org.conf。" msgid "AWStats configuration file for a virtual host" msgstr "用于虚拟主机的 AWStats 配置文件" msgid "" "\n" "Include \"/etc/awstats/awstats.conf\"\n" "SiteDomain=\"www.falcot.org\"\n" "HostAliases=\"falcot.org\"" msgstr "" "\n" "Include \"/etc/awstats/awstats.conf\"\n" "SiteDomain=\"www.falcot.org\"\n" "HostAliases=\"falcot.org\"" #, fuzzy #| msgid "AWStats uses many icons stored in the /usr/share/awstats/icon/ directory. In order for these icons to be available on the web site, the Apache configuration needs to be adapted to include the following directive:" msgid "AWStats uses many icons stored in the /usr/share/awstats/icon/ directory. In order for these icons to be available on the web site, the Apache configuration needs to be adapted to include the following directive (check out /usr/share/doc/awstats/examples/apache.conf for a more detailed example):" msgstr "合AWStats 使用 /usr/share/awstats/icon/ 目录中存储的很多图标。为了这些图标在网站上可用,Apache 配置需要适合于包括后面的指令:" msgid "" "\n" "Alias /awstats-icon/ /usr/share/awstats/icon/" msgstr "" "\n" "Alias /awstats-icon/ /usr/share/awstats/icon/" msgid "After a few minutes (and once the script has been run a few times), the results are available online: " msgstr "几分钟后(并且一旦脚本运行了几次),结果会在线可用:" msgid "CAUTION Log file rotation" msgstr "警告 日志文件轮替" #, fuzzy #| msgid "Apache/etc/apache2/mods-enabled" msgid "Apache/etc/logrotate.d/apache2" msgstr "Apache/etc/apache2/mods-enabled" #, fuzzy #| msgid "In order for the statistics to take all the logs into account, AWStats needs to be run right before the Apache log files are rotated. Looking at the prerotate directive of /etc/logrotate.d/apache2 file, this can be solved by putting a symlink to /usr/share/awstats/tools/update.sh in /etc/logrotate.d/httpd-prerotate:" msgid "In order for the statistics to take all the logs into account, AWStats needs to be run right before the Apache log files are rotated. Looking at the prerotate directive of /etc/logrotate.d/apache2 file, this is solved by the awstats package by putting a scipt in /etc/logrotate.d/httpd-prerotate running /usr/share/awstats/tools/update.sh." msgstr "为了统计数据考虑所有的日志,AWStats 需要刚好在 Apache log files 日志文件被轮替之前运行。看看 /etc/logrotate.d/apache2 文件的 prerotate 指令,这可以通过在 /etc/logrotate.d/httpd-prerotate 中放置 /usr/share/awstats/tools/update.sh 的符号链接来解决:" #, fuzzy #| msgid "Note also that the log files created by logrotate need to be readable by everyone, especially AWStats. In the above example, this is ensured by the create 644 root adm line (instead of the default 640 permissions)." msgid "Note also that the log files created by logrotate need to be readable by everyone, especially AWStats. This is ensured by changing /etc/logrotate.d/apache2 to include create 644 root adm (instead of the default 640 permissions) for example. But please refer to /usr/share/doc/awstats/README.Debian.gz for a more extensive documentation about this topic and alternatives." msgstr "还要注意,由 logrotate 创建的日志文件需要被每个人读取,特别是 AWStats。在上面的示例中,这由create 644 root adm 这一行来确保(而不是默认的 640 权限)。" msgid "FTP File Server" msgstr "FTP文件服务器" msgid "FTPFile Transfer Protocol" msgstr "FTP文件传输协议" msgid "File Transfer Protocol" msgstr "文件传输协议" msgid "serverfile" msgstr "服务器文件" msgid "serverFTP" msgstr "服务器FTP" #, fuzzy #| msgid "ProxyFTP" msgid "daemonFTP" msgstr "ProxyFTP" #, fuzzy #| msgid "postgrey" msgid "ftp-server" msgstr "postgrey" msgid "FTP (File Transfer Protocol) is one of the first protocols of the Internet (RFC 959 was issued in 1985!). It was used to distribute files before the Web was even born (the HTTP protocol was created in 1990, and formally defined in its 1.0 version by RFC 1945, issued in 1996)." msgstr "FTP (File Transfer Protocol——文件传输协议)是因特网的第一批协议之一。(RFC 959 在 1985 年发行!)甚至在 Web 诞生之前就用于分发文件(HTTP 协议创建于 1990年,并由 RFC 1945 正式在其 1.0 版本中定义,在 1996 年发行)。" #, fuzzy #| msgid "This protocol allows both file uploads and file downloads; for this reason, it is still widely used to deploy updates to a website hosted by one's Internet service provider (or any other entity hosting websites). In these cases, secure access is enforced with a user identifier and password; on successful authentication, the FTP server grants read-write access to that user's home directory." msgid "This protocol allows both file uploads and file downloads; for this reason, it is still widely used to deploy updates to a website hosted by one's Internet service provider (or any other entity hosting websites). In these cases, access is enforced with a user identifier and password; on successful authentication, the FTP server grants read-write access to that user's home directory." msgstr "这个协议允许文件上传和文件下载;由于这个原因,它仍然广泛用于向因特网服务提供商(或任何其它实体)提供主机的网站上部署更新。在这些情况下,安全访问由用户身份与密码来强制;在成功认证后,FTP 服务器授权用户对家目录进行读写访问。" #, fuzzy #| msgid "SECURITY No security" msgid "SECURITY FTP, FTPS, and SFTP" msgstr "安全 无安全问题" #, fuzzy #| msgid "HTTPsecure" msgid "FTPsecureFTPS" msgstr "HTTP安全" #, fuzzy #| msgid "web serverApache" msgid "SFTPSSH" msgstr "Web 服务器Apache" #, fuzzy #| msgid "SIP" msgid "SSL" msgstr "SIP" msgid "TLS" msgstr "TLS" msgid "FTP is not a secure protocol. User names, passwords, and data are transported in clear text. To increase the security, one can use FTP via implicit (enforced) or explicit (requested) SSL/TLS, also known as FTPS, but not to be confused with SFTP, the SSH File Transfer Protocol, an alternative file transfer implementation using SSH. Many FTP server packages in Debian support FTPS." msgstr "" msgid "Other FTP servers are mainly used to distribute files for public downloading; Debian packages are a good example. The contents of these servers is fetched from other, geographically remote, servers; it is then made available to less distant users. This means that client authentication is not required; as a consequence, this operating mode is known as “anonymous FTP”. To be perfectly correct, the clients do authenticate with the anonymous username; the password is often, by convention, the user's email address, but the server ignores it." msgstr "其它 FTP 服务器主要用于发布文件供公众下载;Debian 软件包就是个好的示例。这些服务器的内容取自其它地理上的远程服务器;然后供不那么远的用户来获取。这意味着不需要客户端认证;结果,这个操作模式被称为“匿名 FTP”。非常正确的是,客户端以 用户名 anonymous来认证;密码为了方便起见通常是用户的电子邮件地址,但服务器会忽略掉。" #, fuzzy #| msgid "Many FTP servers are available in Debian (ftpdThe ftpd package is not included in Debian Buster due to a bug, which could not be solved before the release., proftpd-basic, pyftpd and so on). The Falcot Corp administrators picked vsftpd because they only use the FTP server to distribute a few files (including a Debian package repository); since they don't need advanced features, they chose to focus on the security aspects." msgid "Many FTP servers are available in Debian (ftpd(-ssl), proftpd-basic, pure-ftpd and so on), which all provide the virtual ftp-server package. Please note that the pyftpd package, however, has been removed from the Debian project due to not being actively maintained anymore and being incompatible with Python 3. The Falcot Corp administrators picked vsftpd because they only use the FTP server to distribute a few files (including a Debian package repository); since they don't need advanced features, they chose to focus on the security aspects." msgstr "很多 FTP 服务器可以在 Debian 中获得(ftpdftpd 软件包不包括在 Debian Buster 中,因为发布前没有解决缺陷 。,proftpd-basic,pyftpd 以及等等诸如此类)。Falcot 公司的管理员选择 vsftpd,因为他们只使用 FTP 服务器来分发一些文件(包括Debian 软件包仓库);因为他们不需要高级特性,他们选择聚焦于安全方面。" msgid "vsftpd" msgstr "vsftpd" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/vsftpd.conf" msgstr "Samba/etc/samba/smb.conf" msgid "Installing the package creates an ftp system user. This account is always used for anonymous FTP connections, and its home directory (/srv/ftp/) is the root of the tree made available to users connecting to this service. The default configuration (in /etc/vsftpd.conf) requires some changes to cater to the simple need of making big files available for public downloads: anonymous access needs to be enabled (anonymous_enable=YES) and read-only access of local users needs to be disabled (local_enable=NO). The latter is particularly important since the FTP protocol doesn't use any form of encryption and the user password could be intercepted over the wire." msgstr "安装软件包会创建 ftp 系统用户。这个账户总是用于匿名 FTP 连接,并且其家目录(/srv/ftp/)就是连接到这个服务上的用户可使用的树的根。默认配置(在 /etc/vsftpd.conf 中)需要一些更改,以迎合使大文件可供公众下载的简单需要:匿名王文需要启用(anonymous_enable=YES)并且对本地用户的只读访问需要被禁止(local_enable=NO)。后者非常重要,因为 FTP 协议不使用任何形式的加密,并且用户密码能够通过网络来翻译。" msgid "FTP and FTPS resources can be accessed with a variety of clients, with and without a graphical user interface, and they can also be mounted locally using the curlftpfs command from the similarly named package." msgstr "" #, fuzzy #| msgid "Apacheinstallation" msgid "mountFTP" msgstr "Apache安装" #, fuzzy #| msgid "mount.cifs" msgid "curlftpfs" msgstr "mount.cifs" msgid "NFS File Server" msgstr "NFS 文件服务器" #, fuzzy #| msgid "WINS" msgid "NFS" msgstr "WINS" #, fuzzy #| msgid "Network File System" msgid "Network File SystemNFS" msgstr "网络文件系统" msgid "serverNFS" msgstr "服务器NFS" #, fuzzy #| msgid "clientNFS" msgid "daemonNFS" msgstr "客户端NFS" msgid "NFS (Network File System) is a protocol allowing remote access to a filesystem through the network. All Unix systems can work with this protocol." msgstr "NFS (Network File System——网络文件系统)是允许通过网络远程访问文件系统的协议。所有的 Unix 系统可以通过这个协议工作。" msgid "SPECIFIC CASE Microsoft Windows and NFS Shares" msgstr "特例 Microsoft Windows 和 NFS 共享" msgid "When older or (so called) \"Home\" variants of Windows are involved, usually Samba () must be used instead of NFS. Modern Windows Server and \"Pro\" or \"Enterprise\" Desktop solutions however have built-in support for NFS. After installation of the \"Services for NFS\" components NFS shares can be accessed and temporarily or permanently mounted like any other network share. Be aware of possible encoding issues in file names." msgstr "当包括 Windows 较老的或(所谓的)“家庭版”变体时,通常必须使用 Samba () 而不是 NFS。然而现代的 Windows Server 和“专业版”或“企业版”桌面方案具有对 NFS 内建的支持。在安装“NFS 服务”组件后,可以访问 NFS 共享,并且像任何其它网络共享一样临时或永久挂载。要注意文件名中可能的编码问题。" #, fuzzy #| msgid "As an alternative Debian can be installed on Windows 10 Pro and higher. It requires the installation of the Windows Subsystem for Linux component and the Debian app from the Windows store. " msgid "As an alternative Debian can be installed on Windows 10 Pro and higher. It requires the installation of the Windows Subsystem for Linux (WSL) component and the Debian app from the Windows store. " msgstr "作为替换,Debian 可以安装在 Windows 10 专业版或更高版本上。这需要从 Windows 商店安装 Windows Subsystem for Linux 组件和 Debian app。" msgid "Network File SystemWindows client" msgstr "网络文件系统Windows 客户端" #, fuzzy #| msgid "NetworkFile System" msgid "networkfile system" msgstr "网络文件系统" msgid "filesystemnetwork" msgstr "文件系统网络" msgid "fileserver" msgstr "文件服务器" msgid "NFS is a very useful tool but, historically, it has suffered from many limitations, most of which have been addressed with version 4 of the protocol. The downside is that the latest version of NFS is harder to configure when you want to make use of basic security features such as authentication and encryption since it relies on Kerberos for those parts. And without those, the NFS protocol must be restricted to a trusted local network since data goes over the network unencrypted (a sniffer can intercept it) and access rights are granted based on the client's IP address (which can be spoofed)." msgstr "NFS 是非常有用的工具,但历史上它受到了很多限制,多数限制已经在第 4 版协议中处理了。缺点是当使用基本的安全特性如认证和加密时,最新版的 NFS 难于配置,因为它对那些部分依赖于 Kerboreos。没有的话,NFS 协议必须限制为受信任的本地网络,因为数据在网络上不加密(嗅探程序可以拦截到)地传递,并且基于客户端的 IP 地址(可以被欺骗)来授予访问权限。" msgid "DOCUMENTATION NFS HOWTO" msgstr "文档 NFS HOWTO" msgid "Good documentation to deploy NFSv4 is rather scarce. Here are some pointers with content of varying quality but that should at least give some hints on what should be done. " msgstr "部署 NFSv4 的良好文档非常缺乏。这里是内容质量各异的一些要点,但至少对应该做什么有一些提示。 " msgid "Securing NFS" msgstr "使 NFS 安全" msgid "NFSsecurity" msgstr "NFS安全" msgid "If you don't use the Kerberos-based security features, it is vital to ensure that only the machines allowed to use NFS can connect to the various required RPC servers, because the basic protocol trusts the data received from the network. The firewall must also block IP spoofing so as to prevent an outside machine from acting as an inside one, and access to the appropriate ports must be restricted to the machines meant to access the NFS shares." msgstr "如果不使用基于 Kerberos 的安全特性,那么确保只允许使用 NFS 的机器可以连接到各种所需的 RPC 服务器上是至关重要的,因为基本协议信任从网络接收到的数据。防火墙也必需阻挡 IP 嗅探,从而防止外部机器作为内部的机器工作,并且对适当端口的访问必须被限制给有意访问 NFS 共享的机器。" msgid "BACK TO BASICS RPC" msgstr "基本知识 RPC" #, fuzzy #| msgid "SIP" msgid "RPC" msgstr "SIP" #, fuzzy #| msgid "Remote Procedure Call" msgid "Remote Procedure CallRPC" msgstr "远程过程调用" msgid "RPC (Remote Procedure Call) is a Unix standard for remote services. NFS is one such service." msgstr "RPC(Remote Procedure Call——远程过程调用)是用于远程服务的 Unix 标准。NFS 是一种这样的服务。" msgid "RPC services register to a directory known as the portmapper. A client wishing to perform an NFS query first addresses the portmapper (on port 111, either TCP or UDP), and asks for the NFS server; the reply usually mentions port 2049 (the default for NFS). Not all RPC services necessarily use a fixed port." msgstr "RPC 服务注册到一个被称为 portmapper 的目录。想要执行 NFS 查询的客户端首先处理 portmapper(在端口 111,TCP 或 UDP),并查询 NFS 服务器;回复通常提到端口 2049 (NFS 默认的)。不是所有的 RPC 服务有必要使用固定的端口。" msgid "portmapper" msgstr "portmapper" msgid "Older versions of the protocol required other RPC services which used dynamically assigned ports. Fortunately, with NFS version 4, only port 2049 (for NFS) and 111 (for the portmapper) are needed and they are thus easy to firewall." msgstr "较老版本的协议需要其它动态指定端口的 RPC 服务。幸运的是通过第 4 版的NFS,只需要端口 2049 (用于 NFS)和 111 (用于 portmapper),这样对于防火墙很容易处理。" msgid "NFS Server" msgstr "NFS 服务器" msgid "NFS/etc/exports" msgstr "NFS/etc/exports" msgid "NFSserver" msgstr "NFS服务器" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/exportsNFS" msgstr "NFS/etc/exports" msgid "The NFS server is part of the Linux kernel; in kernels provided by Debian it is built as a kernel module. If the NFS server is to be run automatically on boot, the nfs-kernel-server package should be installed; it contains the relevant start-up scripts." msgstr "NFS 服务器是 Linux 内核的一部分;在 Debian 提供的内核中,它构建为内核模块。如果 NFS 服务器在引导时自动运行,那么应该安装 nfs-kernel-server 软件包;它包含相关的启动脚本。" #, fuzzy #| msgid "nginx" msgid "nfs-kernel-server" msgstr "nginx" #, fuzzy #| msgid "The NFS server configuration file, /etc/exports, lists the directories that are made available over the network (exported). For each NFS share, only the given list of machines is granted access. More fine-grained access control can be obtained with a few options. The syntax for this file is quite simple:" msgid "The NFS server configuration file(s), /etc/exports and /etc/exports.d/, lists the directories that are made available over the network (exported). For each NFS share, only the given list of machines is granted access. More fine-grained access control can be obtained with a few options. The syntax for this file is quite simple:" msgstr "NFS 服务器配置文件 /etc/exports 列出了网络(exported)可用的目录。对于每个 NFS 共享,只有给定列表中的机器被授予访问权限。更多精细粒度的访问控制可以通过一些选项得到。这个文件的语法非常简单:" msgid "exports" msgstr "exports" msgid "" "\n" "/directory/to/share machine1(option1,option2,...) machine2(...) ..." msgstr "" "\n" "/directory/to/share machine1(option1,option2,...) machine2(...) ..." msgid "Note that with NFSv4, all exported directories must be part of a single hierarchy and that the root directory of that hierarchy must be exported and identified with the option fsid=0 or fsid=root." msgstr "注意,通过 NFSv4,所有的导出目录必须是单一层次结构的一部分,并且层次结构的根目录必须被导出,并用选项fsid=0 或 fsid=root 来识别。" msgid "Each machine can be identified either by its DNS name or its IP address. Whole sets of machines can also be specified using either a syntax such as *.falcot.com or an IP address range such as 192.168.0.0/255.255.255.0 or 192.168.0.0/24." msgstr "每台机器可以由其 DNS 名称或其 IP 地址来识别。整组的机器也可以使用如 *.falcot.com 这样的语法,或如 192.168.0.0/255.255.255.0 或 192.168.0.0/24 这样的 IP 地址来指定。" msgid "Directories are made available as read-only by default (or with the ro option). The rw option allows read-write access. NFS clients typically connect from a port restricted to root (in other words, below 1024); this restriction can be lifted by the insecure option (the secure option is implicit, but it can be made explicit if needed for clarity)." msgstr "目录默认(或者通过 ro 选项)作为只读可用。 rw 选项允许读写访问。NFS 客户端典型地从限制为 root 的端口连接(换句话说,低于 1024);这个限制可以由 insecure 选项提升(secure 选项是隐性的,但如果需要清晰的话可以显性)。" msgid "NFSoptions" msgstr "NFS选项" msgid "By default, the server only answers an NFS query when the current disk operation is complete (sync option); this can be disabled with the async option. Asynchronous writes increase performance a bit, but they decrease reliability since there is a data loss risk in case of the server crashing between the acknowledgment of the write and the actual write on disk. Since the default value changed recently (as compared to the historical value of NFS), an explicit setting is recommended." msgstr "在当前磁盘操作完成时(sync 选项),服务器默认只回答 NFS 查询;这可以通过 async选项来禁止。异步写入提高了一点性能,但降低了可靠性,因为在通知写入与真实写到磁盘上之间在服务器崩溃的情况下,存在数据丢失的风险。由于最近更改的默认值(与 NFS 的历史值相比),推荐显性的设置。" msgid "In order to not give root access to the filesystem to any NFS client, all queries appearing to come from a root user are considered by the server as coming from the nobody user. This behavior corresponds to the root_squash option, and is enabled by default. The no_root_squash option, which disables this behavior, is risky and should only be used in controlled environments. If all users should be mapped to the user nobody, use all_squash. The anonuid=uid and anongid=gid options allow specifying another fake user to be used instead of UID/GID 65534 (which corresponds to user nobody and group nogroup)." msgstr "为了避免给予 NFS 客户端对文件系统的根访问权限,看起来来自根用户的所有查询都被服务器认为是来自 nobody 用户。这个行为符合 root_squash 选项,并且默认启用。禁止这个行为的 no_root_squash 选项是有风险的,并且应该只在受控的环境下使用。如果所有用户应该被映射到 nobody 用户上,那么使用 all_squash。anonuid=uid 和 anongid=gid 选项允许指定另一个伪用户来使用,取代 UID/GID 65534 (这符合nobody 用户和 nogroup 组)。" msgid "With NFSv4, you can add a sec option to indicate the security level that you want: sec=sys is the default with no special security features, sec=krb5 enables authentication only, sec=krb5i adds integrity protection, and sec=krb5p is the most complete level which includes privacy protection (with data encryption). For this to work you need a working Kerberos setup (that service is not covered by this book)." msgstr "通过 NFSv4,可以添加 sec 选项来指定想要的安全等级:sec=sys 是默认的,没有特定的安全特性,sec=krb5 只启用认证,sec=krb5i 添加了整体保护,而 sec=krb5p 是最完全的等级,包括隐私保护(带有数据加密)。为了让它工作,需要进行 Kerberos 设置(那个服务不包括在本书的范围内)。" msgid "Other options are available; they are documented in the exports 5 manual page." msgstr "还有其它选项可用;它们归档在 exports 5 手册页面中。" msgid "CAUTION First installation" msgstr "警告 第一次安装" #, fuzzy #| msgid "The /etc/init.d/nfs-kernel-server boot script only starts the server if /etc/exports lists one or more valid NFS shares. On initial configuration, once this file has been edited to contain valid entries, the NFS server must therefore be started with the following command:" msgid "The file /etc/exports does not list any valid NFS shares on initial installation. Once either this file or any file in /etc/exports.d/ has been edited or added to contain valid entries, the NFS server must be restarted with either of the following commands:" msgstr "如果 /etc/exports 列出一个或多个合法的 NFS 共享的话,那么 /etc/init.d/nfs-kernel-server 引导脚本只启动服务器。在初始配置中,一旦编辑这个文件来包含合法的条目,那么 NFS 服务器必须这样以后面的命令来启动:" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/exports" msgstr "NFS/etc/exports" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/exports.d/" msgstr "NFS/etc/exports" #, fuzzy #| msgid "Apache.htaccess" msgid "servicenfs-kernel-server.service" msgstr "Apache.htaccess" #, fuzzy #| msgid "jxplorer" msgid "exportfs" msgstr "jxplorer" #, fuzzy #| msgid "" #| "\n" #| "# systemctl start nfs-kernel-server" msgid "" "\n" "# exportfs -ra" msgstr "" "\n" "# systemctl start nfs-kernel-server" msgid "" "\n" "# systemctl start nfs-kernel-server" msgstr "" "\n" "# systemctl start nfs-kernel-server" msgid "NFS Client" msgstr "NFS 客户端" msgid "clientNFS" msgstr "客户端NFS" msgid "NFSclient" msgstr "NFS客户端" #, fuzzy #| msgid "As with other filesystems, integrating an NFS share into the system hierarchy requires mounting (and the nfs-common package). Since this filesystem has its peculiarities, a few adjustments were required in the syntaxes of the mount command and the /etc/fstab file." msgid "As with other filesystems, integrating an NFS share into the system hierarchy requires mounting (and the nfs-common package). Since this filesystem has its peculiarities, a few adjustments were required in the syntax of the mount command and the /etc/fstab file." msgstr "对于其它文件系统,将 NFS 共享集成到系统层次结构中会需要挂载(以及 nfs-common 软件包)。由于这个文件系统具有其独特性,在 mount 命令的语法和 /etc/fstab 文件中需要一些调整。" #, fuzzy #| msgid "nginx" msgid "nfs-common" msgstr "nginx" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/fstab" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Apacheinstallation" msgid "mountNFSmount.nfs4" msgstr "Apache安装" #, fuzzy #| msgid "mount.cifs" msgid "mount.nfs4" msgstr "mount.cifs" #, fuzzy #| msgid "Windows share, mounting" msgid "NFS share, mounting" msgstr "Windows 共享,挂载" msgid "Manually mounting with the mount command" msgstr "用 mount 命令来手动挂载" #, fuzzy #| msgid "mount.cifs" msgid "mount" msgstr "mount.cifs" msgid "" "\n" "# mount -t nfs4 -o rw,nosuid arrakis.internal.falcot.com:/shared /srv/shared\n" " " msgstr "" "\n" "# mount -t nfs4 -o rw,nosuid arrakis.internal.falcot.com:/shared /srv/shared\n" " " msgid "NFS entry in the /etc/fstab file" msgstr "在 /etc/fstab 文件中的 NFS 入口" msgid "" "\n" "arrakis.internal.falcot.com:/shared /srv/shared nfs4 rw,nosuid 0 0" msgstr "" "\n" "arrakis.internal.falcot.com:/shared /srv/shared nfs4 rw,nosuid 0 0" msgid "The entry described above mounts, at system startup, the NFS directory /shared/ from the arrakis server into the local /srv/shared/ directory. Read-write access is requested (hence the rw parameter). The nosuid option is a protection measure that wipes any setuid or setgid bit from programs stored on the share. If the NFS share is only meant to store documents, another recommended option is noexec, which prevents executing programs stored on the share. Note that on the server, the shared directory is below the NFSv4 root export (for example /export/shared), it is not a top-level directory." msgstr "上面描述的入口在系统启动时将 NFS 目录 /shared/ 从 arrakis 服务器挂载到本地 /srv/shared/ 目录中。这会需要读写访问(这样需要 rw 参数)。nosuid 选项是保护措施,从共享上存储的程序中擦除了任何 setuid 或 setgid 位。如果 NFS 共享只意味着存储文档,那么另一个推荐的选项是 noexec,它防止执行共享上存储的程序。注意,在服务器上 shared 目录在 NFSv4 root export 之下(例如 /export/shared),它不是顶层目录。" msgid "The nfs 5 manual page describes all the options in some detail." msgstr "nfs 5 手册页面在某种程度上具体地描述了所有的选项。" msgid "Setting Up Windows Shares with Samba" msgstr "用 Samba 设置 Windows 共享" msgid "Samba" msgstr "Samba" msgid "Windows share" msgstr "Windows 共享" msgid "serverSMB" msgstr "服务器SMB" msgid "serverCIFS" msgstr "服务器CIFS" #, fuzzy #| msgid "emailExim" msgid "daemonsmbd" msgstr "电子邮件Exim" #, fuzzy #| msgid "emailExim" msgid "daemonnmbd" msgstr "电子邮件Exim" msgid "Samba is a suite of tools handling the SMB protocol (also known as “CIFS”) on Linux. This protocol is used by Windows for network shares and shared printers." msgstr "Samba 是 Linux 上处理 SMB 协议的一套工具(也被称为“CIFS”)。这个协议由 Windows 使用用于网络共享和共享打印机。" #, fuzzy #| msgid "SMTP" msgid "SMB" msgstr "SMTP" #, fuzzy #| msgid "Server Message Block" msgid "Server Message BlockSMB" msgstr "服务器消息块" #, fuzzy #| msgid "WINS" msgid "CIFS" msgstr "WINS" #, fuzzy #| msgid "Common Internet File System" msgid "Common Internet File SystemCIFS" msgstr "公用因特网文件系统" msgid "Samba can also act as a Windows domain controller. This is an outstanding tool for ensuring seamless integration of Linux servers and the office desktop machines still running Windows." msgstr "Samba 还可以用作 Windows 域控制器。这是一种出众的工具,来确保无缝整合 Linux 服务器和仍然运行 Windows 的办公桌面机器。" msgid "Samba Server" msgstr "Samba 服务器" msgid "serverSamba" msgstr "服务器Samba" msgid "Sambainstallation" msgstr "Samba安装" msgid "Sambaserver" msgstr "Samba服务器" msgid "The samba package contains the main two servers of Samba 4, smbd and nmbd." msgstr "samba 软件包包括 Samba 4 的两个主要服务器,smbd 和 nmbd。" msgid "smbd" msgstr "smbd" msgid "nmbd" msgstr "nmbd" msgid "Sambasmbd" msgstr "Sambasmbd" msgid "Sambanmbd" msgstr "Sambanmbd" msgid "DOCUMENTATION Going further" msgstr "文档 进阶阅读" #, fuzzy #| msgid "The Samba server is extremely configurable and versatile, and can address a great many different use cases matching very different requirements and network architectures. This book only focuses on the use case where Samba is used as a standalone server, but it can also be a NT4 Domain Controller or a full Active Directory Domain Controller, or a simple member of an existing domain (which could be a managed by a Windows server)." msgid "The Samba server is extremely configurable and versatile, and can address a great many different use cases matching very different requirements and network architectures. This book only focuses on the use case where Samba is used as a standalone server, but it can also be an NT4 Domain Controller or a full Active Directory Domain Controller, or a simple member of an existing domain (which could be managed by a Windows server)." msgstr "Samba 服务器具有极大的可配置性和灵活性,并且可以处理极多的不同使用情况,匹配非常不同的需求和网络架构。本书聚焦于 Samba 用作单独服务去的情况,但也可以是 NT4 域控制器或完全的 Active Directory Domain Controller(活动目录域控制器),或者是现有域(可由 Windows server 管理)的简单成员。" msgid "domain controller" msgstr "域控制器" msgid "Windows domain" msgstr "Windows 域" msgid "Sambadomain controller" msgstr "Samba域控制器" msgid "The samba package contains all the necessary manual pages and in /usr/share/doc/samba/examples/ a wealth of commented example files. If you are looking for a more comprehensive documentation, you may check the Samba website. " msgstr "samba 软件包包括所有必须的手册页面,并在 /usr/share/doc/samba/examples/ 中包含丰富的带有注释的示例文件。如果要查找更详细的文档,可以查看 Samba 网站。" msgid "TOOL Authenticating with a Windows Server" msgstr "工具 使用 Windows Server 认证" msgid "Winbind gives system administrators the option of using a Windows server as an authentication server. Winbind also integrates cleanly with PAM and NSS. This allows setting up Linux machines where all users of a Windows domain automatically get an account." msgstr "Winbind 给予系统管理员使用 Windows Server 作为认证服务器的选项。Winbind 还与 PAM 和 NSS 利落地集成。这允许设置 Linux 机器使 Windows 域的所有用户自动得到账户。" msgid "Winbind" msgstr "Winbind" msgid "More information can be found in the /usr/share/doc/libpam-winbind/examples/pam_winbind/ directory of the libpam-winbind package." msgstr "更多信息可以在 libpam-winbind 软件包的 /usr/share/doc/libpam-winbind/examples/pam_winbind/ 目录中找到。" #, fuzzy #| msgid "nginx" msgid "libpam-winbind" msgstr "nginx" msgid "Configuring with debconf" msgstr "使用 debconf 来配置" msgid "Sambaconfiguration" msgstr "Samba配置" msgid "Samba/etc/samba/smb.conf" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/samba/Samba" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "The package sets up a minimal configuration during the initial installation by plainly copying /usr/share/samba/smb.conf. So you should really run dpkg-reconfigure samba-common to adapt it:" msgid "The package sets up a minimal configuration during the initial installation in /etc/samba/smb.conf by plainly copying /usr/share/samba/smb.conf. So you should really run dpkg-reconfigure samba-common to adapt it:" msgstr "通过直接复制 /usr/share/samba/smb.conf,软件包在初始安装过程中设置最小的配置。所以应该真正运行 dpkg-reconfigure samba-common 而与之相适应:" msgid "On first installation the only piece of required information is the name of the workgroup where the Samba server will belong (the answer is FALCOTNET in our case)." msgstr "在首次安装时,唯一需要的信息是 Samba 服务器所属的工作组的名称(在我们的情况下是 FALCOTNET)。" msgid "In case of a package update (from the old stable Debian version) or if the SMB server has already been configured to use a WINS server (wins server), the package also proposes identifying the WINS server from the information provided by the DHCP daemon. The Falcot Corp administrators rejected this option, since they intend to use the Samba server itself as the WINS server." msgstr "在软件包(从旧的稳定 Debian 版本)更新的情况下,或者如果 SMB 服务器已经配置来使用 WINS 服务器(wins server),那么软件包还打算从 DHCP 守护进程提供的信息中识别 WINS 服务器。Falcot 公司的管理员拒绝这个选项,因为他们想要使用 Samba 服务器本身作为 WINS 服务器。" msgid "WINS" msgstr "WINS" msgid "Configuring Manually" msgstr "手动配置" msgid "Changes to smb.conf" msgstr "更改为 smb.conf" msgid "The requirements at Falcot require other options to be modified in the /etc/samba/smb.conf configuration file. The following excerpts summarize the changes that were effected in the [global] section." msgstr "Falcot 公司的要求需要在 /etc/samba/smb.conf 配置文件中修改其它选项。后面的节选概括地总结了在所做的更改,在 [global] 部分中生效。" msgid "Sambasmb.conf" msgstr "Sambasmb.conf" #, fuzzy #| msgid "" #| "\n" #| "[...]\n" #| "\n" #| "[global]\n" #| "\n" #| "## Browsing/Identification ###\n" #| "\n" #| "# Change this to the workgroup/NT-domain name your Samba server will part of\n" #| " workgroup = FALCOTNET\n" #| "\n" #| "# Windows Internet Name Serving Support Section:\n" #| "# WINS Support - Tells the NMBD component of Samba to enable its WINS Server\n" #| " wins support = yes \n" #| "\n" #| "[...]\n" #| "\n" #| "####### Authentication #######\n" #| "\n" #| "# Server role. Defines in which mode Samba will operate. Possible\n" #| "# values are \"standalone server\", \"member server\", \"classic primary\n" #| "# domain controller\", \"classic backup domain controller\", \"active\n" #| "# directory domain controller\". \n" #| "#\n" #| "# Most people will want \"standalone server\" or \"member server\".\n" #| "# Running as \"active directory domain controller\" will require first\n" #| "# running \"samba-tool domain provision\" to wipe databases and create a\n" #| "# new domain.\n" #| " server role = standalone server\n" #| "\n" #| " obey pam restrictions = yes\n" #| "\n" #| "[...]\n" #| "\n" #| "# \"security = user\" is always a good idea. This will require a Unix account\n" #| "# in this server for every user accessing the server.\n" #| " security = user \n" #| "\n" #| "[...]" msgid "" "\n" "[...]\n" "\n" "[global]\n" "\n" "## Browsing/Identification ###\n" "\n" "# Change this to the workgroup/NT-domain name your Samba server will part of\n" " workgroup = FALCOTNET\n" "\n" "[...]\n" "\n" "# Windows Internet Name Serving Support Section:\n" "# WINS Support - Tells the NMBD component of Samba to enable its WINS Server\n" " wins support = yes \n" "\n" "[...]\n" "\n" "####### Authentication #######\n" "\n" "# Server role. Defines in which mode Samba will operate. Possible\n" "# values are \"standalone server\", \"member server\", \"classic primary\n" "# domain controller\", \"classic backup domain controller\", \"active\n" "# directory domain controller\".\n" "#\n" "# Most people will want \"standalone server\" or \"member server\".\n" "# Running as \"active directory domain controller\" will require first\n" "# running \"samba-tool domain provision\" to wipe databases and create a\n" "# new domain.\n" " server role = standalone server\n" "\n" " obey pam restrictions = yes\n" "\n" "[...]\n" "\n" "# \"security = user\" is always a good idea. This will require a Unix account\n" "# in this server for every user accessing the server.\n" " security = user \n" "\n" "[...]" msgstr "" "\n" "[...]\n" "\n" "[global]\n" "\n" "## Browsing/Identification ###\n" "\n" "# Change this to the workgroup/NT-domain name your Samba server will part of\n" " workgroup = FALCOTNET\n" "\n" "# Windows Internet Name Serving Support Section:\n" "# WINS Support - Tells the NMBD component of Samba to enable its WINS Server\n" " wins support = yes \n" "\n" "[...]\n" "\n" "####### Authentication #######\n" "\n" "# Server role. Defines in which mode Samba will operate. Possible\n" "# values are \"standalone server\", \"member server\", \"classic primary\n" "# domain controller\", \"classic backup domain controller\", \"active\n" "# directory domain controller\". \n" "#\n" "# Most people will want \"standalone server\" or \"member server\".\n" "# Running as \"active directory domain controller\" will require first\n" "# running \"samba-tool domain provision\" to wipe databases and create a\n" "# new domain.\n" " server role = standalone server\n" "\n" " obey pam restrictions = yes\n" "\n" "[...]\n" "\n" "# \"security = user\" is always a good idea. This will require a Unix account\n" "# in this server for every user accessing the server.\n" " security = user \n" "\n" "[...]" #, fuzzy #| msgid "Indicates that Samba should act as a Netbios name server (WINS) for the local network. This option has been removed from the default configuration in Buster and must be added manually if desired." msgid "Indicates that Samba should act as a Netbios name server (WINS) for the local network. This option had been removed from the default configuration in Buster and must be added manually if desired." msgstr "指示了 Samba 应该作为本地网络的 Netbios 名称服务器(WINS)。这个选项已经从 Buster 的默认配置中删除,如果需要的话必须手动添加。" msgid "This is the default value for this parameter; however, since it is central to the Samba configuration, filling it explicitly is recommended. Each user must authenticate before accessing any share." msgstr "这是这个参数的默认值;然而由于它对 Samba配置至关重要,推荐显性地填写。每个用户在访问任何共享前必须认证。" msgid "Adding Users" msgstr "添加用户" msgid "Sambaadd users" msgstr "Samba添加用户" #, fuzzy #| msgid "maildrop" msgid "adduser" msgstr "maildrop" #, fuzzy #| msgid "htpasswd" msgid "smbpasswd" msgstr "htpasswd" msgid "Each Samba user needs an account on the server; the Unix accounts must be created first, then the user needs to be registered in Samba's database. The Unix step is done quite normally (using adduser for instance)." msgstr "每名 Samba 用户在服务器上需要账户;必须首先创建 Unix 账户,然后用户需要在 Samba 的数据库中注册。Unix 的步骤非常正常地完成(例如使用 adduser )。" msgid "Adding an existing user to the Samba database is a matter of running the smbpasswd -a user command; this command asks for the password interactively." msgstr "将现有用户添加到 Samba 数据库中不过是运行 smbpasswd -a user 命令的事;这个命令交互地询问密码。" msgid "Sambasmbpasswd" msgstr "Sambasmbpasswd" msgid "A user can be deleted with the smbpasswd -x user command. A Samba account can also be temporarily disabled (with smbpasswd -d user) and re-enabled later (with smbpasswd -e user)." msgstr "可以通过 smbpasswd -x user 命令来删除用户。Samba 账户还能够(通过 smbpasswd -d user)被临时禁止,并且后面(通过 smbpasswd -e user)再次启用。" msgid "Samba Client" msgstr "Samba 客户端" msgid "Sambaclient" msgstr "Samba客户端" msgid "The client features in Samba allow a Linux machine to access Windows shares and shared printers. The required programs are available in the cifs-utils and smbclient packages." msgstr "Samba 的客户端特性允许 Linux 机器访问 Windows 共享和共享打印机。所需程序在 cifs-utils 和 smbclient 软件包中得到。" msgid "smbclient" msgstr "smbclient" msgid "cifs-utils" msgstr "cifs-utils" msgid "The smbclient Program" msgstr "smbclient 程序" msgid "The smbclient program queries SMB servers. It accepts a -U user option, for connecting to the server under a specific identity. smbclient //server/share accesses the share in an interactive way similar to the command-line FTP client. smbclient -L server lists all available (and visible) shares on a server." msgstr "smbclient 程序需要 SMB 服务器。它接受 -U user 选项,用于在特定的身份下连接到服务器上。 smbclient //server/share 与命令行 FTP 客户端相似,以交互的方式访问共享。 smbclient -L server 列出服务器上所有可用(并且可见)的共享。" msgid "Mounting Windows Shares" msgstr "挂载 Windows 共享" msgid "The mount command allows mounting a Windows share into the Linux filesystem hierarchy (with the help of mount.cifs provided by cifs-utils)." msgstr "mount 命令允许将 Windows 共享挂载到 Linux 文件系统层次结构中(在cifs-utils 提供的 mount.cifs的帮助下)。" msgid "mount.cifs" msgstr "mount.cifs" #, fuzzy #| msgid "Sambamount" msgid "Windows sharemounting" msgstr "Samba挂载" #, fuzzy #| msgid "Apacheinstallation" msgid "mountCIFSmount.cifs" msgstr "Apache安装" msgid "Mounting a Windows share" msgstr "挂载 Windows 共享" msgid "Sambamount" msgstr "Samba挂载" msgid "" "\n" "mount -t cifs //arrakis/shared /shared \\\n" " -o credentials=/etc/smb-credentials" msgstr "" "\n" "mount -t cifs //arrakis/shared /shared \\\n" " -o credentials=/etc/smb-credentials" msgid "The /etc/smb-credentials file (which must not be readable by users) has the following format:" msgstr "/etc/smb-credentials 文件(必须不能被用户读取)具有后面的格式:" msgid "Sambacredentials" msgstr "Samba证书" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "Samba/etc/smb-credentials" msgstr "Samba/etc/samba/smb.conf" msgid "" "\n" "username = user\n" "password = password" msgstr "" "\n" "username = user\n" "password = password" msgid "Other options can be specified on the command-line; their full list is available in the mount.cifs 1 manual page. Two options in particular can be interesting: uid and gid allow forcing the owner and group of files available on the mount, so as not to restrict access to root." msgstr "可以在命令行指定其它选项;它们的完整列表可以在手册页面 mount.cifs 1 中得到。特别是两个选项令人感兴趣:uid 和 gid 允许文件的用户和用户组强制在挂载时得到,从而不限制对根的访问。" msgid "A mount of a Windows share can also be configured in /etc/fstab:" msgstr "Windows 共享的挂载也可以在 /etc/fstab 中配置:" msgid "" "\n" "//server/shared /shared cifs credentials=/etc/smb-credentials" msgstr "" "\n" "//server/shared /shared cifs credentials=/etc/smb-credentials" #, fuzzy #| msgid "Unmounting a SMB/CIFS share is done with the standard umount command." msgid "Unmounting an SMB/CIFS share is done with the standard umount command." msgstr "SMB/CIFS 共享的卸载由标准的 umount 命令来完成。" msgid "Printing on a Shared Printer" msgstr "在共享打印机上打印" msgid "CUPS is an elegant solution for printing from a Linux workstation to a printer shared by a Windows machine. When the smbclient is installed, CUPS allows installing Windows shared printers automatically." msgstr "CUPS 是从 Linux 工作站打印到 Windows 机器共享打印机的优雅解决方案。当安装 smbclient 时,CUPS 允许自动安装 Windows 共享打印机。" msgid "printingnetwork" msgstr "打印网络" #, fuzzy #| msgid "NFSoptions" msgid "networkprinters" msgstr "NFS选项" msgid "Sambashared printers" msgstr "Samba共享打印机" msgid "Here are the required steps:" msgstr "这里是所需的步骤:" msgid "Enter the CUPS configuration interface: http://localhost:631/admin" msgstr "进入 CUPS 配置界面:http://localhost:631/admin" msgid "Click on “Add Printer”." msgstr "点击“添加打印机”。" msgid "Choose the printer device, pick “Windows Printer via SAMBA”." msgstr "选择打印机设备,选择“经由 SAMBA 的 Windows 打印机”。" msgid "Enter the connection URI for the network printer. It should look like the following:" msgstr "输入网络打印机的连接 URI。它看起来应该像这样:" msgid "smb://user:password@server/printer." msgstr "smb://user:password@server/printer." msgid "Enter the name that will uniquely identify this printer. Then enter the description and location of the printer. Those are the strings that will be shown to end users to help them identify the printers." msgstr "输入唯一识别这台打印机的名称。然后输入打印机的描述与位置。这些会是对终端用户显示的字符串,帮助他们识别打印机。" msgid "Indicate the manufacturer/model of the printer, or directly provide a working printer description file (PPD)." msgstr "指示了打印机的生产商/型号,或者直接提供网络打印机的描述文件(PPD)。" msgid "Voilà, the printer is operational!" msgstr "看,打印机工作了!" msgid "HTTP/FTP Proxy" msgstr "HTTP/FTP 代理" msgid "ProxyHTTP" msgstr "ProxyHTTP" msgid "ProxyFTP" msgstr "ProxyFTP" #, fuzzy #| msgid "SIPproxy" msgid "HTTPproxy" msgstr "SIP代理" #, fuzzy #| msgid "SIPproxy" msgid "FTPproxy" msgstr "SIP代理" msgid "An HTTP/FTP proxy acts as an intermediary for HTTP and/or FTP connections. Its role is twofold:" msgstr "HTTP/FTP 代理作为 HTTP 和/或 FTP 连接的中介工作。它的角色是双重的:" msgid "Caching: recently downloaded documents are copied locally, which avoids multiple downloads." msgstr "缓存:最近下载的文档在本地复制,避免了多次下载。" msgid "Filtering server: if use of the proxy is mandated (and outgoing connections are blocked unless they go through the proxy), then the proxy can determine whether or not the request is to be granted." msgstr "筛选服务器:如果代理的使用是强制的(并且外发的连接被阻止,除非它们通过代理),那么代理可以确定请求是否被授权。" msgid "HTTP/FTP proxy" msgstr "HTTP/FTP 代理" msgid "proxy cache" msgstr "缓存代理" msgid "Falcot Corp selected Squid as their proxy server." msgstr "Falcot 公司选择 Squid 作为其代理服务器。" msgid "Squid" msgstr "Squid" msgid "Installing" msgstr "安装" msgid "Squidinstallation" msgstr "Squid安装" #, fuzzy #| msgid "The squidThe squid3 package, providing Squid until Debian Jessie, is now a transitional package and will automatically install squid. Debian package only contains the modular (caching) proxy. Turning it into a filtering server requires installing the additional squidguard package. In addition, squid-cgi provides a querying and administration interface for a Squid proxy." msgid "The squid Debian package only contains the modular (caching) proxy. Turning it into a filtering server requires installing the additional squidguard package. In addition, squid-cgi provides a querying and administration interface for a Squid proxy." msgstr "squidsquid3 软件包,从 Debian Jessie 开始提供 Squid,现在是过渡型软件包,并且自动安装 squid。 Debian 软件包只包含模块化(缓存)代理。将其转变成筛选服务器需要安装另外的 squidguard 软件包。此外,squid-cgi 为 Squid 代理提供了查询与管理界面。" msgid "Prior to installing, care should be taken to check that the system can identify its own complete name: the hostname -f must return a fully-qualified name (including a domain). If it does not, then the /etc/hosts file should be edited to contain the full name of the system (for instance, arrakis.falcot.com). The official computer name should be validated with the network administrator in order to avoid potential name conflicts." msgstr "去安装前必须小心地检查,系统要可以识别它的全名:hostname -f 必须返回完全合格的名称(包括域名)。如果没有的话,那么应该编辑 /etc/hosts 文件来包含系统的全名(例如,arrakis.falcot.com)。官方的计算机名称对网络管理员应该是合法的,来避免可能的名称冲突。" msgid "Configuring a Cache" msgstr "配置缓存" msgid "Squid/etc/squid/squid.conf" msgstr "Squid/etc/squid/squid.conf" #, fuzzy #| msgid "Squid/etc/squid/squid.conf" msgid "Squid/etc/squid/conf.d/" msgstr "Squid/etc/squid/squid.conf" #, fuzzy #| msgid "Squid/etc/squid/squid.conf" msgid "/etc/etc/squid/Squid" msgstr "Squid/etc/squid/squid.conf" msgid "Enabling the caching server feature is a simple matter of editing the /etc/squid/squid.conf configuration file and allowing machines from the local network to run queries through the proxy. The following example shows the modifications made by the Falcot Corp administrators:" msgstr "允许将服务器特性缓存,是编辑 /etc/squid/squid.conf 配置文件并允许本地网络商的机器通过代理来运行查询的简单事情。后面的示例显示了 Falcot 公司的管理员所做的修改:" msgid "The /etc/squid/squid.conf file (excerpts)" msgstr "/etc/squid/squid.conf 文件(节选)" msgid "" "" msgstr "" "" msgid "Configuring a Filter" msgstr "配置筛选程序" msgid "squid itself does not perform the filtering; this action is delegated to squidGuard. The former must then be configured to interact with the latter. This involves adding the following directive to the /etc/squid/squid.conf file:" msgstr "squid 本身不执行筛选;这个动作委托给 squidGuard。然后前者必须配置与后者交互。这包括将后面的指令添加到 /etc/squid/squid.conf 文件:" msgid "squidGuard" msgstr "squidGuard" msgid "SquidsquidGuard" msgstr "SquidsquidGuard" #, fuzzy #| msgid "squidGuard/etc/squidguard/squidGuard.conf.default" msgid "/etc/etc/squidguard/squidGuard.conf.defaultsquidGuard" msgstr "squidGuard/etc/squidguard/squidGuard.conf.default" msgid "" "\n" "url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf" msgstr "" "\n" "url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf" #, fuzzy #| msgid "The /usr/lib/cgi-bin/squidGuard.cgi CGI program also needs to be installed, using /usr/share/doc/squidguard/examples/squidGuard.cgi.gz as a starting point. Required modifications to this script are the $proxy and $proxymaster variables (the name of the proxy and the administrator's contact email, respectively). The $image and $redirect variables should point to existing images representing the rejection of a query." msgid "The /usr/lib/cgi-bin/squidGuard.cgi CGI program also needs to be installed, using /usr/share/doc/squidguard/examples/squidGuard.cgi as a starting point. Required modifications to this script are the $proxy and $proxymaster variables (the name of the proxy and the administrator's contact email, respectively). The $image and $redirect variables should point to existing images representing the rejection of a query." msgstr "还需要使用/usr/share/doc/squidguard/examples/squidGuard.cgi.gz 作为起点,来安装 /usr/lib/cgi-bin/squidGuard.cgi CGI 程序。这个脚本所需的更改是 $proxy 和 $proxymaster 变量(分别是代理的名称和管理员的联系邮箱)。$image 和 $redirect 变量应该指向代表拒绝请求的现有映像。" #, fuzzy #| msgid "The filter is enabled with the service squid reload command. However, since the squidguard package does no filtering by default, it is the administrator's task to define the policy. This can be done by creating the /etc/squid/squidGuard.conf file (using /etc/squidguard/squidGuard.conf.default as template if required)." msgid "The filter is enabled with the systemctl reload squid command. However, since the squidguard package does no filtering by default, it is the administrator's task to define the policy. This can be done by creating the /etc/squid/squidGuard.conf file (using /etc/squidguard/squidGuard.conf.default as template if required)." msgstr "通过 service squid reload 命令来启用筛选程序。然而,由于 squidguard 软件包默认不筛选,这会是管理员的责任来定义策略。这可以通过创建 /etc/squid/squidGuard.conf 文件来完成(如果需要的话使用 /etc/squidguard/squidGuard.conf.default 作为模板)。" #, fuzzy #| msgid "Squidsquid.conf" msgid "servicesquid.service" msgstr "Squidsquid.conf" msgid "The working database must be regenerated with update-squidguard after each change of the squidGuard configuration file (or one of the lists of domains or URLs it mentions). The configuration file syntax is documented on the following website: " msgstr "在配置文件 squidGuard (或者它提到的域名或 URL 列表之一)的每次更改后,必须用 update-squidguard 重新生成工作数据库。 配置文件的语法归档在后面的网站中:" msgid "update-squidguard" msgstr "update-squidguard" msgid "Squidupdate-squidguard" msgstr "Squidupdate-squidguard" msgid "ALTERNATIVE E2guardian (a DansGuardian Fork)" msgstr "替代替代 E2guardian(DansGuardian 叉子)" #, fuzzy #| msgid "coturn" msgid "dansguardian" msgstr "coturn" msgid "e2guardian" msgstr "e2guardian" msgid "The e2guardian package, a DansGuardian fork, is an alternative to squidguard. This software does not simply handle a blacklist of forbidden URLs, it can also take advantage of content and anti-virus scanning and it provides broad authentication support." msgstr "" msgid "LDAP Directory" msgstr "LDAP 目录" #, fuzzy #| msgid "web serverApache" msgid "LDAPOpenLDAP" msgstr "Web 服务器Apache" #, fuzzy #| msgid "web serverApache" msgid "Lightweight Directory Access ProtocolLDAP" msgstr "Web 服务器Apache" msgid "OpenLDAP" msgstr "OpenLDAP" msgid "directory, LDAP" msgstr "目录,LDAP" #, fuzzy #| msgid "serverFTP" msgid "serverLDAP" msgstr "服务器FTP" msgid "OpenLDAP is an implementation of the LDAP protocol; in other words, it is a special-purpose database designed for storing directories. In the most common use case, using an LDAP server allows centralizing management of user accounts and the related permissions. Moreover, an LDAP database is easily replicated, which allows setting up multiple synchronized LDAP servers. When the network and the user base grows quickly, the load can then be balanced across several servers." msgstr "OpenLDAP 是 LDAP 协议的应用;换句话说,它是设计来存储目录的特定功能数据库。在最通常的使用情况下,使用 LDAP 服务器允许集中管理用户账户和相关的权限。而且,LDAP 数据库复制容易,这允许设置多个同步的 LDAP 服务器。当网络和用户基础迅速增长时,负载然后会在几台服务器之间平衡。" msgid "LDAP data is structured and hierarchical. The structure is defined by “schemas” which describe the kind of objects that the database can store, with a list of all their possible attributes. The syntax used to refer to a particular object in the database is based on this structure, which explains its complexity." msgstr "LDAP 数据是结构化的并且分层级的。结构由“schemas(架构)”来确定,它使用了所有可能的属性列表,来描述数据库可以存储的对象的种类。用于指示数据库中特定对象的语法基于这个结构,它解释了其复杂性。" #, fuzzy #| msgid "serverfile" msgid "serverslapd" msgstr "服务器文件" #, fuzzy #| msgid "domainvirtual" msgid "daemonslapd" msgstr "域虚拟" msgid "The slapd package contains the OpenLDAP server. The ldap-utils package includes command-line tools for interacting with LDAP servers." msgstr "slapd 软件包包含 OpenLDAP 服务器。ldap-utils 软件包包括了与 LDAP 服务器交互的命令行工具。" msgid "slapd" msgstr "slapd" msgid "Installing slapd usually asks only for the administrator's password and the resulting database is unlikely to suit your needs. Fortunately a simple dpkg-reconfigure slapd will let you reconfigure the LDAP database with more details:" msgstr "安装 slapd 通常只询问管理员的密码,并且产生的数据库可能并不适合您的需求。幸运的是,简单的 dpkg-reconfigure slapd 将让您更具体地重新配置 LDAP 数据库:" msgid "Omit OpenLDAP server configuration? No, of course, we want to configure this service." msgstr "省略 OpenLDAP 服务器的配置?不,当然不,我们想要配置这个服务。" msgid "DNS domain name: “falcot.com”." msgstr "DNS 域名:“falcot.com”。" msgid "Organization name: “Falcot Corp”." msgstr "组织名称:“Falcot Corp”。" msgid "An administrative passwords needs to be typed in." msgstr "管理密码需要键入。" msgid "Database backend to use: “MDB”." msgstr "数据库后端要使用:“MDB”。" msgid "Do you want the database to be removed when slapd is purged? No. No point in risking losing the database in case of a mistake." msgstr "当清除 slapd 时想要删除数据库吗?不,没有必要在犯错误的情况下冒丢失数据库的风险。" msgid "Move old database? This question is only asked when the configuration is attempted while a database already exists. Only answer “yes” if you actually want to start again from a clean database, for instance if you run dpkg-reconfigure slapd right after the initial installation." msgstr "移动旧的数据库吗?只有在数据库已经存在而尝试进行配置的情况下才询问这个问题。如果真的想从干净的数据库重新开始时才能回答“是”,例如,如果刚好在初始安装后运行 dpkg-reconfigure slapd 的情况下。" msgid "BACK TO BASICS LDIF format" msgstr "基本知识 LDIF 格式" msgid "LDIF" msgstr "LDIF" #, fuzzy #| msgid "unsolicited commercial emailspam" msgid "LDAP Data Interchange FormatLDIF" msgstr "主动的商业电子邮件垃圾邮件" msgid "An LDIF file (LDAP Data Interchange Format) is a portable text file describing the contents of an LDAP database (or a portion thereof); this can then be used to inject the data into any other LDAP server." msgstr "LDIF 文件(LDAP Data Interchange Format——LDAP 数据交换格式)是可移植文本文件,描述了 LDAP 数据库的内容(或其一部分);然后这能够用于将数据注入任何其它 LDAP 服务器。" msgid "A minimal database is now configured, as demonstrated by the following query:" msgstr "现在配置了最小数据库,如后面的查询所说明的:" #, fuzzy #| msgid "apache" msgid "ldapsearch" msgstr "apache" #, fuzzy #| msgid "" #| "\n" #| "$ ldapsearch -x -b dc=falcot,dc=com\n" #| "# extended LDIF\n" #| "#\n" #| "# LDAPv3\n" #| "# base <dc=falcot,dc=com> with scope subtree\n" #| "# filter: (objectclass=*)\n" #| "# requesting: ALL\n" #| "#\n" #| "\n" #| "# falcot.com\n" #| "dn: dc=falcot,dc=com\n" #| "objectClass: top\n" #| "objectClass: dcObject\n" #| "objectClass: organization\n" #| "o: Falcot Corp\n" #| "dc: falcot\n" #| "\n" #| "# admin, falcot.com\n" #| "dn: cn=admin,dc=falcot,dc=com\n" #| "objectClass: simpleSecurityObject\n" #| "objectClass: organizationalRole\n" #| "cn: admin\n" #| "description: LDAP administrator\n" #| "\n" #| "# search result\n" #| "search: 2\n" #| "result: 0 Success\n" #| "\n" #| "# numResponses: 3\n" #| "# numEntries: 2\n" #| "" msgid "" "\n" "$ ldapsearch -x -b dc=falcot,dc=com\n" " with scope subtree\n" "# filter: (objectclass=*)\n" "# requesting: ALL\n" "#\n" "\n" "# falcot.com\n" "dn: dc=falcot,dc=com\n" "objectClass: top\n" "objectClass: dcObject\n" "objectClass: organization\n" "o: Falcot Corp\n" "dc: falcot\n" "\n" "# admin, falcot.com\n" "dn: cn=admin,dc=falcot,dc=com\n" "objectClass: simpleSecurityObject\n" "objectClass: organizationalRole\n" "cn: admin\n" "description: LDAP administrator\n" "\n" "# search result\n" "search: 2\n" "result: 0 Success\n" "\n" "# numResponses: 2\n" "# numEntries: 1\n" "]]>" msgstr "" "\n" "$ ldapsearch -x -b dc=falcot,dc=com\n" "# extended LDIF\n" "#\n" "# LDAPv3\n" "# base <dc=falcot,dc=com> with scope subtree\n" "# filter: (objectclass=*)\n" "# requesting: ALL\n" "#\n" "\n" "# falcot.com\n" "dn: dc=falcot,dc=com\n" "objectClass: top\n" "objectClass: dcObject\n" "objectClass: organization\n" "o: Falcot Corp\n" "dc: falcot\n" "\n" "# admin, falcot.com\n" "dn: cn=admin,dc=falcot,dc=com\n" "objectClass: simpleSecurityObject\n" "objectClass: organizationalRole\n" "cn: admin\n" "description: LDAP administrator\n" "\n" "# search result\n" "search: 2\n" "result: 0 Success\n" "\n" "# numResponses: 3\n" "# numEntries: 2\n" "" msgid "The query returned two objects: the organization itself, and the administrative user." msgstr "请求返回两个对象:组织自身和管理用户。" msgid "Filling in the Directory" msgstr "填入目录" msgid "Since an empty database is not particularly useful, we are going to inject into it all the existing directories; this includes the users, groups, services and hosts databases." msgstr "由于空数据库不特别有用,我们将所有现有目录注入其中;这包括用户、用户组、服务和主机数据库。" msgid "The migrationtools package provides a set of scripts dedicated to extract data from the standard Unix directories (/etc/passwd, /etc/group, /etc/services, /etc/hosts and so on), convert this data, and inject it into the LDAP database." msgstr "migrationtools 软件包提供一组脚本,专门用于从标准 Unix 目录中提取数据(/etc/passwd、/etc/group、/etc/services、/etc/hosts 以及等等诸如此类),转换这个数据,并将其注入 LDAP 数据库中。" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/passwd" msgstr "NFS/etc/exports" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/group" msgstr "NFS/etc/exports" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/services" msgstr "NFS/etc/exports" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/hosts" msgstr "NFS/etc/exports" msgid "migrationtools" msgstr "migrationtools" msgid "Once the package is installed, the /etc/migrationtools/migrate_common.ph must be edited; the IGNORE_UID_BELOW and IGNORE_GID_BELOW options need to be enabled (uncommenting them is enough), and DEFAULT_MAIL_DOMAIN/DEFAULT_BASE need to be updated." msgstr "一旦安装了软件包,就必须编辑 /etc/migrationtools/migrate_common.ph;需要启用 IGNORE_UID_BELOW 和 IGNORE_GID_BELOW 选项(将其取消注释就足够了),并且需要更新 DEFAULT_MAIL_DOMAIN/DEFAULT_BASE。" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/migrationtools/migrate_common.ph" msgstr "Samba/etc/samba/smb.conf" msgid "The actual migration operation is handled by the migrate_all_online.sh command, as follows:" msgstr "真正的迁移操作由 migrate_all_online.sh 命令来处理,如下:" #, fuzzy #| msgid "ldapvi" msgid "ldapadd" msgstr "ldapvi" #, fuzzy #| msgid "" #| "\n" #| "# cd /usr/share/migrationtools\n" #| "# LDAPADD=\"/usr/bin/ldapadd -c\" ETC_ALIASES=/dev/null ./migrate_all_online.sh" msgid "" "\n" "# cd /usr/share/migrationtools\n" "# PERL5LIB=\"${PERL5LIB}:/etc/migrationtools\" LDAPADD=\"/usr/bin/ldapadd -c\" ETC_ALIASES=/dev/null ./migrate_all_online.sh" msgstr "" "\n" "# cd /usr/share/migrationtools\n" "# LDAPADD=\"/usr/bin/ldapadd -c\" ETC_ALIASES=/dev/null ./migrate_all_online.sh" msgid "The migrate_all_online.sh asks a few questions about the LDAP database into which the data is to be migrated. summarizes the answers given in the Falcot use-case." msgstr "migrate_all_online.sh 询问一些关于数据迁移到 LDAP 数据库的问题。 概括了 Falcot 公司的使用案例中给出回答。" msgid "Answers to questions asked by the migrate_all_online.sh script" msgstr "对 migrate_all_online.sh 脚本询问的问题的回答" msgid "Question" msgstr "问题" msgid "Answer" msgstr "回答" msgid "X.500 naming context" msgstr "X.500 命名文本" msgid "dc=falcot,dc=com" msgstr "dc=falcot,dc=com" msgid "LDAP server hostname" msgstr "LDAP 服务器主机名" msgid "localhost" msgstr "localhost" msgid "Manager DN" msgstr "管理者 DN" msgid "cn=admin,dc=falcot,dc=com" msgstr "cn=admin,dc=falcot,dc=com" msgid "Bind credentials" msgstr "绑定证明" msgid "the administrative password" msgstr "管理员密码" msgid "Create DUAConfigProfile" msgstr "创建 DUAConfigProfile" msgid "no" msgstr "否" msgid "You might notice that we extend the PERL5LIB variable. This is due to Debian bug report #982666. " msgstr "" #, fuzzy #| msgid "We deliberately ignore migration of the /etc/aliases file, since the standard schema as provided by Debian does not include the structures that this script uses to describe email aliases. Should we want to integrate this data into the directory, the /etc/ldap/schema/misc.schema file should be added to the standard schema." msgid "As you might have also noticed, we deliberately ignore migration of the /etc/aliases file, since the standard schema as provided by Debian does not include the structures that this script uses to describe email aliases. Should we want to integrate this data into the directory, the /etc/ldap/schema/misc.schema file should be added to the standard schema." msgstr "我们故意忽略了 /etc/aliases 文件的迁移,因为由 Debian 提供的标准架构不包括这个脚本用来描述电子邮件别名的结构。如果我们想要将这个数据合并到目录中,那么 /etc/ldap/schema/misc.schema 文件应该添加到标准架构中。" #, fuzzy #| msgid "Apache/etc/apache2/mods-enabled" msgid "OpenLDAP/etc/ldap/schema/misc.schema" msgstr "Apache/etc/apache2/mods-enabled" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/ldap/OpenLDAP" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/aliases" msgstr "Samba/etc/samba/smb.conf" msgid "TOOL Browsing an LDAP directory" msgstr "工具 浏览 LDAP 目录" msgid "jxplorer" msgstr "jxplorer" msgid "The jxplorer command (in the package of the same name) is a graphical tool allowing to browse and edit an LDAP database. It is an interesting tool that provides an administrator with a good overview of the hierarchical structure of the LDAP data." msgstr "jxplorer 命令(在同名软件包中)是图形化的工具,允许浏览并编辑 LDAP 数据库。这是个有趣的工具,为管理员提供了 LDAP 数据分层级结构的良好概况。" msgid "Also note the use of the -c option to the ldapadd command; this option requests that processing doesn't stop in case of error. Using this option is required because converting the /etc/services often generates a few errors that can safely be ignored." msgstr "还要注意 -c 选项在 ldapadd 命令中的使用;这个选项需要在错误的情况下不将处理停止下来。使用这个选项的使用是需要的,因为 /etc/services 的转换通常产生一些可以被安全地忽略的错误。" msgid "Managing Accounts with LDAP" msgstr "使用 LDAP 管理账户" msgid "Now the LDAP database contains some useful information, the time has come to make use of this data. This section focuses on how to configure a Linux system so that the various system directories use the LDAP database." msgstr "现在 LDAP 数据库包含了一些有用的信息,是时候使用这些数据了。这一节聚焦于如何配置 Linux 系统,从而各个系统目录可以使用 LDAP 数据库。" msgid "Configuring NSS" msgstr "配置 NSS" #, fuzzy #| msgid "WINS" msgid "NSS" msgstr "WINS" #, fuzzy #| msgid "web serverApache" msgid "Name Service SwitchNSS" msgstr "Web 服务器Apache" #, fuzzy #| msgid "clientNFS" msgid "OpenLDAPNSS" msgstr "客户端NFS" msgid "The NSS system (Name Service Switch, see sidebar ) is a modular system designed to define or fetch information for system directories. Using LDAP as a source of data for NSS requires installing the libnss-ldap package. Its installation asks a few questions; the answers are summarized in ." msgstr "NSS 系统(Name Service Switch——名称服务交换,请参见边栏 )是个模块化的系统,设计来为系统目录确定或取回信息。使用 LDAP 作为 NSS 的数据源需要安装 libnss-ldap 软件包。它的安装会询问一些问题;回答概括在 中。" #, fuzzy #| msgid "libnss-ldap" msgid "libnss-ldap" msgstr "libnss-ldap" #, fuzzy #| msgid "Configuring the libnss-ldap package" msgid "Configuring the libnss-ldap package:" msgstr "配置 libnss-ldap 软件包" #, fuzzy #| msgid "LDAP server Uniform Resource Identifier" msgid "LDAP server URI (Uniform Resource Identifier)" msgstr "LDAP 服务器统一资源识别符" msgid "ldapi://ldap.falcot.com" msgstr "ldapi://ldap.falcot.com" msgid "Distinguished name of the search base" msgstr "搜索基础的区分名称" msgid "LDAP version to use" msgstr "使用的 LDAP 版本" msgid "3" msgstr "3" msgid "LDAP account for root" msgstr "根的 LDAP 账户" msgid "LDAP root account password" msgstr "LDAP 根账户密码" msgid "Allow LDAP admin account behave like local root?" msgstr "允许 LDAP 管理账户的行为像本地根用户一样吗?" msgid "yes" msgstr "是" msgid "Does the LDAP database require login?" msgstr "LDAP 数据库需要登录吗?" msgid "The /etc/nsswitch.conf file then needs to be modified, so as to configure NSS to use the freshly-installed ldap module. You can use the example provided in /usr/share/doc/libnss-ldap/examples/nsswitch.ldap or edit your existing configuration." msgstr "然后需要修改 /etc/nsswitch.conf 文件,从而配置 NSS 来使用刚刚安装的 ldap 模块。可以使用 /usr/share/doc/libnss-ldap/examples/nsswitch.ldap 中提供的示例,或者编辑现有的配置。" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/nsswitch.conf" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "ldapvi" msgid "ldap" msgstr "ldapvi" msgid "The /etc/nsswitch.conf file" msgstr "The /etc/nsswitch.conf file" #, fuzzy #| msgid "" #| "\n" #| "#ident $Id: nsswitch.ldap,v 2.4 2003/10/02 02:36:25 lukeh Exp $\n" #| "#\n" #| "# An example file that could be copied over to /etc/nsswitch.conf; it\n" #| "# uses LDAP conjunction with files.\n" #| "#\n" #| "# \"hosts:\" and \"services:\" in this file are used only if the\n" #| "# /etc/netconfig file has a \"-\" for nametoaddr_libs of \"inet\" transports.\n" #| "\n" #| "# the following lines obviate the \"+\" entry in /etc/passwd and /etc/group.\n" #| "passwd: files ldap\n" #| "shadow: files ldap\n" #| "group: files ldap\n" #| "\n" #| "# consult DNS first, we will need it to resolve the LDAP host. (If we\n" #| "# can't resolve it, we're in infinite recursion, because libldap calls\n" #| "# gethostbyname(). Careful!)\n" #| "hosts: dns ldap\n" #| "\n" #| "# LDAP is nominally authoritative for the following maps.\n" #| "services: ldap [NOTFOUND=return] files\n" #| "networks: ldap [NOTFOUND=return] files\n" #| "protocols: ldap [NOTFOUND=return] files\n" #| "rpc: ldap [NOTFOUND=return] files\n" #| "ethers: ldap [NOTFOUND=return] files\n" #| "\n" #| "# no support for netmasks, bootparams, publickey yet.\n" #| "netmasks: files\n" #| "bootparams: files\n" #| "publickey: files\n" #| "automount: files\n" #| "\n" #| "# I'm pretty sure nsswitch.conf is consulted directly by sendmail,\n" #| "# here, so we can't do much here. Instead, use bbense's LDAP\n" #| "# rules ofr sendmail.\n" #| "aliases: files\n" #| "sendmailvars: files\n" #| "\n" #| "# Note: there is no support for netgroups on Solaris (yet)\n" #| "netgroup: ldap [NOTFOUND=return] files\n" #| "\n" msgid "" "\n" "#ident $Id: nsswitch.ldap,v 2.4 2003/10/02 02:36:25 lukeh Exp $\n" "#\n" "# An example file that could be copied over to /etc/nsswitch.conf; it\n" "# uses LDAP conjunction with files.\n" "#\n" "# \"hosts:\" and \"services:\" in this file are used only if the\n" "# /etc/netconfig file has a \"-\" for nametoaddr_libs of \"inet\" transports.\n" "\n" "# the following lines obviate the \"+\" entry in /etc/passwd and /etc/group.\n" "passwd: files ldap\n" "shadow: files ldap\n" "group: files ldap\n" "\n" "# consult DNS first, we will need it to resolve the LDAP host. (If we\n" "# can't resolve it, we're in infinite recursion, because libldap calls\n" "# gethostbyname(). Careful!)\n" "hosts: dns ldap\n" "\n" "# LDAP is nominally authoritative for the following maps.\n" "services: ldap [NOTFOUND=return] files\n" "networks: ldap [NOTFOUND=return] files\n" "protocols: ldap [NOTFOUND=return] files\n" "rpc: ldap [NOTFOUND=return] files\n" "ethers: ldap [NOTFOUND=return] files\n" "\n" "# no support for netmasks, bootparams, publickey yet.\n" "netmasks: files\n" "bootparams: files\n" "publickey: files\n" "automount: files\n" "\n" "# I'm pretty sure nsswitch.conf is consulted directly by sendmail,\n" "# here, so we can't do much here. Instead, use bbense's LDAP\n" "# rules ofr sendmail.\n" "aliases: files\n" "sendmailvars: files\n" "\n" "# Note: there is no support for netgroups on Solaris (yet)\n" "netgroup: ldap [NOTFOUND=return] files" msgstr "" "\n" "#ident $Id: nsswitch.ldap,v 2.4 2003/10/02 02:36:25 lukeh Exp $\n" "#\n" "# An example file that could be copied over to /etc/nsswitch.conf; it\n" "# uses LDAP conjunction with files.\n" "#\n" "# \"hosts:\" and \"services:\" in this file are used only if the\n" "# /etc/netconfig file has a \"-\" for nametoaddr_libs of \"inet\" transports.\n" "\n" "# the following lines obviate the \"+\" entry in /etc/passwd and /etc/group.\n" "passwd: files ldap\n" "shadow: files ldap\n" "group: files ldap\n" "\n" "# consult DNS first, we will need it to resolve the LDAP host. (If we\n" "# can't resolve it, we're in infinite recursion, because libldap calls\n" "# gethostbyname(). Careful!)\n" "hosts: dns ldap\n" "\n" "# LDAP is nominally authoritative for the following maps.\n" "services: ldap [NOTFOUND=return] files\n" "networks: ldap [NOTFOUND=return] files\n" "protocols: ldap [NOTFOUND=return] files\n" "rpc: ldap [NOTFOUND=return] files\n" "ethers: ldap [NOTFOUND=return] files\n" "\n" "# no support for netmasks, bootparams, publickey yet.\n" "netmasks: files\n" "bootparams: files\n" "publickey: files\n" "automount: files\n" "\n" "# I'm pretty sure nsswitch.conf is consulted directly by sendmail,\n" "# here, so we can't do much here. Instead, use bbense's LDAP\n" "# rules ofr sendmail.\n" "aliases: files\n" "sendmailvars: files\n" "\n" "# Note: there is no support for netgroups on Solaris (yet)\n" "netgroup: ldap [NOTFOUND=return] files\n" "\n" msgid "The ldap module is usually inserted before others, and it will therefore be queried first. The notable exception is the hosts service since contacting the LDAP server requires consulting DNS first (to resolve ldap.falcot.com). Without this exception, a hostname query would try to ask the LDAP server; this would trigger a name resolution for the LDAP server, and so on in an infinite loop." msgstr "ldap 模块通常插在其它之前,这样会被首先询问。显著的例外是 hosts 服务,因为联系 LDAP 服务器需要首先咨询 DNS (来解析 ldap.falcot.com)。没有这个例外的话,主机名查询将试图询问 LDAP 服务器;这会触发对 LDAP 服务器的名称解析,于是进入死循环。" #, fuzzy #| msgid "Apachea2enmod" msgid "OpenLDAPldap" msgstr "Apachea2enmod" #, fuzzy #| msgid "Apachea2ensite" msgid "OpenLDAPfiles" msgstr "Apachea2ensite" msgid "If the LDAP server should be considered authoritative (and the local files used by the files module disregarded), services can be configured with the following syntax:" msgstr "如果 LDAP 服务器被认为是权威的(并且不理会 files 模块使用的本地文件),那么服务可以使用后面的语法来配置:" msgid "service: ldap [NOTFOUND=return] files." msgstr "服务: ldap [NOTFOUND=return] files." msgid "If the requested entry does not exist in the LDAP database, the query will return a “not existing” reply even if the resource does exist in one of the local files; these local files will only be used when the LDAP service is down." msgstr "如果请求的入口在 LDAP 数据库中不存在,那么即使资源真实存在于一个本地文件中,查询也会返回“不存在”的回复;这些本地文件只当 LDAP 服务关闭时才会使用。" msgid "Configuring PAM" msgstr "配置 PAM" #, fuzzy #| msgid "LDAPsecure" msgid "OpenLDAPPAM" msgstr "LDAPsecure" msgid "This section describes a PAM configuration (see sidebar ) that will allow applications to perform the required authentications against the LDAP database." msgstr "本节描述了 PAM 配置(请参见边栏 ),它允许应用针对 LDAP 数据库来执行所需要的授权。" msgid "CAUTION Broken authentication" msgstr "警告 失效的认证" msgid "Changing the standard PAM configuration used by various programs is a sensitive operation. A mistake can lead to broken authentication, which could prevent logging in. Keeping a root shell open is therefore a good precaution. If configuration errors occur, they can be then fixed and the services restarted with minimal effort." msgstr "更改各个程序使用的标准 PAM 配置是敏感的操作。错误可以导致失效的认证,这会阻碍登录。这样,保持 root shell 打开是个好的预防方式。如果发生配置错误,然后可以修复它们,并且以最小的努力来重启服务。" msgid "The LDAP module for PAM is provided by the libpam-ldap package. Installing this package asks a few questions very similar to those in libnss-ldap; some configuration parameters (such as the URI for the LDAP server) are even actually shared with the libnss-ldap package. Answers are summarized in ." msgstr "用于 PAM 的 LDAP 模块由 libpam-ldap 软件包提供。安装这个软件包会询问一些问题,与 libnss-ldap 中的那些问题非常相似;一些配置参数(如 LDAP 服务器的 URI)甚至被 libnss-ldap 软件包真正共享。 回答概括在 中。" #, fuzzy #| msgid "lighttpd" msgid "libpam-ldap" msgstr "lighttpd" msgid "Configuration of libpam-ldap" msgstr "libpam-ldap 的配置" #, fuzzy #| msgid "htpasswd" msgid "passwd" msgstr "htpasswd" msgid "Allow LDAP admin account to behave like local root?" msgstr "允许 LDAP 管理账户的行为像本地根用户一样吗?" msgid "Yes. This allows using the usual passwd command for changing passwords stored in the LDAP database." msgstr "是。这允许使用通常的 passwd 命令来更改存储在 LDAP 数据库中的密码。" msgid "Does the LDAP database require logging in?" msgstr "LDAP 数据库需要登录吗?" #, fuzzy #| msgid "LDAP account for root" msgid "LDAP account for root:" msgstr "根的 LDAP 账户" #, fuzzy #| msgid "the administrative password" msgid "LDAP administrative password:" msgstr "管理员密码" msgid "the LDAP database administrative password" msgstr "LDAP 数据库管理密码" #, fuzzy #| msgid "Local encryption algorithm to use for passwords" msgid "Local encryption algorithm to use for passwords:" msgstr "用于密码的本地加密算法" #, fuzzy #| msgid "yes" msgid "crypt" msgstr "是" msgid "PAM profiles to enable:" msgstr "" msgid "LDAP Authentication is among the enabled profiles" msgstr "" msgid "Installing libpam-ldap automatically adapts the default PAM configuration defined in the /etc/pam.d/common-auth, /etc/pam.d/common-password and /etc/pam.d/common-account files. This mechanism uses the dedicated pam-auth-update tool (provided by the libpam-runtime package). This tool can also be run by the administrator should they wish to enable or disable PAM modules." msgstr "安装 libpam-ldap 会自动适应 /etc/pam.d/common-auth、/etc/pam.d/common-password 和 /etc/pam.d/common-account 文件中的默认 PAM 配置。这个机制使用专用的 pam-auth-update 工具(由 libpam-runtime 软件包提供)。这个工具还可以由管理员运行,如果他们想要启用或禁止 PAM 模块的话。" #, fuzzy #| msgid "apache" msgid "pam-auth-update" msgstr "apache" msgid "common-auth" msgstr "common-auth" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/pam.d/common-auth" msgstr "Samba/etc/samba/smb.conf" msgid "common-password" msgstr "common-password" #, fuzzy #| msgid "Apache/etc/apache2/conf-enabled" msgid "/etc/etc/pam.d/common-password" msgstr "Apache/etc/apache2/conf-enabled" msgid "common-account" msgstr "common-account" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/pam.d/common-account" msgstr "Samba/etc/samba/smb.conf" msgid "Securing LDAP Data Exchanges" msgstr "保护 LDAP 数据交换" msgid "LDAPsecure" msgstr "LDAPsecure" msgid "X.509" msgstr "X.509" msgid "By default, the LDAP protocol transits on the network as cleartext; this includes the (encrypted) passwords. Since the encrypted passwords can be extracted from the network, they can be vulnerable to dictionary-type attacks. This can be avoided by using an extra encryption layer; enabling this layer is the topic of this section." msgstr "LDAP 协议默认在网络上明文传输;这包括(加密的)密码。由于加密的密码可以从网络上提取,它们对字典类型的攻击会是脆弱的。这可以通过使用另外的加密层来避免;启用这层是本节的主题。" msgid "Configuring the Server" msgstr "配置服务器" msgid "OpenSSLcreating keys" msgstr "OpenSSL生成密钥" msgid "key pair" msgstr "密钥对" #, fuzzy #| msgid "slapd" msgid "easy-rsa" msgstr "slapd" msgid "The first step is to create a key pair (comprising a public key and a private key) for the LDAP server. The Falcot administrators reuse easy-rsa to generate it (see ). Running ./easyrsa build-server-full ldap.falcot.com nopass will ask you about the “common name”. The answer to that question must be the fully-qualified hostname for the LDAP server; in our case, ldap.falcot.com." msgstr "第一步是为 LDAP 服务器创建密钥对(包括公钥和私钥)。Falcot 公司的管理员重复使用 easy-rsa 来生成它(请参见 )。运行 ./easyrsa build-server-full ldap.falcot.com nopass 会询问有关“通用名称”。对问题的回答必须是 LDAP 服务器完全合格的主机名;在我们的例子中是 ldap.falcot.com。" msgid "This command creates a certificate in the pki/issued/ldap.falcot.com.crt file; the corresponding private key is stored in pki/private/ldap.falcot.com.key." msgstr "这个命令在 pki/issued/ldap.falcot.com.crt 文件中创建了证书;相应的私钥存储在 pki/private/ldap.falcot.com.key 中。" msgid "Now these keys have to be installed in their standard location, and we must make sure that the private file is readable by the LDAP server which runs under the openldap user identity:" msgstr "现在这些密钥必须安装到其标准位置上,并且我们必须确定私有文件可以被openldap身份下运行的 LDAP 服务器读取:" #, fuzzy #| msgid "Apache.htaccess" msgid "/etc/etc/ssl/" msgstr "Apache.htaccess" #, fuzzy #| msgid "" #| "# adduser openldap ssl-cert\n" #| "Adding user `openldap' to group `ssl-cert' ...\n" #| "Adding user openldap to group ssl-cert\n" #| "Done.\n" #| "# mv pki/private/ldap.falcot.com.key /etc/ssl/private/ldap.falcot.com.key\n" #| "# chown root:ssl-cert /etc/ssl/private/ldap.falcot.com.key\n" #| "# chmod 0640 /etc/ssl/private/ldap.falcot.com.key\n" #| "# ./eassyrsa gen-dh\n" #| "\n" #| "Note: using Easy-RSA configuration from: ./vars\n" #| "\n" #| "Using SSL: openssl OpenSSL 1.1.1c 28 May 2019\n" #| "Generating DH parameters, 2048 bit long safe prime, generator 2\n" #| "This is going to take a long time\n" #| "........................................................+..........................................................................+...............................................................................+............\n" #| "[...]\n" #| "DH parameters of size 2048 created at /home/roland/pki/dh.pem\n" #| "\n" #| "# mv pki/dh.pem /etc/ssl/certs/ldap.falcot.com.pem\n" #| "" msgid "" "# adduser openldap ssl-cert\n" "Adding user `openldap' to group `ssl-cert' ...\n" "Adding user openldap to group ssl-cert\n" "Done.\n" "# mv pki/private/ldap.falcot.com.key /etc/ssl/private/ldap.falcot.com.key\n" "# chown root.ssl-cert /etc/ssl/private/ldap.falcot.com.key\n" "# chmod 0640 /etc/ssl/private/ldap.falcot.com.key\n" "# mv pki/issued/ldap.falcot.com.crt /etc/ssl/certs/ldap.falcot.com.pem\n" "# chown root.root /etc/ssl/certs/ldap.falcot.com.pem\n" "# chmod 0644 /etc/ssl/certs/ldap.falcot.com.pem\n" "" msgstr "" "# adduser openldap ssl-cert\n" "Adding user `openldap' to group `ssl-cert' ...\n" "Adding user openldap to group ssl-cert\n" "Done.\n" "# mv pki/private/ldap.falcot.com.key /etc/ssl/private/ldap.falcot.com.key\n" "# chown root:ssl-cert /etc/ssl/private/ldap.falcot.com.key\n" "# chmod 0640 /etc/ssl/private/ldap.falcot.com.key\n" "# ./eassyrsa gen-dh\n" "\n" "Note: using Easy-RSA configuration from: ./vars\n" "\n" "Using SSL: openssl OpenSSL 1.1.1c 28 May 2019\n" "Generating DH parameters, 2048 bit long safe prime, generator 2\n" "This is going to take a long time\n" "........................................................+..........................................................................+...............................................................................+............\n" "[...]\n" "DH parameters of size 2048 created at /home/roland/pki/dh.pem\n" "\n" "# mv pki/dh.pem /etc/ssl/certs/ldap.falcot.com.pem\n" "" msgid "The slapd daemon also needs to be told to use these keys for encryption. The LDAP server configuration is managed dynamically: the configuration can be updated with normal LDAP operations on the cn=config object hierarchy, and the server updates /etc/ldap/slapd.d in real time to make the configuration persistent. ldapmodify is thus the right tool to update the configuration:" msgstr "还需要告知 slapd 守护进程使用这些密钥来加密。LDAP 服务器的配置被动态地管理:可以在 cn=config 对象层次结构上通过正常的 LDAP 操做来更新配置;并且服务器实时更新 /etc/ldap/slapd.d 而使配置持续。这样 ldapmodify 就是更新配置的合适工具了:" #, fuzzy #| msgid "NFS/etc/exports" msgid "OpenLDAP/etc/ldap/slapd.d/" msgstr "NFS/etc/exports" #, fuzzy #| msgid "Sambasmbd" msgid "serverslapd" msgstr "Sambasmbd" #, fuzzy #| msgid "ldapvi" msgid "slapd" msgstr "ldapvi" #, fuzzy #| msgid "Apachea2enmod" msgid "OpenLDAPslapd" msgstr "Apachea2enmod" #, fuzzy #| msgid "Apachea2enmod" msgid "OpenLDAPldapmodify" msgstr "Apachea2enmod" msgid "Configuring slapd for encryption" msgstr "配置 slapd 来加密" #, fuzzy #| msgid "Apache.htaccess" msgid "serviceslapd.service" msgstr "Apache.htaccess" #, fuzzy #| msgid "Apachea2ensite" msgid "OpenLDAPldapsearch" msgstr "Apachea2ensite" #, fuzzy #| msgid "" #| "# cat >ssl.ldif <<END\n" #| "dn: cn=config\n" #| "changetype: modify\n" #| "add: olcTLSCertificateFile\n" #| "olcTLSCertificateFile: /etc/ssl/certs/ldap.falcot.com.pem\n" #| "-\n" #| "add: olcTLSCertificateKeyFile\n" #| "olcTLSCertificateKeyFile: /etc/ssl/private/ldap.falcot.com.key\n" #| "-\n" #| "END\n" #| "# ldapmodify -Y EXTERNAL -H ldapi:/// -f ssl.ldif\n" #| "SASL/EXTERNAL authentication started\n" #| "SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\n" #| "SASL SSF: 0\n" #| "modifying entry \"cn=config\"\n" #| "" msgid "" "# cat >ssl.ldif <<END\n" "dn: cn=config\n" "changetype: modify\n" "add: olcTLSCertificateKeyFile\n" "olcTLSCertificateKeyFile: /etc/ssl/private/ldap.falcot.com.key\n" "-\n" "add: olcTLSCertificateFile\n" "olcTLSCertificateFile: /etc/ssl/certs/ldap.falcot.com.pem\n" "END\n" "# ldapmodify -Y EXTERNAL -H ldapi:/// -f ssl.ldif\n" "SASL/EXTERNAL authentication started\n" "SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\n" "SASL SSF: 0\n" "modifying entry \"cn=config\"\n" "# systemctl restart slapd.service\n" "# ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=config -s base | grep TLS\n" "SASL/EXTERNAL authentication started\n" "SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\n" "SASL SSF: 0\n" "olcTLSCertificateFile: /etc/ssl/certs/ldap.falcot.com.pem\n" "olcTLSCertificateKeyFile: /etc/ssl/certs/ldap.falcot.com.key\n" "" msgstr "" "# cat >ssl.ldif <<END\n" "dn: cn=config\n" "changetype: modify\n" "add: olcTLSCertificateFile\n" "olcTLSCertificateFile: /etc/ssl/certs/ldap.falcot.com.pem\n" "-\n" "add: olcTLSCertificateKeyFile\n" "olcTLSCertificateKeyFile: /etc/ssl/private/ldap.falcot.com.key\n" "-\n" "END\n" "# ldapmodify -Y EXTERNAL -H ldapi:/// -f ssl.ldif\n" "SASL/EXTERNAL authentication started\n" "SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\n" "SASL SSF: 0\n" "modifying entry \"cn=config\"\n" "" msgid "TOOL ldapvi to edit an LDAP directory" msgstr "工具 ldapvi 来编辑 LDAP 目录" msgid "ldapvi" msgstr "ldapvi" #, fuzzy #| msgid "Apachea2ensite" msgid "OpenLDAPldapvi" msgstr "Apachea2ensite" #, fuzzy #| msgid "With ldapvi, you can display an LDIF output of any part of the LDAP directory, make some changes in the text editor, and let the tool do the corresponding LDAP operations for you." msgid "With ldapvi, you can display an LDIF output of any part of the LDAP directory, make some changes in the text editor, and let the tool do the corresponding LDAP operations for you." msgstr "使用 ldapvi,可以显示 LDAP 目录任何部分的 LDIF 输出,在文本编辑器中做一些更改,并让工具为您做相应的 LDAP 操作。" msgid "It is thus a convenient way to update the configuration of the LDAP server, simply by editing the cn=config hierarchy." msgstr "这样是更新 LDAP 服务器配置的方便的方式,通过简单地编辑 cn=config 层次结构来完成。" msgid "" "# ldapvi -Y EXTERNAL -h ldapi:/// -b cn=config\n" "" msgstr "" "# ldapvi -Y EXTERNAL -h ldapi:/// -b cn=config\n" "" msgid "The last step for enabling encryption involves changing the SLAPD_SERVICES variable in the /etc/default/slapd file. We'll play it safe and disable unsecured LDAP altogether." msgstr "启用加密的最后一步包括更改 /etc/default/slapd 文件中的 SLAPD_SERVICES 变量。我们将同时安全地运行并禁止不安全 LDAP。" #, fuzzy #| msgid "LDAPsecure" msgid "OpenLDAPSLAPD_SERVICES" msgstr "LDAPsecure" #, fuzzy #| msgid "NFS/etc/exports" msgid "OpenLDAP/etc/default/slapd" msgstr "NFS/etc/exports" #, fuzzy #| msgid "NFS/etc/exports" msgid "/etc/etc/default/slapdOpenLDAP" msgstr "NFS/etc/exports" msgid "The /etc/default/slapd file" msgstr "/etc/default/slapd 文件" #, fuzzy #| msgid "" #| "\n" #| "# Default location of the slapd.conf file or slapd.d cn=config directory. If\n" #| "# empty, use the compiled-in default (/etc/ldap/slapd.d with a fallback to\n" #| "# /etc/ldap/slapd.conf).\n" #| "SLAPD_CONF=\n" #| "\n" #| "# System account to run the slapd server under. If empty the server\n" #| "# will run as root.\n" #| "SLAPD_USER=\"openldap\"\n" #| "\n" #| "# System group to run the slapd server under. If empty the server will\n" #| "# run in the primary group of its user.\n" #| "SLAPD_GROUP=\"openldap\"\n" #| "\n" #| "# Path to the pid file of the slapd server. If not set the init.d script\n" #| "# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf by\n" #| "# default)\n" #| "SLAPD_PIDFILE=\n" #| "\n" #| "# slapd normally serves ldap only on all TCP-ports 389. slapd can also\n" #| "# service requests on TCP-port 636 (ldaps) and requests via unix\n" #| "# sockets.\n" #| "# Example usage:\n" #| "# SLAPD_SERVICES=\"ldap://127.0.0.1:389/ ldaps:/// ldapi:///\"\n" #| "SLAPD_SERVICES=\"ldaps:/// ldapi:///\"\n" #| "\n" #| "# If SLAPD_NO_START is set, the init script will not start or restart\n" #| "# slapd (but stop will still work). Uncomment this if you are\n" #| "# starting slapd via some other means or if you don't want slapd normally\n" #| "# started at boot.\n" #| "#SLAPD_NO_START=1\n" #| "\n" #| "# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,\n" #| "# the init script will not start or restart slapd (but stop will still\n" #| "# work). Use this for temporarily disabling startup of slapd (when doing\n" #| "# maintenance, for example, or through a configuration management system)\n" #| "# when you don't want to edit a configuration file.\n" #| "SLAPD_SENTINEL_FILE=/etc/ldap/noslapd\n" #| "\n" #| "# For Kerberos authentication (via SASL), slapd by default uses the system\n" #| "# keytab file (/etc/krb5.keytab). To use a different keytab file,\n" #| "# uncomment this line and change the path.\n" #| "#export KRB5_KTNAME=/etc/krb5.keytab\n" #| "\n" #| "# Additional options to pass to slapd\n" #| "SLAPD_OPTIONS=\"\"\n" msgid "" "\n" "# Default location of the slapd.conf file or slapd.d cn=config directory. If\n" "# empty, use the compiled-in default (/etc/ldap/slapd.d with a fallback to\n" "# /etc/ldap/slapd.conf).\n" "SLAPD_CONF=\n" "\n" "# System account to run the slapd server under. If empty the server\n" "# will run as root.\n" "SLAPD_USER=\"openldap\"\n" "\n" "# System group to run the slapd server under. If empty the server will\n" "# run in the primary group of its user.\n" "SLAPD_GROUP=\"openldap\"\n" "\n" "# Path to the pid file of the slapd server. If not set the init.d script\n" "# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.d by\n" "# default)\n" "SLAPD_PIDFILE=\n" "\n" "# slapd normally serves ldap only on all TCP-ports 389. slapd can also\n" "# service requests on TCP-port 636 (ldaps) and requests via unix\n" "# sockets.\n" "# Example usage:\n" "# SLAPD_SERVICES=\"ldap://127.0.0.1:389/ ldaps:/// ldapi:///\"\n" "SLAPD_SERVICES=\"ldaps:/// ldapi:///\"\n" "\n" "# If SLAPD_NO_START is set, the init script will not start or restart\n" "# slapd (but stop will still work). Uncomment this if you are\n" "# starting slapd via some other means or if you don't want slapd normally\n" "# started at boot.\n" "#SLAPD_NO_START=1\n" "\n" "# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,\n" "# the init script will not start or restart slapd (but stop will still\n" "# work). Use this for temporarily disabling startup of slapd (when doing\n" "# maintenance, for example, or through a configuration management system)\n" "# when you don't want to edit a configuration file.\n" "SLAPD_SENTINEL_FILE=/etc/ldap/noslapd\n" "\n" "# For Kerberos authentication (via SASL), slapd by default uses the system\n" "# keytab file (/etc/krb5.keytab). To use a different keytab file,\n" "# uncomment this line and change the path.\n" "#export KRB5_KTNAME=/etc/krb5.keytab\n" "\n" "# Additional options to pass to slapd\n" "SLAPD_OPTIONS=\"\"" msgstr "" "\n" "# Default location of the slapd.conf file or slapd.d cn=config directory. If\n" "# empty, use the compiled-in default (/etc/ldap/slapd.d with a fallback to\n" "# /etc/ldap/slapd.conf).\n" "SLAPD_CONF=\n" "\n" "# System account to run the slapd server under. If empty the server\n" "# will run as root.\n" "SLAPD_USER=\"openldap\"\n" "\n" "# System group to run the slapd server under. If empty the server will\n" "# run in the primary group of its user.\n" "SLAPD_GROUP=\"openldap\"\n" "\n" "# Path to the pid file of the slapd server. If not set the init.d script\n" "# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf by\n" "# default)\n" "SLAPD_PIDFILE=\n" "\n" "# slapd normally serves ldap only on all TCP-ports 389. slapd can also\n" "# service requests on TCP-port 636 (ldaps) and requests via unix\n" "# sockets.\n" "# Example usage:\n" "# SLAPD_SERVICES=\"ldap://127.0.0.1:389/ ldaps:/// ldapi:///\"\n" "SLAPD_SERVICES=\"ldaps:/// ldapi:///\"\n" "\n" "# If SLAPD_NO_START is set, the init script will not start or restart\n" "# slapd (but stop will still work). Uncomment this if you are\n" "# starting slapd via some other means or if you don't want slapd normally\n" "# started at boot.\n" "#SLAPD_NO_START=1\n" "\n" "# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,\n" "# the init script will not start or restart slapd (but stop will still\n" "# work). Use this for temporarily disabling startup of slapd (when doing\n" "# maintenance, for example, or through a configuration management system)\n" "# when you don't want to edit a configuration file.\n" "SLAPD_SENTINEL_FILE=/etc/ldap/noslapd\n" "\n" "# For Kerberos authentication (via SASL), slapd by default uses the system\n" "# keytab file (/etc/krb5.keytab). To use a different keytab file,\n" "# uncomment this line and change the path.\n" "#export KRB5_KTNAME=/etc/krb5.keytab\n" "\n" "# Additional options to pass to slapd\n" "SLAPD_OPTIONS=\"\"\n" msgid "Configuring the Client" msgstr "配置客户端" msgid "On the client side, the configuration for the libpam-ldap and libnss-ldap modules needs to be modified to use an ldaps:// URI." msgstr "在客户端一侧,需要修改用于 libpam-ldap 和 libnss-ldap 模块的配置,来使用 ldaps:// URI。" #, fuzzy #| msgid "LDAP clients also need to be able to authenticate the server. In a X.509 public key infrastructure, public certificates are signed by the key of a certificate authority (CA). With easy-rsa, the Falcot administrators have created their own CA and they now need to configure the system to trust the signatures of Falcot's CA. This can be done by putting the CA certificate in /usr/local/share/ca-certificates and running update-ca-certificates." msgid "LDAP clients also need to be able to authenticate the server. In an X.509 public key infrastructure, public certificates are signed by the key of a certificate authority (CA). With easy-rsa, the Falcot administrators have created their own CA and they now need to configure the system to trust the signatures of Falcot's CA. This can be done by putting the CA certificate in /usr/local/share/ca-certificates and running update-ca-certificates." msgstr "LDAP 客户端还需要能够认证服务器。在 X.509 公钥基础设施中,公共证书由认证机构(CA)的密钥签署。通过 easy-rsa,Falcot 公司的管理员创建了自己的 CA, 现在他们需要配置系统来信任 Falcot 公司 CA 的签名。这可以通过将 CA 证书放置到 /usr/local/share/ca-certificates 中,并运行 update-ca-certificates 来实现。" #, fuzzy #| msgid "" #| "# cp pki/ca.crt /usr/local/share/ca-certificates/falcot.crt\n" #| "# update-ca-certificates\n" #| "Updating certificates in /etc/ssl/certs... 1 added, 0 removed; done.\n" #| "Running hooks in /etc/ca-certificates/update.d....\n" #| "\n" #| "Adding debian:falcot.pem\n" #| "done.\n" #| "done.\n" #| "" msgid "" "# cp pki/ca.crt /usr/local/share/ca-certificates/falcot.crt\n" "# update-ca-certificates\n" "Updating certificates in /etc/ssl/certs...\n" "1 added, 0 removed; done.\n" "Running hooks in /etc/ca-certificates/update.d...\n" "\n" "Adding debian:falcot.pem\n" "done.\n" "done.\n" "" msgstr "" "# cp pki/ca.crt /usr/local/share/ca-certificates/falcot.crt\n" "# update-ca-certificates\n" "Updating certificates in /etc/ssl/certs... 1 added, 0 removed; done.\n" "Running hooks in /etc/ca-certificates/update.d....\n" "\n" "Adding debian:falcot.pem\n" "done.\n" "done.\n" "" msgid "Last but not least, the default LDAP URI and default base DN used by the various command line tools can be modified in /etc/ldap/ldap.conf. This will save quite some typing." msgstr "最后但不是最重要的,各种命令行工具使用的默认 LDAP URI 和默认基础 DN可以在 /etc/ldap/ldap.conf 中修改。这会节省一些输入工作。" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "OpenLDAP/etc/ldap/ldap.conf" msgstr "Samba/etc/samba/smb.conf" msgid "The /etc/ldap/ldap.conf file" msgstr "/etc/ldap/ldap.conf 文件" #, fuzzy #| msgid "" #| "#\n" #| "# LDAP Defaults\n" #| "#\n" #| "\n" #| "# See ldap.conf(5) for details\n" #| "# This file should be world readable but not world writable.\n" #| "\n" #| "BASE dc=falcot,dc=com\n" #| "URI ldaps://ldap.falcot.com\n" #| "\n" #| "#SIZELIMIT 12\n" #| "#TIMELIMIT 15\n" #| "#DEREF never\n" #| "\n" #| "# TLS certificates (needed for GnuTLS)\n" #| "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" msgid "" "#\n" "# LDAP Defaults\n" "#\n" "\n" "# See ldap.conf(5) for details\n" "# This file should be world readable but not world writable.\n" "\n" "#BASE dc=example,dc=com\n" "#URI ldap://ldap.example.com ldap://ldap-provider.example.com:666\n" "\n" "#SIZELIMIT 12\n" "#TIMELIMIT 15\n" "#DEREF never\n" "\n" "# TLS certificates (needed for GnuTLS)\n" "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" msgstr "" "#\n" "# LDAP Defaults\n" "#\n" "\n" "# See ldap.conf(5) for details\n" "# This file should be world readable but not world writable.\n" "\n" "BASE dc=falcot,dc=com\n" "URI ldaps://ldap.falcot.com\n" "\n" "#SIZELIMIT 12\n" "#TIMELIMIT 15\n" "#DEREF never\n" "\n" "# TLS certificates (needed for GnuTLS)\n" "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" msgid "Real-Time Communication Services" msgstr "实时通信服务" #, fuzzy #| msgid "WebRTC" msgid "RTC" msgstr "WebRTC" #, fuzzy #| msgid "unsolicited commercial emailspam" msgid "Real-Time CommunicationRTC" msgstr "主动的商业电子邮件垃圾邮件" #, fuzzy #| msgid "serverFTP" msgid "serverVoIP" msgstr "服务器FTP" #, fuzzy #| msgid "serverFTP" msgid "serverRTC" msgstr "服务器FTP" #, fuzzy #| msgid "serverMX" msgid "serverIM" msgstr "服务器MX" #, fuzzy #| msgid "serverCIFS" msgid "serverChat" msgstr "服务器CIFS" #, fuzzy #| msgid "SIP" msgid "VoIP" msgstr "SIP" #, fuzzy #| msgid "ICE" msgid "IM" msgstr "ICE" #, fuzzy #| msgid "Instant Messagingserver" msgid "Instant MessagingIM" msgstr "即时通信服务器" #, fuzzy #| msgid "ICE" msgid "Chat" msgstr "ICE" msgid "Real-Time Communication (RTC) services include voice, video/webcam, instant messaging (IM) and desktop sharing. This chapter gives a brief introduction to three of the services required to operate RTC, including a TURN server, SIP server and XMPP server. Comprehensive details of how to plan, install and manage these services are available in the Real-Time Communications Quick Start Guide which includes examples specific to Debian. " msgstr "实时通信(Real-Time Communication,RTC)服务包括语音、视频/网络摄像头即时通信(instant messaging,IM)和共享桌面。这章对需要操作 RTC 的三种服务给出了简要介绍,包括 TURN 服务器、 SIP 服务器和 XMPP 服务器。如何规划、安装并管理这些服务的深入细节可以在《实时通信的快速开始指南》中得到,它包括 Debian 特定的一些示例。" msgid "Both SIP and XMPP can provide the same functionality. SIP is slightly more well known for voice and video while XMPP is traditionally regarded as an IM protocol. In fact, they can both be used for any of these purposes. To maximize connectivity options, it is recommended to run both in parallel." msgstr "SIP 和 XMPP 可以提供相同的功能。SIP 在语音和视频上略微知名一些,而 XMPP 在传统上被认为是 IM 协议。实际上,它们都可以用于这些之中的任何目的。为了使连接选项最大化,推荐并行运行它们。" msgid "SIP" msgstr "SIP" #, fuzzy #| msgid "unsolicited commercial emailspam" msgid "Session Initiation ProtocolSIP" msgstr "主动的商业电子邮件垃圾邮件" msgid "XMPP" msgstr "XMPP" #, fuzzy #| msgid "Simple Mail Transfer Protocol" msgid "Extensible Messaging and Presence ProtocolXMPP" msgstr "Simple Mail Transfer Protocol(简单邮件传输协议)" msgid "These services rely on X.509 certificates both for authentication and confidentiality purposes. See for more information." msgstr "这些服务在认证和保密目的上都依赖于 X.509 证书。更多信息请参见 。" msgid "DNS settings for RTC services" msgstr "RTC 服务的 DNS 设置" #, fuzzy #| msgid "SIPPBX" msgid "DNSRTC" msgstr "SIPPBX" #, fuzzy #| msgid "RTC services require DNS SRV and NAPTR records. A sample configuration that can be placed in the zone file for falcot.com:" msgid "RTC services require DNS SRV and NAPTR records. A sample configuration that can be placed in the zone file for falcot.com (see also :" msgstr "RTC 服务需要 DNS SRV 和 NAPTR 记录。对于 falcot.com可以放置在区域文件中的示例配置:" #, fuzzy #| msgid "Postfixsmtpd_miltersDMARC" msgid "DNSresource recordSRV" msgstr "Postfixsmtpd_miltersDMARC" #, fuzzy #| msgid "Postfixsmtpd_miltersDMARC" msgid "DNSresource recordNAPTR" msgstr "Postfixsmtpd_miltersDMARC" msgid "" "\n" "; the server where everything will run\n" "server1 IN A 198.51.100.19\n" "server1 IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; IPv4 only for TURN for now, some clients are buggy with IPv6\n" "turn-server IN A 198.51.100.19\n" "\n" "; IPv4 and IPv6 addresses for SIP\n" "sip-proxy IN A 198.51.100.19\n" "sip-proxy IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; IPv4 and IPv6 addresses for XMPP\n" "xmpp-gw IN A 198.51.100.19\n" "xmpp-gw IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; DNS SRV and NAPTR for STUN / TURN\n" "_stun._udp IN SRV 0 1 3467 turn-server.falcot.com.\n" "_turn._udp IN SRV 0 1 3467 turn-server.falcot.com.\n" "@ IN NAPTR 10 0 \"s\" \"RELAY:turn.udp\" \"\" _turn._udp.falcot.com.\n" "\n" "; DNS SRV and NAPTR records for SIP\n" "_sips._tcp IN SRV 0 1 5061 sip-proxy.falcot.com.\n" "@ IN NAPTR 10 0 \"s\" \"SIPS+D2T\" \"\" _sips._tcp.falcot.com.\n" "\n" "; DNS SRV records for XMPP Server and Client modes:\n" "_xmpp-client._tcp IN SRV 5 0 5222 xmpp-gw.falcot.com.\n" "_xmpp-server._tcp IN SRV 5 0 5269 xmpp-gw.falcot.com." msgstr "" "\n" "; the server where everything will run\n" "server1 IN A 198.51.100.19\n" "server1 IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; IPv4 only for TURN for now, some clients are buggy with IPv6\n" "turn-server IN A 198.51.100.19\n" "\n" "; IPv4 and IPv6 addresses for SIP\n" "sip-proxy IN A 198.51.100.19\n" "sip-proxy IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; IPv4 and IPv6 addresses for XMPP\n" "xmpp-gw IN A 198.51.100.19\n" "xmpp-gw IN AAAA 2001:DB8:1000:2000::19\n" "\n" "; DNS SRV and NAPTR for STUN / TURN\n" "_stun._udp IN SRV 0 1 3467 turn-server.falcot.com.\n" "_turn._udp IN SRV 0 1 3467 turn-server.falcot.com.\n" "@ IN NAPTR 10 0 \"s\" \"RELAY:turn.udp\" \"\" _turn._udp.falcot.com.\n" "\n" "; DNS SRV and NAPTR records for SIP\n" "_sips._tcp IN SRV 0 1 5061 sip-proxy.falcot.com.\n" "@ IN NAPTR 10 0 \"s\" \"SIPS+D2T\" \"\" _sips._tcp.falcot.com.\n" "\n" "; DNS SRV records for XMPP Server and Client modes:\n" "_xmpp-client._tcp IN SRV 5 0 5222 xmpp-gw.falcot.com.\n" "_xmpp-server._tcp IN SRV 5 0 5269 xmpp-gw.falcot.com." msgid "TURN Server" msgstr "TURN 服务器" msgid "TURN is a service that helps clients behind NAT routers and firewalls to discover the most efficient way to communicate with other clients and to relay the media streams if no direct media path can be found. It is highly recommended that the TURN server is installed before any of the other RTC services are offered to end users." msgstr "TURN 是一种服务,它帮助 NAT 路由器和防火墙后面的客户端发现最有效的方式,来与其他客户端通信,并且如果没有发现直接媒体路径的话会依赖媒体流。强烈推荐在其它 RTC 服务提供给终端用户之前安装 TURN 服务器。" msgid "TURNserver" msgstr "TURN服务器" #, fuzzy #| msgid "serverFTP" msgid "serverTURN" msgstr "服务器FTP" msgid "TURN and the related ICE protocol are open standards. To benefit from these protocols, maximizing connectivity and minimizing user frustration, it is important to ensure that all client software supports ICE and TURN." msgstr "TURN 和相关的 ICE 协议是开放的标准。为了从这些协议中获益,将连接最大化并将用户的挫败感最小化,重要的是确保所有的客户端软件支持 ICE 和 TURN。" msgid "ICE" msgstr "ICE" msgid "For the ICE algorithm to work effectively, the server must have two public IPv4 addresses." msgstr "对于有效工作的 ICE 算法,服务器必须具有两个公共的 IPV4 地址。" msgid "Install the coturn package and edit the /etc/turnserver.conf configuration file. By default, a SQLite database is configured in /var/db/turndb for user account settings, but PostgreSQL, MySQL or Redis can be set up instead if preferred. The most important thing to do is insert the IP addresses of the server." msgstr "安装 coturn 软件包并编辑 /etc/turnserver.conf 配置文件。SQLite 数据库默认在 /var/db/turndb 中配置用户账户设置,而如果需要的话可以替代设置 PostgreSQL、MySQL 或 Redis。 要做的最重要的事情是插入服务器的 IP 地址。" #, fuzzy #| msgid "postgrey" msgid "coturn" msgstr "postgrey" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/turnserver.conf" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "The server can be started running /usr/bin/turnserver. We want the server to be an an automatically started system service, so we edit the /etc/default/coturn file like this:" msgid "The server can be started running turnserver from the coturn package. We want the server to be an automatically started system service. This is the default behavior using systemd. Only when using the older SysVinit you have to edit the /etc/default/coturn file like this:" msgstr "服务器可以开始运行 /usr/bin/turnserver了。我们想要服务器成为自动启动的系统服务,所以我们编辑 /etc/default/coturn 文件,像这样:" #, fuzzy #| msgid "jxplorer" msgid "turnserver" msgstr "jxplorer" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/default/coturn" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "" #| "\n" #| "#\n" #| "# Uncomment it if you want to have the turnserver running as\n" #| "# an automatic system service daemon\n" #| "#\n" #| "TURNSERVER_ENABLED=1" msgid "" "#\n" "# Uncomment it if you want to have the turnserver running as\n" "# an automatic system service daemon\n" "#\n" "TURNSERVER_ENABLED=1" msgstr "" "\n" "#\n" "# Uncomment it if you want to have the turnserver running as\n" "# an automatic system service daemon\n" "#\n" "TURNSERVER_ENABLED=1" msgid "By default, the TURN server uses anonymous access. We have to add the users we want to use:" msgstr "TURN 服务器默认使用匿名访问。我们必须添加我们想要使用的用户:" #, fuzzy #| msgid "nmbd" msgid "turnadmin" msgstr "nmbd" msgid "" "# turnadmin -a -u roland -p secret_password -r falcot.com\n" "# turnadmin -A -u admin -p secret_password" msgstr "" "# turnadmin -a -u roland -p secret_password -r falcot.com\n" "# turnadmin -A -u admin -p secret_password" msgid "We use the argument -a to add a normal user and -A to add an admin user." msgstr "我们使用 -a 参数来添加普通用户,而用 -A 来添加管理用户。" msgid "SIP Proxy Server" msgstr "SIP 代理服务器" msgid "A SIP proxy server manages the incoming and outgoing SIP connections between other organizations, SIP trunking providers, SIP PBXes such as Asterisk, SIP phones, SIP-based softphones and WebRTC applications." msgstr "SIP 代理服务器管理其他组织、SIP 中继提供商、SIP PBXes 如 Asterisk、SIP 电话、基于 SIP 的软件电话与 WebRTC应用之间的到来的与外发的 SIP 链接。" #, fuzzy #| msgid "ProxyFTP" msgid "proxySIP" msgstr "ProxyFTP" msgid "SIPserver" msgstr "SIP服务器" msgid "SIPproxy" msgstr "SIP代理" msgid "SIPPBX" msgstr "SIPPBX" msgid "SIPtrunk" msgstr "SIP中继" msgid "It is strongly recommended to install and configure the SIP proxy before attempting a SIP PBX setup. The SIP proxy normalizes a lot of the traffic reaching the PBX and provides greater connectivity and resilience." msgstr "强烈推荐在尝试设置 SIP PBX 之前安装并配置 SIP 代理。SIP 代理使到达 PBX 的大量流量正常化,并提供更大的连接与恢复能力。" msgid "Install the SIP proxy" msgstr "安装 SIP 代理" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/kamailio/" msgstr "Samba/etc/samba/smb.conf" #, fuzzy #| msgid "Install the kamailio package and the package for the database backend, the Falcot administrators chose MySQL, so they install mariadb-server. /etc/kamailio/kamctlrc is the configuration file for the control tools kamctl and kamdbctl. You need to edit and set the SIP_DOMAIN to your SIP service domain and set the DBENGINE to MySQL, another database backend can be used." msgid "Install the kamailio package and the package for the database backend. The Falcot administrators chose MySQL, so they install kamailio-mysql-modules and mariadb-server. /etc/kamailio/kamctlrc is the configuration file for the control tools kamctl and kamdbctl. You need to edit and set the SIP_DOMAIN to your SIP service domain and set the DBENGINE to MySQL, another database backend can be used." msgstr "安装 kamailio 软件包和用于数据库后端的软件包,Falcot 公司的管理员选择 MySQL,所以它们安装 mariadb-server。/etc/kamailio/kamctlrc 是控制 kamctl 和 kamdbctl 工具的配置文件。需要编辑并将 SIP_DOMAIN 设置为您的 SIP 服务域,并且将 DBENGINE 设置到 MySQL,可以使用其它数据库后端。" #, fuzzy #| msgid "" #| "\n" #| "[...]\n" #| "## your SIP domain\n" #| "SIP_DOMAIN=sip.falcot.com\n" #| "\n" #| "## chrooted directory\n" #| "# $CHROOT_DIR=\"/path/to/chrooted/directory\"\n" #| "\n" #| "## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE\n" #| "# by default none is loaded\n" #| "#\n" #| "# If you want to setup a database with kamdbctl, you must at least specify\n" #| "# this parameter.\n" #| "DBENGINE=MYSQL\n" #| "[...]" msgid "" "[...]\n" "## your SIP domain\n" "SIP_DOMAIN=sip.falcot.com\n" "\n" "## chrooted directory\n" "# CHROOT_DIR=\"/path/to/chrooted/directory\"\n" "\n" "## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE\n" "# by default none is loaded\n" "#\n" "# If you want to setup a database with kamdbctl, you must at least specify\n" "# this parameter.\n" "DBENGINE=MYSQL\n" "[...]" msgstr "" "\n" "[...]\n" "## your SIP domain\n" "SIP_DOMAIN=sip.falcot.com\n" "\n" "## chrooted directory\n" "# $CHROOT_DIR=\"/path/to/chrooted/directory\"\n" "\n" "## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE\n" "# by default none is loaded\n" "#\n" "# If you want to setup a database with kamdbctl, you must at least specify\n" "# this parameter.\n" "DBENGINE=MYSQL\n" "[...]" #, fuzzy #| msgid "maildrop" msgid "kamailio" msgstr "maildrop" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/kamailio/kamailio" msgstr "Samba/etc/samba/smb.conf" msgid "Now we focus on the configuration file /etc/kamailio/kamailio.cfg. Falcot needs user authentication and persistent user location, so they add the following #!define directives at the top of that file:" msgstr "现在我们聚焦在配置文件 /etc/kamailio/kamailio.cfg 上。Falcot 公司需要用户认证和持续的用户位置,所以他们在文件的顶部添加了后面的指令 #!define:" #, fuzzy #| msgid "" #| "\n" #| "#!KAMAILIO\n" #| "#\n" #| "# Kamailio (OpenSER) SIP Server v5.2 - default configuration script\n" #| "# - web: https://www.kamailio.org\n" #| "# - git: https://github.com/kamailio/kamailio\n" #| "#!define WITH_MYSQL\n" #| "#!define WITH_AUTH\n" #| "#!define WITH_USRLOCDB\n" #| "[...]\n" #| " " msgid "" "\n" "#!KAMAILIO\n" "#\n" "# Kamailio (OpenSER) SIP Server v5.2 - default configuration script\n" "# - web: https://www.kamailio.org\n" "# - git: https://github.com/kamailio/kamailio\n" "#!define WITH_MYSQL\n" "#!define WITH_AUTH\n" "#!define WITH_USRLOCDB\n" "[...]" msgstr "" "\n" "#!KAMAILIO\n" "#\n" "# Kamailio (OpenSER) SIP Server v5.2 - default configuration script\n" "# - web: https://www.kamailio.org\n" "# - git: https://github.com/kamailio/kamailio\n" "#!define WITH_MYSQL\n" "#!define WITH_AUTH\n" "#!define WITH_USRLOCDB\n" "[...]\n" " " #, fuzzy #| msgid "Kamailio needs a database structure that we can create running kamdbctl create as root." msgid "Kamailio needs a database structure that we can create running kamdbctl create as root. Finally, we can add some users with kamctl." msgstr "Kamailio 需要我们可以创建的数据库结构作为根用户来运行 kamdbctl create。" #, fuzzy #| msgid "smbd" msgid "kamdbctl" msgstr "smbd" #, fuzzy #| msgid "clamav" msgid "kamctl" msgstr "clamav" #, fuzzy #| msgid "# kamctl add roland secret_password" msgid "" "# kamdbctl create\n" "[...]\n" "# kamctl add roland secret_password" msgstr "# kamctl add roland secret_password" #, fuzzy #| msgid "Once everything is properly configured you can start or restart the service with systemctl restart kamailio, you can connect with a SIP client providing the IP address and the port (5090 is the default port). The users have the following id: roland@sip.falcot.com, and they can login using a client (see )" msgid "Once everything is properly configured you can start or restart the service with systemctl restart kamailio, you can connect with a SIP client providing the IP address and the port (5090 is the default port). The users have the following id: roland@sip.falcot.com, and they can login using a client (see )." msgstr "一旦每一部分都配置好了,就可以使用 systemctl restart kamailio 来启动或重新启动,可以与提供 IP 地址或端口(5090 为默认端口)的SIP 客户端连接。用户具有后面的 id:roland@sip.falcot.com,他们可以使用客户端登录(请参见 )" #, fuzzy #| msgid "Apache.htaccess" msgid "servicekamailio.service" msgstr "Apache.htaccess" msgid "XMPP Server" msgstr "XMPP 服务器" msgid "An XMPP server manages connectivity between local XMPP users and XMPP users in other domains on the public Internet." msgstr "XMPP 服务器管理本地 XMPP 用户与公共因特网上其它域的XMPP 用户之间的连接。" msgid "VOCABULARY XMPP or Jabber?" msgstr "关键词 XMPP 还是 Jabber?" msgid "XMPP is sometimes referred to as Jabber. In fact, Jabber is a trademark and XMPP is the official name of the standard." msgstr "XMPP 有时被称为 Jabber。实际上,Jabber 是个商标,而 XMPP 是这种标准的官方名称。" msgid "Jabber" msgstr "Jabber" #, fuzzy #| msgid "Prosody is a popular XMPP server that operates reliably on Debian servers." msgid "prosody is a popular XMPP server that operates reliably on Debian servers." msgstr "Prosody 是流行的 XMPP 服务器,它在 Debian 服务器上可靠地运行。" msgid "Install the XMPP server" msgstr "安装 XMPP 服务器" #, fuzzy #| msgid "postgrey" msgid "prosody" msgstr "postgrey" msgid "Install the prosody package." msgstr "安装 prosody 软件包。" msgid "Review the /etc/prosody/prosody.cfg.lua configuration file. The most important thing to do is insert JIDs of the users who are permitted to manage the server." msgstr "复查 /etc/prosody/prosody.cfg.lua 配置文件。要做的最重要的事情是插入被允许管理这台服务器的用户的 JID。" #, fuzzy #| msgid "Examples/etc/postfix/main.cf" msgid "/etc/etc/prosody/prosody.cfg.lua" msgstr "示例/etc/postfix/main.cf" msgid "" "\n" "admins = { \"joe@falcot.com\" }" msgstr "" "\n" "admins = { \"joe@falcot.com\" }" msgid "An individual configuration file is also needed for each domain. Copy the sample from /etc/prosody/conf.avail/example.com.cfg.lua and use it as a starting point. Here is falcot.com.cfg.lua:" msgstr "每个域还需要独立的配置文件。复制来自 /etc/prosody/conf.avail/example.com.cfg.lua 的示例,并用它作为起点,这里是 falcot.com.cfg.lua:" #, fuzzy #| msgid "Apache/etc/apache2/conf-available" msgid "/etc/etc/prosody/conf.avail/" msgstr "Apache/etc/apache2/conf-available" #, fuzzy #| msgid "" #| "\n" #| "VirtualHost \"falcot.com\"\n" #| " enabled = true\n" #| " ssl = {\n" #| " key = \"/etc/ssl/private/falcot.com-key.pem\";\n" #| " certificate = \"/etc/ssl/public/falcot.com.pem\";\n" #| " }\n" #| "\n" #| "-- Set up a MUC (multi-user chat) room server on conference.example.com:\n" #| "Component \"conference.falcot.com\" \"muc\"" msgid "" "\n" "VirtualHost \"falcot.com\"\n" " enabled = true\n" " ssl = {\n" " key = \"/etc/ssl/private/falcot.com.key\";\n" " certificate = \"/etc/ssl/certs/falcot.com.pem\";\n" " }\n" "\n" "-- Set up a MUC (multi-user chat) room server on conference.example.com:\n" "Component \"conference.falcot.com\" \"muc\"" msgstr "" "\n" "VirtualHost \"falcot.com\"\n" " enabled = true\n" " ssl = {\n" " key = \"/etc/ssl/private/falcot.com-key.pem\";\n" " certificate = \"/etc/ssl/public/falcot.com.pem\";\n" " }\n" "\n" "-- Set up a MUC (multi-user chat) room server on conference.example.com:\n" "Component \"conference.falcot.com\" \"muc\"" msgid "To enable the domain, there must be a symlink from /etc/prosody/conf.d/. Create it that way:" msgstr "为了启用域,必须有个来自 /etc/prosody/conf.d/ 的符号链接。以这样的方式来创建:" #, fuzzy #| msgid "Samba/etc/samba/smb.conf" msgid "/etc/etc/prosody/conf.d/" msgstr "Samba/etc/samba/smb.conf" msgid "# ln -s /etc/prosody/conf.avail/falcot.com.cfg.lua /etc/prosody/conf.d/" msgstr "# ln -s /etc/prosody/conf.avail/falcot.com.cfg.lua /etc/prosody/conf.d/" msgid "Restart the service to use the new configuration." msgstr "重新启动服务来使用新的配置。" #, fuzzy #| msgid "Apache.htaccess" msgid "serviceprosody.service" msgstr "Apache.htaccess" msgid "Managing the XMPP server" msgstr "管理 XMPP 服务器" #, fuzzy #| msgid "procmail" msgid "prosodyctl" msgstr "procmail" #, fuzzy #| msgid "Some management operations can be performed using the prosodyctl command line utility. For example, to add the administrator account specified in /etc/prosody/prosody.cfg.lua:" msgid "Some management operations can be performed using the prosodyctl command line utility. For example, to add the administrator account specified in /etc/prosody/prosody.cfg.lua:" msgstr "可以使用命令行应用 prosodyctl来 执行一些管理操作。例如,添加 /etc/prosody/prosody.cfg.lua 中指定的管理员账户:" #, fuzzy #| msgid "" #| "\n" #| "# systemctl start nfs-kernel-server" msgid "" "# prosodyctl adduser joe@falcot.com\n" "" msgstr "" "\n" "# systemctl start nfs-kernel-server" msgid "See the Prosody online documentation for more details about how to customize the configuration." msgstr "关于如何定制配置的更多细节请参见 Prosody online documentation。" msgid "Running services on port 443" msgstr "在端口 443 运行服务" msgid "Some administrators prefer to run all of their RTC services on port 443. This helps users to connect from remote locations such as hotels and airports where other ports may be blocked or Internet traffic is routed through HTTP proxy servers." msgstr "一些管理员倾向在端口 443 运行所有的 RTC 服务。这帮助用户从饭店或机场那样的远程位置连接,在那里其它端口可能会被阻塞,或者因特网通信量会经由 HTTP 代理服务器。" msgid "To use this strategy, each service (SIP, XMPP and TURN) needs a different IP address. All the services can still be on the same host as Linux supports multiple IP addresses on a single host. The port number, 443, must be specified in the configuration files for each process and also in the DNS SRV records." msgstr "为了使用这个策略,每项服务(SIP、XMPP 和 TURN)需要不同的 IP 地址。所有的服务仍然可以在相同的主机上,因为 Linux 在单一主机上支持多个 IP 地址。对于每个进程的配置文件中,还要在 DNS SRV 记录中指定端口号,即443。" msgid "Adding WebRTC" msgstr "添加 WebRTC" msgid "WebRTC" msgstr "WebRTC" msgid "SIPWebSockets" msgstr "SIPWebSockets" msgid "Falcot wants to let customers make phone calls directly from the web site. The Falcot administrators also want to use WebRTC as part of their disaster recovery plan, so staff can use web browsers at home to log in to the company phone system and work normally in an emergency." msgstr "Falcot 公司想要让客户直接从网站上打电话。Falcot 公司的管理员还想要使用 WebRTC 作为其灾难恢复计划的一部分,这样员工可以在家使用 web 浏览器登录公司电话系统上,并在紧急情况下正常工作。" msgid "IN PRACTICE Try WebRTC" msgstr "实践 尝试 WebRTC" msgid "WebRTCdemonstration" msgstr "WebRTC说明" #, fuzzy #| msgid "If you have not tried WebRTC before, there are various sites that give an online demonstration and test facilities. " msgid "If you have not tried WebRTC before, there are various sites that give an online demonstration and test facilities. " msgstr "如果以前没有尝试过 WebRTC 的话,有几个网站给出了在线说明和测试设施。" msgid "WebRTC is a rapidly evolving technology and it is essential to use packages from the Testing distribution. Another option is to compile the software." msgstr "WebRTC 是快速进化的技术,它本质上使用来自 Testing(测试) 发布版本的软件包。其他选项用于编译软件。" msgid "WebRTC uses a simple API to provide browsers and mobile applications with RTC, it is free software and it is being developed by Google. " msgstr "WebRTC 使用简单的 API 来提供带有 RTC 的浏览器和移动应用,它是自由软件,正在由 Google 开发。" #, fuzzy #| msgid "A very flexible approach is using GStreamer's WebRTC implementation. It enables pipeline-based multimedia applications, which allows developing interesting and highly efficient applications. A good starting point is the following demo by Centricular, the main company that is developing it: " msgid "A very flexible approach is using GStreamer's WebRTC implementation. It enables pipeline-based multimedia applications, which allows developing interesting and highly efficient applications. A good starting point is the following demo by Centricular, the main company that is developing it: " msgstr "非常灵活的方法是使用 GStreamer 的 WebRTC 应用。它启用基于管道的多媒体应用,这允许开发有趣且高效的应用。好的起点是跟随 Centricular 的演示,这是开发它的主要公司:" msgid "GStreamer" msgstr "GStreamer" msgid "More advanced click-to-call web sites typically use server-side scripting to generate the config.js file dynamically. The DruCall source code demonstrates how to do this with PHP." msgstr "更先进的点击呼叫网站典型地使用服务器一侧的脚本,来动态生成 config.js 文件。DruCall 源代码说明了如何使用 PHP 来实现。" msgid "DruCall" msgstr "DruCall" msgid "This chapter sampled only a fraction of the available server software; however, most of the common network services were described. Now it is time for an even more technical chapter: we'll go into deeper detail for some concepts, describe massive deployments and virtualization." msgstr "这一章只举了部分可获得的服务器软件的示例;但描述了最常用的网络服务。现在到了更技术性的章节了:我们将进入一些概念更深入的细节,描述大量部署和虚拟化。" #~ msgid "serverE-Mail" #~ msgstr "服务器电子邮件" #~ msgid "/etc/postfix/main.cfexample" #~ msgstr "/etc/postfix/main.cf示例" #~ msgid "virtual domainvirtual alias domain" #~ msgstr "虚拟域虚拟别名域" #~ msgid "RBLRemote Black List" #~ msgstr "RBL远程黑名单" #~ msgid "The Falcot administrators selected clamav for their free antivirus. The main package is clamav, but they also installed a few extra packages such as arj, unzoo, unrar and lha, since they are required for the antivirus to analyze attachments archived in one of these formats." #~ msgstr "Falcot 公司的管理员选择 clamav 作为他们的免费防病毒原件。主要的软件包是 clamav,但他们总是安装一些另外的软件包,如 arj、unzoo、unrar 和 lha,因为防病毒软件要求它们来分析以这些格式之一存档的附件。" #~ msgid "SPFSender Policy Framework" #~ msgstr "SPF发件人策略框架" #~ msgid "DKIMDomainKeys Identified Mail" #~ msgstr "DKIMDomainKeys Identified Mail(DomainKeys 识别的邮件)" #~ msgid "DomainKeys Identified Mailmailing list problems" #~ msgstr "域密钥识别邮件邮件列表问题" #~ msgid "DMARCDomain-based Message Authentication, Reporting and Conformance" #~ msgstr "DMARCDomain-based Message Authentication, Reporting and Conformance(基于域的消息认证、报告与一致性)" #~ msgid "Apache is merely the most widely-known (and widely-used) web server, but there are others; they can offer better performance under certain workloads, but this has its counterpart in the smaller number of available features and modules. However, when the prospective web server is built to serve static files or to act as a proxy, the alternatives, such as nginx and lighttpd, are worth investigating." #~ msgstr "Apache 只是被广泛知道的(并且广泛使用的)web 服务器,但还有其它的;它们可以在适当的工作量下提供更好的性能,但是这也有可用特性与模块较少的缺点。然而当预期的 web 服务器被搭建来提供静态文件或用作代理时,可替代的,如 nginx 和 lighttpd 是值得研究的。" #~ msgid "Apachemod_info" #~ msgstr "Apachemod_info" #~ msgid "Apachemod_ssl" #~ msgstr "Apachemod_ssl" #~ msgid "Apachemod_gnutls" #~ msgstr "Apachemod_gnutls" #~ msgid "CustomLog, Apache directive" #~ msgstr "CustomLog,Apache 指令" #~ msgid "LogFormat, Apache directive" #~ msgstr "LogFormat,Apache 指令" #~ msgid "Apache directives" #~ msgstr "Apache 指令" #~ msgid "DirectoryIndex, Apache directive" #~ msgstr "DirectoryIndex,Apache 指令" #~ msgid "Options, Apache directive" #~ msgstr "Options,Apache 指令" #~ msgid "AllowOverride, Apache directive" #~ msgstr "AllowOverride,Apache 指令" #~ msgid "ExecCGI, Apache directive" #~ msgstr "ExecCGI,Apache 指令" #~ msgid "FollowSymlinks, Apache directive" #~ msgstr "FollowSymlinks,Apache 指令" #~ msgid "SymlinksIfOwnerMatch, Apache directive" #~ msgstr "SymlinksIfOwnerMatch,Apache 指令" #~ msgid "Includes, Apache directive" #~ msgstr "Includes,Apache 指令" #~ msgid "IncludesNOEXEC, Apache directive" #~ msgstr "IncludesNOEXEC,Apache 指令" #~ msgid "Indexes, Apache directive" #~ msgstr "Indexes,Apache 指令" #~ msgid "MultiViews, Apache directive" #~ msgstr "MultiViews,Apache 指令" #~ msgid "Apachehtpasswd" #~ msgstr "Apachehtpasswd" #~ msgid "Require, Apache directive" #~ msgstr "Require,Apache 指令" #~ msgid "Allow from, Apache directive" #~ msgstr "Allow from,Apache 指令" #~ msgid "Deny from, Apache directive" #~ msgstr "Deny from,Apache 指令" #~ msgid "Order, Apache directive" #~ msgstr "Order,Apache 指令" #~ msgid "AWStats" #~ msgstr "AWStats" #~ msgid "" #~ "$ cat /etc/logrotate.d/apache2\n" #~ " /dev/null 2>&1; then \\\n" #~ " invoke-rc.d apache2 reload > /dev/null 2>&1; \\\n" #~ " fi;\n" #~ " endscript\n" #~ " prerotate\n" #~ " if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\\n" #~ " run-parts /etc/logrotate.d/httpd-prerotate; \\\n" #~ " fi; \\\n" #~ " endscript\n" #~ "}\n" #~ "]]>\n" #~ "$ sudo mkdir -p /etc/logrotate.d/httpd-prerotate\n" #~ "$ sudo ln -sf /usr/share/awstats/tools/update.sh \\\n" #~ " /etc/logrotate.d/httpd-prerotate/awstats\n" #~ "" #~ msgstr "" #~ "$ cat /etc/logrotate.d/apache2\n" #~ " /dev/null 2>&1; then \\\n" #~ " invoke-rc.d apache2 reload > /dev/null 2>&1; \\\n" #~ " fi;\n" #~ " endscript\n" #~ " prerotate\n" #~ " if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\\n" #~ " run-parts /etc/logrotate.d/httpd-prerotate; \\\n" #~ " fi; \\\n" #~ " endscript\n" #~ "}\n" #~ "]]>\n" #~ "$ sudo mkdir -p /etc/logrotate.d/httpd-prerotate\n" #~ "$ sudo ln -sf /usr/share/awstats/tools/update.sh \\\n" #~ " /etc/logrotate.d/httpd-prerotate/awstats\n" #~ "" #~ msgid "NFSNetwork File System" #~ msgstr "NFS网络文件系统" #~ msgid "RPCRemote Procedure Call" #~ msgstr "RPC远程过程调用" #~ msgid "/etc/exports" #~ msgstr "/etc/exports" #~ msgid "SMBServer Message Block" #~ msgstr "SMB服务器消息块" #~ msgid "CIFSCommon Internet File System" #~ msgstr "CIFSCommon Internet File System——公用因特网文件系统" #~ msgid "squidGuardsquidGuard.conf" #~ msgstr "squidGuardsquidGuard.conf" #~ msgid "squidGuard.conf" #~ msgstr "squidGuard.conf" #~ msgid "/etc/squidguard/squidGuard.conf.default" #~ msgstr "/etc/squidguard/squidGuard.conf.default" #~ msgid "dansguardian" #~ msgstr "dansguardian" #~ msgid "The e2guardian package, a DansGuardian fork, is an alternative to squidguard. This software does not simply handle a blacklist of forbidden URLs, but it can take advantage of the PICSPICS has been superseded by the Protocol for Web Description Resources (POWDER system: . POWDERProtocol for Web Description Resources Protocol for Web Description Resources (Platform for Internet Content Selection) to decide whether a page is acceptable by dynamic analysis of its contents." #~ msgstr "e2guardian 软件包,即 DansGuardian 叉子,是 squidguard 的替代。这个软件不是简单地处理禁止的 URL 的黑名单,而是可以具有PICS的优点,PICS 已经被 Protocol for Web Description Resources(Web 描述资源协议POWDER)系统取代:。POWDERWeb 描述资源协议 Web 描述资源协议 (因特网内容选择平台)来决定页面是否被其内容动态分析所接受。" #~ msgid "PICSPlatform for Internet Content Selection" #~ msgstr "PICS因特网内容选择平台" #~ msgid "Platform for Internet Content Selection" #~ msgstr "因特网内容选择平台" #~ msgid "libpam-ldap" #~ msgstr "libpam-ldap" #~ msgid "crypt" #~ msgstr "加密" #~ msgid "/etc/pam.d/common-auth" #~ msgstr "/etc/pam.d/common-auth" #~ msgid "/etc/pam.d/common-password" #~ msgstr "/etc/pam.d/common-password" #~ msgid "/etc/pam.d/common-account" #~ msgstr "/etc/pam.d/common-account" #~ msgid "VoIPserver" #~ msgstr "VoIP服务器" #~ msgid "RTCserver" #~ msgstr "RTC服务器" #~ msgid "Chatserver" #~ msgstr "聊天服务器" #~ msgid "DNSNAPTR record" #~ msgstr "DNSNAPTR 记录" #~ msgid "Kamailio" #~ msgstr "Kamailio" #~ msgid "Finally, we can add some users with kamctl." #~ msgstr "最后,我们可以通过 kamctl 来添加一些用户。" #~ msgid "XMPPserver" #~ msgstr "XMPP服务器" #~ msgid "Prosody" #~ msgstr "Prosody" #~ msgid "" #~ "\n" #~ "# prosodyctl adduser joe@falcot.com" #~ msgstr "" #~ "\n" #~ "# prosodyctl adduser joe@falcot.com" #, fuzzy #~| msgid "emailserver" #~ msgid "ApacheAllow from" #~ msgstr "电子邮件服务器" #~ msgid "Many modern network services require encryption technology to operate reliably and securely, especially when used on the public Internet. X.509 Certificates (which may also be referred to as SSL Certificates or TLS Certificates) are frequently used for this purpose. A certificate for a specific domain can often be shared between more than one of the services discussed in this chapter." #~ msgstr "许多现代网络服务依赖于加密技术来保证通讯的可信性和安全性,在公共的互联网中尤为突出。 X.509 证书(也称 SSL 证书或者 TLS 证书)经常被用于该场合。一个用于特定域的证书经常同时应用于本节提到的一个或者多个服务。" #~ msgid "Certificates" #~ msgstr "证书" #~ msgid "After installing jscommunicator-web-phone, there are various ways to use it. A simple strategy is to include or copy the configuration from /etc/jscommunicator-web-phone/apache.conf into an Apache virtual host configuration." #~ msgstr "安装 jscommunicator-web-phone后,有多种使用方式。简单手段是包含或者复制 /etc/jscommunicator-web-phone/apache.conf中的配置来作为 Apache 虚拟主机配置。" #~ msgid "" #~ "\n" #~ "JSCommSettings = {\n" #~ "\n" #~ " // Web server environment\n" #~ " webserver: {\n" #~ " url_prefix: null // If set, prefix used to construct sound/ URLs\n" #~ " },\n" #~ "\n" #~ " // STUN/TURN media relays\n" #~ " stun_servers: [],\n" #~ " turn_servers: [\n" #~ " { server:\"turn:turn-server.falcot.com?transport=udp\", username:\"joe\", password:\"j0Ep455d\" }\n" #~ " ],\n" #~ "\n" #~ " // WebSocket connection\n" #~ " websocket: {\n" #~ " // Notice we use the falcot.com domain certificate and port 8443\n" #~ " // This matches the Transport3 and Transport4 example in\n" #~ " // the falcot.com repro.config file\n" #~ " servers: 'wss://falcot.com:8443',\n" #~ " connection_recovery_min_interval: 2,\n" #~ " connection_recovery_max_interval: 30\n" #~ " },\n" #~ "\n" #~ " ..." #~ msgstr "" #~ "\n" #~ "JSCommSettings = {\n" #~ "\n" #~ " // 网络环境\n" #~ " webserver: {\n" #~ " url_prefix: null //如果设定,前缀常常构建 sound/ URL 地址\n" #~ " },\n" #~ "\n" #~ " // STUN/TURN 媒体中继服务器\n" #~ " stun_servers: [],\n" #~ " turn_servers: [\n" #~ " { server:\"turn:turn-server.falcot.com?transport=udp\", username:\"joe\", password:\"j0Ep455d\" }\n" #~ " ],\n" #~ "\n" #~ " // WebSocket 连接\n" #~ " websocket: {\n" #~ " // 注意:我们使用 falcot.com 域名凭证,端口 8443\n" #~ " // 这与 Transport3 和 Transport4 案例匹配,\n" #~ " // 见 falcot.com repro.config 文件\n" #~ " servers: 'wss://falcot.com:8443',\n" #~ " connection_recovery_min_interval: 2,\n" #~ " connection_recovery_max_interval: 30\n" #~ " },\n" #~ "\n" #~ " ..."