精选文章
>> solaris 专栏
>> 设置和管理邮件服务器
由 fei 发布于: 2001-02-12 15:17
一、设置邮件服务器:
要设置邮件服务器,/var目录必须为输出状态,可以通过输入share命令检测是否为输出状态。
$ share
没有输出说明/var目录没有输出
$ su
以root用户登录,设置/var目录输出必须以该用户登录
# share -F nfs -o rw /var/mail
# share
- /var/mail rw ""
为了使其永久有效,可以编辑/etc/dfs/dfstab文件
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o rw /var/mail
如上图示例,最后一行为新添加的。
检查服务器的主机系统
# /usr/lib/mail/sh/check-hostname
Hostname sune450 OK: fully qualified as sune450.piecust.jsonline.net.cn
|