SMTP 驱动程序将尝试立即通过 /etc/services 中列出的 smtp 端口连接到远程主机。 如果无法连接到远程主机,或者连接超时,则将在稍后的时间重新尝试传递。
在 Internet 上传递邮件需要以 route-addr 格式(在 chapter- 中描述)指定到目标主机的路由,而不是 bang path。
因此,smail 会将 user%host@gateway(其中 gateway 通过 host1!host2!host3 到达)转换为源路由地址 <@host2,@host3:user%host@gateway>,该地址将作为消息的信封地址发送到 host1。 要启用这些转换(以及内置的 BIND 驱动程序),您必须编辑 transports 文件中 smtp 驱动程序的条目。 示例 transports 文件在 Appendix-
中给出。