2345软件知道 >> 问题分类 >> 操作系统 >> 其它

已解决的问题

Sun solaris 下配置邮件send mail 发送不出去
0分 标签:Sun solaris 配置 邮件send mail         提问者:心底飞翔 幼儿小班    回答:0     提问时间:2008-07-05 01:48:01
我有一台solaris主机,send mail 不行啊

满意答案好评率:0%
1. Become superuser or assume an equivalent role. Roles contain authorizations and privileged commands.
2. Stop sendmail.
# svcadm disable network/smtp:sendmail
3. Check if the /var/mail directory is available for remote access.
# share
If the /var/mail directory is listed, proceed to step 5.
If the /var/mail directory is not listed or if no list appears, continue with the appropriate substep.
a. (Optional) If no list appears, start NFS services.
b. (Optional) If the /var/mail directory is not included in the list, add the directory to /etc/dfs/dfstab.
Add the following command line to the /etc/dfs/dfstab file.
share -F nfs -o rw /var/mail
4. Make the file system available for mounting.
# shareall
5. Ensure that your name service has been started.
a. (Optional) If you are running NIS, use this command.
# ypwhich
b. (Optional) If you are running NIS+, use this command.
# nisls
c. (Optional) If you are running DNS, use this command.
# nslookup hostname
hostname Use your host name.
d. (Optional) If you are running LDAP, use this command.
# ldaplist
6. Restart sendmail.
# svcadm enable network/smtp:sendmail
回答时间:2008-11-27 02:52:37 回答者:darkwave[幼儿小班] 回答采纳率:45%(51个被采纳)
  • 对最佳答案评论 目前有 0 人评论
我可以做什么

提出问题

在使用软件的过程中总会遇到一些自己无法解决的问题,需要提出来靠大家的力量来解决,我们就是要给您这样一个软件问答的平台。

分享知道的东西

回答提问者的提问,可以简单或详尽的解答,提问者和系统会对你的贡献作出一个合理的积分回报。

评价和体验

评价他人的提问和回答,不仅仅可以维护一个好的问答环境,也有助于提高你自己的学习和辨别能力。