⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 375.html

📁 Jsp001精华文章离线版.很不错的,主要是针对JSP的相关内容的
💻 HTML
字号:

<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>精选文章 >> solaris 专栏 >> solaris安装SMTP Server</title>
</head>
<body >

<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>

<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=2>精选文章</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=39&int_attribute=2>solaris 专栏</a>
>> solaris安装SMTP Server [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=375>查看别人的评论</a>]<br>

<hr><p>由 fei 发布于: 2001-02-12 14:04</p><p> </p><p>solaris安装SMTP Server <br>从软件磁带中,得到sendmail-8.8.8-for-solaris2.5.1.tar.Z软件包,放到/tmp下。 <br>#zcat sendmail-8.8.8-for-solaris2.5.1.tar.Z | tar xvf - <br>#cd sendmail-8.8.8 ; ./install <br>#rm /tmp/sendmail-8.8.8-for-solaris2.5.1.tar.Z <br>    注:有时根据情况,需要修改/etc/mail/sendmail.cf文件内容。在配置更改后,必须杀死系统中所有的sendmail进程,重新启动sendmail。<br><br># ps -ef | grep sendmail | awk '{print $2}' | xargs -l kill -9 <br># /usr/lib/sendmail -q1h -bd <br>测试sendmail <br>#telnet 0 25 (server正常可以看到sendmail的信息) <br>#mailx -v root@localhost &lt; /etc/hosts (root应收到内容为hosts文件的mail) <br>附:限制接收MAIL的几种方式 <br>    1、对主机进行限制:使用TCP_WRAPPER对指定主机的MAIL进行限制,同时SENDMAIL进程必须由INETD来控制,加入一行<br><br>smtp stream tcp nowait root /usr/local/security/tcp_wrapper/bin/tcpd <br>/usr/lib/sendmail -bs <br>同时,单独启动下面进程: <br># /usr/lib/sendmail -q1h <br>    修改/etc/rc2.d/S88sendmail文件禁止主机启动时以后台方式启动sendmail进程,将其改为/usr/lib/sendmail -q1h<br><br>    对SUBJECT或FROM进行限制:A、修改sendmail原程序,在sendmail进程会话期间,根据SUBJECT内容来决定是否收MAIL;B、通个在后台运行SHELL程序,对用户的MAIL BOX进行分析,删除不需要的邮件。<br><br>    3、通过TIS来实现对MAIL的限制:首先修改/etc/inetd.conf文件,增加一行: <br><br>smtp stream tcp nowait root /usr/local/tis/etc/netacl smap <br>然后在/etc/rc3.d/S99local文件中加入 <br>#cd /var/spool/mqueue; rm -f nf* lf* <br>#/usr/local/tis/etc/smapd &amp; <br>#/usr/local/tis/etc/mqueue &amp; <br>#/usr/local/tis/etc/smap -daemon &amp;(在Standalone方式时使用这一条命令) <br>    在/var/spool目录下创建目录smap,权限由配置文件/usr/local/tis/etc/netperm-table来决定,修改/etc/rc2.d/S88sendmail文件禁止主机启动时启动sendmail进程。 <br></p></td>
  </tr>
</table>

<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=375">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=375&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=375&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=375&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=375&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=375"></script>
<p><CENTER>
Copyright &copy; 2001 - 2009 JSP001.com . All Rights Reserved <P>

<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -