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

📄 351.html

📁 关于jsp的一些好文章 主要介绍一些关于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(sendmail)+POP3(qpopper)的例子</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(sendmail)+POP3(qpopper)的例子 [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=351>查看别人的评论</a>]<br>

<hr><p>由 fei 发布于: 2001-02-12 11:03</p><p> </p><p>一个在Solaris下配置SMTP(sendmail)+POP3(qpopper)的例子<br>================================================================= <br><br>A. 我们的机器环境:<br><br>1.Solaris 8 sparc<br>2.Sendmail 8.9.3+Sun (Solaris系统捆绑)<br>3.qpopper 3.0.1 (www.sunfreeware.com下载) <br><br>B.sendmail的基本配置非常的简单,一般系统自己已经做了大量相关的<br>设置,你所需要做的是定义一些自己的本地信息,以及一些安全/控制<br>信息,在Solaris下一般的配置文件在/etc/mail下<br>1.修改:69 line:<br>Cwlocalhost solaris8.abc.com abc.com <br><br>2.修改:73 line: 一般不需要修改,除非你的系统不能自动找到你的domain<br># my official domain name<br># ... define this only if sendmail cannot automatically determine your domain<br>#Dj$w.Foo.COM <br><br>3.修改: 80 line: 我们清空这个定义<br># "Smart" relay host (may be null)<br>#DSmailhost.$m<br>DS<br>4.修改:120 line:<br># who I masquerade as (null for no masquerading) (see also $=M)<br>DMabc.com<br><br>C.目前为止,基本的设置结束,保存修改,reboot sendmail进程<br>bash-2.03$ ps -ef |grep sendmail<br>root 261 1 0 17:35:48 ? 0:00 /usr/lib/sendmail -bd -q15m<br>bash-2.03# kill -HUP 261 <br><br>D.qpopper的安装也非常的简单:<br>1.建立一个临时目录 ./tmp<br>#gzip qpopper-3.0.1-sol8-sparc-local.gz<br>#pkgadd -d ./qpopper-3.0.1-sol8-sparc-local <br><br>2.编辑在/etc/inetd.conf文件 ,在最后加入: <br><br>pop3 stream tcp nowait root /usr/local/lib/popper qpopper -s <br><br>3.reboot inetd进程<br>bash-2.03$ ps -ef |grep inetd<br>root 191 1 0 17:35:43 ? 0:00 /usr/sbin/inetd -s<br>#kill -HUP 191 <br><br>E.测试<br>1.<br>bash-2.03$ telnet solaris8.abc.com 25<br>Trying 132.254.254.76...<br>Connected to solaris8.abc.com.<br>Escape character is '^]'.<br>220 solaris8.abc.com ESMTP Sendmail 8.9.3+Sun/8.9.3; Thu, 2 Nov 2000 10:26:05 +)<br>help<br>214-This is Sendmail version 8.9.3+Sun<br>214-Topics:<br>214- HELO EHLO MAIL RCPT DATA<br>214- RSET NOOP QUIT HELP VRFY<br>214- EXPN VERB ETRN DSN<br>214-For more info use "HELP &lt;topic&gt;".<br>214-To report bugs in the implementation contact Sun Microsystems<br>214-Technical Support.<br>214-For local information send email to Postmaster at your site.<br>214 End of HELP info<br>quit<br>221 solaris8.abc.com closing connection<br>Connection closed by foreign host.<br>bash-2.03$ <br><br>2.<br>bash-2.03$ telnet solaris8.abc.com 110<br>Trying 132.254.254.76...<br>Connected to solaris8.abc.com.<br>Escape character is '^]'.<br>+OK QPOP (version 3.0.1) at solaris8.abc.com starting.<br>quit<br>+OK Pop server at solaris8.abc.com signing off.<br>Connection closed by foreign host.<br>bash-2.03$ <br><br>3.还可以通过MUA软件[Foxmail(win9x)/Pine(unix)]测试我们的邮件环境 <br><br><br>E.几个补充说明:<br>0.我们的演示环境与我们的关于DNS的技术资料配套,关于dns信息请参考该文. <br><br>1.根据sun.com资料,随solaris捆绑的sendmail软件是sun.com对于sendmail<br>的修改版本,包括了对于NIS 和NIS+的支持。 <br><br>2.请随时查看系统日志文件/var/log/syslog,如果发现错误信息,及时解决纠正。<br>在系统默认状态下,系统会记录所有的邮件日志. <br><br>3.这个仅仅是一个演示功能的安装过程,在一个生产的环境中,一般还需要进行<br>许多的配置,进一步的知识可以参考: <br><br>RFC文档:RFC821/RFC822/RFC819/RFC976/RFC1123 (www.haoku.net提供RFC文档光盘)<br>Eric Allman : &lt;&lt;Sendmail 2nd&gt;&gt; 中国电力出版社<br><br><br><br>------------------------------- <br><br>中文unix社区 <a href="http://www.unixaid.net/" target=_blank>http://www.unixaid.net/</a><br>============================<br>一个专业的unix技术交流社区 <br><br><br>作者: 斯汀 (eltonsting@yahoo.com)<br>本 (ben@unixaid.net) 首发<br>任何问题或者Bug,请及时联络作者.<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Copyright <a href="http://www.unixaid.net/" target=_blank>http://www.unixaid.net/</a> 2000/11/02<br>任何网站或者传统媒体转载,必须得到我们的授权!!!<br>否则我们保留追究相关法律责任的权利!!!<br></p></td>
  </tr>
</table>

<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=351">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=351&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=351&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=351&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=351&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=351"></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 + -