: 本书中描述的每个软件所需的所有配置文件都由我们以 gzipped 文件的形式提供,floppy.tgz为了您的方便。可以从此网址下载:http://www.openna.com/books/floppy.tgz 您可以将其解压缩到本地计算机上的任何位置,例如/tmp,假设您已完成此操作,您的目录结构将是/tmp/floppy。在此 floppy 目录中,每个配置文件都有其各自软件的目录。例如,Sendmail 配置文件是这样组织的
如果您从一开始就忠实地遵循我们的说明,您可以直接剪切并粘贴这些文件,或者手动编辑这些文件以根据您的需求进行修改。提供此功能是为了方便您,但请不要忘记,最终您有责任在使用它们之前检查、验证、等等,无论是否经过修改。
total 32 -rw-r--r-- 1 harrypotter harrypotter 684 Jun 8 13:00 Linux -rw-r--r-- 1 harrypotter harrypotter 3648 Jun 8 13:00 access -rw-r--r-- 1 harrypotter harrypotter 547 Jun 8 13:00 aliases drwxr-xr-x 2 harrypotter harrypotter 4096 Jun 8 13:00 init.d/ -rw-r--r-- 1 harrypotter harrypotter 137 Jun 8 13:00 local-host-names -rw-r--r-- 1 harrypotter harrypotter 109 Jun 8 13:00 null.mc -rw-r--r-- 1 harrypotter harrypotter 685 Jun 8 13:00 sendmail.mc drwxr-xr-x 2 harrypotter harrypotter 4096 Jun 8 13:00 sysconfig/
要运行中央邮件 Hub 服务器,需要以下文件,并且必须创建这些文件或将其复制到服务器上的相应目录中。
将 sendmail 文件复制到/etc/sysconfig目录中。
将 sendmail 脚本文件复制到/etc/rc.d/init.d/目录中。
中。将 local-host-names 文件复制到目录中。
/etc/mail将 local-host-names 文件复制到目录中。
中。将 local-host-names 文件复制到目录中。
文件到
将 sendmail 文件复制到/etc/sysconfig目录中。
将 sendmail 脚本文件复制到/etc/rc.d/init.d/目录中。
中。将 local-host-names 文件复制到目录中。
要运行本地或邻居客户端服务器,需要以下文件,并且必须创建这些文件或将其复制到服务器上的相应目录中。floppy.tgz
: 您可以在我们的floppy.tgz存档中获取下面列出的配置文件。从解压缩的
上一页 | 存档中复制以下文件到相应位置,或直接从本书中复制并粘贴到相关文件中。 | 下一页 |
主页 | 编译和优化 | 向上/etc/sendmail.mc文件 /中央邮件 Hub |