亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 711-714.html

?? linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
?? HTML
字號:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Configuring Linux for Mail</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=40//-->

<!--PAGES=711-714//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="708-711.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="714-716.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P>If you decide not to run <TT>smail</TT> as a daemon and want it spawned by <TT>inetd</TT> whenever mail arrives, comment out the daemon lines in the <TT>rc</TT> files (usually <TT>rc.inet2</TT>). You cannot run <TT>smail</TT> in both daemon and spawned mode. Next, you should modify the <TT>/etc/inetd.conf</TT> file to contain an entry like this:</P>

<!-- CODE SNIP //-->

<PRE>

smtp  stream  tcp  nowait  root  /usr/sbin/smtpd   smtpd

</PRE>

<!-- END CODE SNIP //-->

<P>You must have the symbolic link between <TT>smtpd</TT> and the <TT>smail</TT> program for this command to function properly.</P>

<P>The configuration file changes necessary for <TT>smail</TT> depend on which connection system you use for obtaining mail. In other words, the configurations change if you are using UUCP (which is the easiest to set up) or a TCP connection on a network. We can look at each of the configuration processes separately. You can follow both, if you allow mail through both methods.</P>

<H4 ALIGN="LEFT"><A NAME="Heading10"></A><FONT COLOR="#000077">Configuring smail for UUCP</FONT></H4>

<P>Configuring the <TT>smail</TT> system for use with UUCP incoming and outgoing mail messages is very simple. You need to edit the default <TT>smail</TT> configuration file, usually stored as <TT>/usr/lib/smail/config</TT>. Some versions of <TT>smail</TT> include a sample configuration file such as <TT>config.sample</TT> in the same directory. You can use either as a template for the UUCP modifications.</P>

<P>Use any ASCII editor to edit <TT>/usr/lib/smail/config</TT> (the path in your distribution may be different). There are four changes you need to make. The changes are for these variables:</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;<TT>visible_domain</TT> The domain names your site belongs to

<DD><B>&#149;</B>&nbsp;&nbsp;<TT>visible_name</TT> Your site&#146;s full domain name

<DD><B>&#149;</B>&nbsp;&nbsp;<TT>uucp_name</TT> Your site&#146;s UUCP-based name (usually the same as <TT>visible_name</TT>)

<DD><B>&#149;</B>&nbsp;&nbsp;<TT>smart_host</TT> The name of the UUCP host

</DL>

<P>Each parameter in the <TT>/usr/lib/smail/config</TT> file uses the same format of <TT>variable=value</TT>. There should be no spaces on either side of the equals sign on any line. Comments in the file are preceded by a pound sign.</P>

<P><FONT SIZE="+1"><B>Setting the Local Domain Names</B></FONT></P>

<P>Begin by setting the domain name of the local machines. Locate the line in the <TT>/usr/lib/smail/config</TT> file that defines the variable <TT>visible_domain</TT>, which usually looks similar to this:</P>

<!-- CODE SNIP //-->

<PRE>

# Our domain name

visible_domain=tpci

</PRE>

<!-- END CODE SNIP //-->

<P>The <TT>visible_domain</TT> variable sets the domain names your site belongs to and will usually be the fully qualified domain name and any aliases that may be in effect. This field is used by <TT>smail</TT> to find out whether the recipient of a message is local or not. The <TT>smail</TT> system takes the message and extracts the recipient&#146;s address, comparing it against the local machine name (from the hostname command) and all values specified on the <TT>visible_domain</TT> variable. If there is a match to any of these names, the message is for a local recipient. If no match occurs, the message is routed externally.</P>

<P>If there is more than one valid value for a local domain name, the values are separated by colons, as shown in this example:</P>

<!-- CODE SNIP //-->

<PRE>

visible_domain=tpci:tpci.com:tpci.UUCP

</PRE>

<!-- END CODE SNIP //-->

<P>If your site is properly registered on UUCP maps, add the domain &#147;<TT>uucp</TT>&#148; to the list of valid values, as well. In this example, we belong to the domain <TT>tpci</TT> (from the full domain name <TT>tpci.com</TT>) and <TT>uucp</TT>:</P>

<!-- CODE SNIP //-->

<PRE>

visible_domain=tpci:tpci.com:uucp

</PRE>

<!-- END CODE SNIP //-->

<P>You may have several variations of the local domain name on the <TT>visible_domain</TT> line to account for typographic errors, if you want.</P>

<P><FONT SIZE="+1"><B>Setting the Local Domain for Outgoing Mail</B></FONT></P>

<P>When a message is to be routed out of the local machine, the <TT>smail</TT> system appends the local machine&#146;s full domain name as part of the routing information. The full local machine name is defined in the <TT>/usr/lib/smail/config</TT> line that deals with the <TT>visible_domain</TT> variable. The line will look something like this:</P>

<!-- CODE SNIP //-->

<PRE>

# Our domain name for outgoing mail

visible_name=tpci.com

</PRE>

<!-- END CODE SNIP //-->

<P>As a general rule, the <TT>visible_domain</TT> value must be a combination of the hostname and one of the domains given in the <TT>visible_domains</TT> variable; otherwise, the <TT>smail</TT> system may bounce incoming mail issued as a reply to mail sent from your site as being unrecognizable.</P>

<P>The <TT>visible_name</TT> value is usually your fully qualified domain name (if you have one) or a domain name that exists in other routing tables.</P>

<P><FONT SIZE="+1"><B>Alternate UUCP Names</B></FONT></P>

<P>The <TT>/usr/lib/smail/config</TT> file sometimes contains an entry for a variable called <TT>uucp_name</TT>. This variable is usually optional, as long as the variables <TT>visible_domain</TT> and <TT>visible_name</TT> are properly filled in. The <TT>uucp_name</TT> variable is used when the name of the system returned by the hostname command is not the name that is registered with the UUCP mapping tables. For example, your UUCP mapping name may be &#147;<TT>darkstar</TT>&#148; but you may have changed your machine&#146;s name to &#147;<TT>vader</TT>&#148; for any number of reasons. The <TT>uucp_name</TT> variable can be used to correct this change, without requiring updates to the UUCP mapping tables.</P>

<P>To set a value for the <TT>uucp_name</TT> variable, look for (or create, if one doesn&#146;t exist) the lines that define the variable. Usually, the lines look like this:</P>

<!-- CODE SNIP //-->

<PRE>

# UUCP mapping name

uucp_name=tpci.com

</PRE>

<!-- END CODE SNIP //-->

<P>If your name is properly registered as set in the <TT>visible_name</TT> variable, you can simply repeat the value in the <TT>uucp_name</TT> variable with no ill effects. If your site name has changed, enter the proper value instead.</P>

<P><FONT SIZE="+1"><B>Setting a UUCP Smart Host</B></FONT></P>

<P>Some systems use another machine as a smart host, which handles the routing of messages to and from other networks. If you are using a smart host, you should put its name in the <TT>/usr/lib/smail/config</TT> file next to the variable <TT>smart_host</TT>. Look for entries in the file that resemble these lines:</P>

<!-- CODE SNIP //-->

<PRE>

# Smart host

smart_host=merlin

</PRE>

<!-- END CODE SNIP //-->

<P>In this case, any mail for other networks is forwarded by <TT>smail</TT> to the machine merlin (in the fully resolved domain name <TT>merlin.tpci.com</TT>, based on the <TT>smart_host</TT> and <TT>visible_name</TT> variables). That machine can then take care of the routing out of the network. Any machine name given in the <TT>smart_host</TT> field must be reachable by UUCP, which means having a corresponding UUCP configuration entry. (See Chapter 39, &#147;UUCP,&#148; for more information.)</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="708-711.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="714-716.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩高清不卡在线| 亚洲精品免费视频| 91精品国产麻豆| 91美女视频网站| 不卡的电视剧免费网站有什么| 日本vs亚洲vs韩国一区三区二区| 日欧美一区二区| 日本不卡高清视频| 国产在线视频一区二区三区| 久久福利视频一区二区| 国产在线不卡一区| 成人精品国产福利| 91福利国产成人精品照片| 91成人免费在线| 欧美日韩一级片在线观看| 91精品国产手机| 国产人伦精品一区二区| 亚洲精品视频一区| 日韩和欧美一区二区三区| 免费观看在线综合| 国产福利不卡视频| 色又黄又爽网站www久久| 精品视频123区在线观看| 欧美大胆人体bbbb| 综合久久一区二区三区| 舔着乳尖日韩一区| 国产超碰在线一区| 欧美日韩久久久一区| 精品国产乱码久久久久久牛牛 | 一区二区三区精密机械公司| 亚洲影院久久精品| 激情成人综合网| 91视频国产观看| 日韩欧美高清在线| 亚洲最大成人综合| 国产精品原创巨作av| 在线观看91精品国产入口| 精品久久久三级丝袜| 一区二区三区蜜桃| 国产成+人+日韩+欧美+亚洲| 欧美日韩一区二区三区在线| 国产性色一区二区| 午夜精品福利一区二区蜜股av| 国产乱码精品一区二区三区忘忧草| 色综合久久天天| 精品播放一区二区| 亚洲国产精品尤物yw在线观看| 国产精品一区二区在线播放| 欧美午夜片在线观看| 国产精品嫩草影院av蜜臀| 免费一级欧美片在线观看| 99re免费视频精品全部| 亚洲精品在线电影| 三级不卡在线观看| 91久久久免费一区二区| 国产精品天天看| 国产高清不卡一区二区| 欧美一级高清大全免费观看| 亚洲一区二区三区小说| 波多野结衣亚洲一区| 久久久美女毛片| 免费看黄色91| 欧美一二三区在线观看| 香蕉乱码成人久久天堂爱免费| av一区二区不卡| 国产日产欧美一区| 国产在线乱码一区二区三区| 91精品婷婷国产综合久久| 亚洲一区二区四区蜜桃| 色一区在线观看| 亚洲日本一区二区三区| 91污在线观看| 亚洲欧美激情视频在线观看一区二区三区 | 日韩精品中文字幕一区二区三区| 亚洲人成在线观看一区二区| www..com久久爱| 亚洲欧美国产毛片在线| 欧美亚一区二区| 亚洲一区在线观看免费观看电影高清| 91捆绑美女网站| 一区二区三区国产| 欧美日韩国产免费一区二区 | 久久蜜桃香蕉精品一区二区三区| 看国产成人h片视频| 日韩一区二区三区免费观看| 免费精品视频最新在线| 久久亚洲春色中文字幕久久久| 精品一区二区免费在线观看| 久久亚洲精品小早川怜子| 国产伦精品一区二区三区视频青涩 | 精品国产污网站| 国产一区二区精品久久99| 国产精品国产三级国产专播品爱网 | 日韩欧美国产系列| 韩国av一区二区三区在线观看| 久久久久亚洲蜜桃| 97久久精品人人澡人人爽| 一区二区三区在线观看网站| 在线观看av不卡| 久久国产生活片100| 国产日韩欧美一区二区三区乱码 | 成人午夜av电影| 亚洲视频在线一区| 欧美一级理论片| 国产成人免费在线观看不卡| 亚洲摸摸操操av| 91精品婷婷国产综合久久性色 | 欧美一区二区视频在线观看2022| 国产一区二区三区黄视频| 一区二区免费在线播放| 日韩午夜电影在线观看| 91亚洲精品乱码久久久久久蜜桃| 日韩黄色在线观看| 亚洲婷婷综合久久一本伊一区| 911精品产国品一二三产区| 国产尤物一区二区在线| 亚洲福利视频一区| 国产精品婷婷午夜在线观看| 欧美高清你懂得| 成人久久视频在线观看| 日本强好片久久久久久aaa| 国产精品麻豆欧美日韩ww| 日韩一区二区三区在线视频| 99国产精品视频免费观看| 黄色资源网久久资源365| 亚洲午夜在线视频| 国产精品国产自产拍高清av| 精品久久人人做人人爰| 欧美日韩一区国产| 91在线视频网址| 国产成人一区二区精品非洲| 亚洲v中文字幕| 亚洲人成亚洲人成在线观看图片| 久久精品一区二区三区不卡| 欧美一区二区三区视频在线| 一本色道久久综合亚洲91| 东方欧美亚洲色图在线| 国产综合久久久久久鬼色| 日韩成人av影视| 五月天婷婷综合| 亚洲福利一区二区三区| 亚洲综合一区在线| 国产精品国产三级国产普通话三级 | 国产婷婷一区二区| 欧美电视剧在线观看完整版| 欧美一区二区三区在线观看| 欧美视频第二页| 91蝌蚪porny九色| 91丨九色丨黑人外教| 成人av免费网站| 波多野结衣亚洲| 99精品视频一区二区三区| 成人深夜福利app| 99热国产精品| 成人性视频免费网站| 成人h动漫精品一区二| 不卡视频一二三| 色综合婷婷久久| 在线观看日韩毛片| 欧美乱妇23p| 日韩午夜激情视频| 久久婷婷综合激情| 国产三级一区二区三区| 国产精品麻豆视频| 亚洲免费伊人电影| 亚洲国产中文字幕在线视频综合 | 国产人伦精品一区二区| 国产精品天干天干在观线| 亚洲人成网站色在线观看 | 91精品欧美久久久久久动漫| 欧美丰满少妇xxxbbb| 精品日韩av一区二区| 国产香蕉久久精品综合网| 国产精品毛片高清在线完整版| 亚洲女同女同女同女同女同69| 亚洲成人资源在线| 韩国欧美一区二区| 色呦呦一区二区三区| 欧美一区二区三区免费观看视频| 欧美草草影院在线视频| 国产精品福利一区二区三区| 亚洲一区二区3| 极品少妇xxxx精品少妇偷拍| 风间由美性色一区二区三区| 在线观看一区日韩| 精品999在线播放| 亚洲美女视频在线| 久久99热狠狠色一区二区| 91偷拍与自偷拍精品| 日韩亚洲欧美在线观看| 亚洲天堂免费在线观看视频| 日本女优在线视频一区二区| 国产.精品.日韩.另类.中文.在线.播放| 色综合色狠狠综合色| 精品国偷自产国产一区| 夜夜揉揉日日人人青青一国产精品| 精品一二线国产| 欧美日本在线视频| 亚洲欧美日韩久久精品| 国产高清不卡一区|