博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
wangqh_2008
超越梦想
wangqh2008.cublog.cn
管理博客
发表文章
留言
收藏夹
· AIX
· blog_address
· 软件收藏
· 视频教程,文档
· 生活
· 数据库
}
· db2
· mysql
· oracle
· postsql
· sqlserver
· FreeBSD
· HR
· 外语学习
}
· 日语
· 英语
· IBM websphere
· 网络
}
· cisco
· d-link
· 无线网络
· 常用技巧
· 常见故障
· 方案
· 华为
· linux
}
· CVS
· FTP
· http
· mantis
· pell
· shell
· 安装
· 常用网址下载
· 常用服务配置
· 常用技巧
· 学用Lotus
· 娱乐游戏
· 邮件相关
}
· exchange
· extmail
· postfix
· qmail
· sendmail
· 其他
· 音乐
· slaris
· VPN
· windows
}
· 日常维护
· Vista
· windows2003server
· windows2008server
· xp
· 安装
· 常用服务配置
· 培训
· 企业应用
· 安全相关
}
· 防火墙
· 笔记本杂谈
· 备份与恢复
· 常用链接
· 常用网络地址收藏
· 存储
· 电话系统
· 方案文档下载
· 服务集群
· 负载均衡
· 租房网站
博客圈
音乐
相册
· softbrain
文章
· 生活
· 数据库
}
· DB2
· mysql
· oracle
· postsql
· sqlserver
· 常见问题解决方案
· 网络技术
}
· 3com
· cisco
· D-Link
· 网络基础知识
· 无线网络
· TP-Link
· VPN
· 北电
· 常见问题解决方案
· 华为
· mail服务器
}
· extmail
· postfix邮件系统
· postfix反垃圾反病毒
· qmail邮件系统
· sendmail邮件系统
· 学习
· 娱乐
· 娱乐与游戏
· 应用服务器
}
· 论坛
· cvs服务器
· OA
· 硬件故障与检测
· VOIP
· websphere
· 企业应用
}
· dabases
· linux
· network
· windows
· 安全相关
· 备份与恢复
· 操作系统
}
· AIX
· FreeBSD
· linux
· solaris
· windows VISTA
· windows2003server
· windows2008server
· windowsxp
· 常见问题解决方案
· 存储
· 电话系统
· 防火墙
}
· cisco防火墙
· netcsreen
· 方案
· 负载均衡
· 集群
· 健身
· 经验与技巧
首页
关于作者
姓名:jerry 职业: 年龄: 位置:AM地 个性介绍: MSN:wangqh_2008@hotmail.com
||
<<
>>
||
我的分类
最新文章
·
公司MSN被禁用,WEB方式登..
·
Linux系统利用Crontab命令..
·
(zh CN)OpenBSD(4.1)+Pos..
·
硬盘绝密维修资料
·
MHDD硬盘工具检测修复硬盘..
最新留言
最新评论
·
谢谢你!
·
SAP99,支持下,也欢迎访问..
·
怎么第5张不能下载呢??
·
不错,找了好久,在你这找..
·
我的QQ:7921339,看到后请..
最新收藏
·
我的文章 - 吖漆Dě部落窝
·
№→Learning Linux - 我..
·
Awk中文学习手册(完整版..
·
Perl编程思想->中文版 - ..
·
制作编写超级批处理病毒 ..
统计信息
·
总访问量:144445
·
文章个数:162
·
评论条数:14
·
留言条数:0
·
网友推荐:
公司MSN被禁用,WEB方式登陆MSN的几种方法
<DIV> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD align=middle> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR class=sysHand> <TD class=up> <DIV class="sysBr500 title">公司MSN被禁用,WEB方式登陆MSN的几种方法</DIV></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD class=aBody> <TABLE cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD class=author><IMG class=man src="http://image2.sina.com.cn/blog/tmpl/v3/theme/images/sun.gif"><SPAN class=time>2007-05-12 10:43:42</SPAN></TD></TR></TBODY></TABLE> <TABLE class=dashed cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE> <TABLE class=aSize cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD align=right><A href="file::;"><FONT color=#0000ff>大</FONT></A><A href="file::;"><FONT color=#0000ff>中</FONT></A><A href="file::;"><FONT color=#0000ff>小</FONT></A></TD></TR></TBODY></TABLE> <TABLE class=description cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD align=middle> <DIV class="sysBr500 text" align=left> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=top align=middle width=60>标签:</TD> <TD style="WIDTH: 430px"><A href="http://search.blog.sina.com.cn/blog/search?q=msn&tag=n&t=tag" target=_blank><FONT color=#0000ff>msn</FONT></A> <A href="http://search.blog.sina.com.cn/blog/search?q=%B1%BB%BD%FB&tag=n&t=tag" target=_blank><FONT color=#0000ff>被禁</FONT></A> <A href="http://search.blog.sina.com.cn/blog/search?q=%D7%E8%D6%B9&tag=n&t=tag" target=_blank><FONT color=#0000ff>阻止</FONT></A> <A href="http://search.blog.sina.com.cn/blog/search?q=web%B5%C7%C2%BD&tag=n&t=tag" target=_blank><FONT color=#0000ff>web登陆</FONT></A> <A href="http://search.blog.sina.com.cn/blog/search?q=%B9%AB%CB%BE%BD%FB%D6%B9&tag=n&t=tag" target=_blank><FONT color=#0000ff>公司禁止</FONT></A> <A href="http://search.blog.sina.com.cn/blog/search?q=web&tag=n&t=tag" target=_blank><FONT color=#0000ff>web</FONT></A> </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE> <TABLE class=description cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD align=middle> <DIV class="sysBr500 text" align=left> <DIV> <DIV><FONT color=#000000><STRONG>和众多公司一样,MSN被禁用和屏蔽是很平常的事。可中国人毕竟是蛮聪明的,会查找对策,以下方式是我的整理供大家分享:</STRONG></FONT></DIV> <UL> <LI><STRONG><FONT color=#000000>在公司WEB方式登陆MSN的几种方法:</FONT></STRONG> </LI></UL> <UL> <LI><FONT color=#000000><STRONG>1. 登陆</STRONG></FONT><A href="http://www.iloveim.com/" target=_blank><FONT color=#000000><STRONG>http://www.iloveim.com/</STRONG></FONT></A><FONT color=#000000><STRONG> or</STRONG></FONT> <A href="http://www.ebuddy.com/" target=_blank><FONT color=#000000><STRONG>http://www.ebuddy.com</STRONG></FONT></A> <LI><FONT color=#000000><STRONG>2.下载HOPSTER,可以穿过公司防火墙。不过目前都是DEMO版本(本人目前没有找到破解方法)。你不得不体验上上下下的感觉</STRONG></FONT> <LI><FONT color=#000000><STRONG>3.下载HTTP-TUNNEL,也可以穿过公司防火墙,也不是DEMO版本(自己找破解方法吧,网上应该有)。</STRONG></FONT> <LI><FONT color=#000000><STRONG>4.</STRONG></FONT> <A href="http://webmessenger.msn.com/" target=_blank><FONT color=#000000><STRONG>http://webmessenger.msn.com</STRONG></FONT></A><FONT color=#000000><STRONG>使用WEB MSN登陆网站(如果公司没有禁止它的IP)。</STRONG></FONT> <LI><FONT color=#000000><STRONG>5. 更多WEB登陆方式:<BR></STRONG></FONT><A href="http://www.msn2go.com/" target=_blank><FONT color=#000000><STRONG>www.msn2go.com</STRONG></FONT></A><BR><A href="http://www11.meebo.com/" target=_blank><FONT color=#000000><STRONG>www11.meebo.com</STRONG></FONT></A><BR><A href="http://www.imtata.com/" target=_blank><STRONG><FONT color=#0000ff>www.imtata.com</FONT></STRONG></A><STRONG>(近期地震后网络不稳定推荐使用)</STRONG><BR><A href="http://join.msn.com/webmessenger/" target=_blank><FONT color=#000000><STRONG>join.msn.com/webmessenger/</STRONG></FONT></A><BR><A href="http://www.imhaha.com/" target=_blank><FONT color=#000000><STRONG>www.imhaha.com</STRONG></FONT></A><BR><FONT color=#000000><STRONG>msn.audiowatcher.com<BR></STRONG></FONT><A href="http://www.koolim.com/" target=_blank><FONT color=#000000><STRONG>www.koolim.com</STRONG></FONT></A> </LI></UL> <DIV> <DIV><STRONG><FONT color=#ffffff>WEB方式登陆MSN</FONT></STRONG><STRONG><FONT color=#ffffff>MSN被禁用</FONT></STRONG><STRONG><FONT color=#ffffff>MSN被屏蔽</FONT></STRONG><STRONG><FONT color=#ffffff>WEB登陆MSN</FONT></STRONG><STRONG><STRONG><FONT color=#ffffff>MSN被禁用</FONT></STRONG><STRONG><FONT color=#ffffff>MSN被屏蔽</FONT></STRONG><FONT color=#ffffff>WEB登陆MSN</FONT></STRONG><BR><STRONG>呵!如果你们的IT是高手,而且极力想阻止使用MSN,这些方法还是会无效。不过可能性不大。要不是领导施压,普通IT职员怎么会做的这么绝呢。IT领导咋会知道有这么多登陆方式呢?!如果他知道这些,看来他对MSN也情有独钟,哈哈!<BR></STRONG></DIV> <DIV> <TABLE style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 455.4pt; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=607 border=1> <TBODY> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 455.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=607 colSpan=2> <P style="TEXT-ALIGN: center" align=center><FONT size=2><SPAN>WEB MSN</SPAN><SPAN style="blue: "> 登陆网站</SPAN><SPAN> </SPAN></FONT></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>大致上的分類</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><FONT size=2>URL List</FONT></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>meebo</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www28.meebo.com/" target=_blank><FONT color=#0000ff size=2>http://www28.meebo.com/</FONT></A> <FONT size=2><BR></FONT></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://meebo.com/" target=_blank><FONT color=#0000ff size=2>http://meebo.com</FONT></A><BR></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="https://www33.meebo.com/" target=_blank><FONT color=#0000ff size=2>https://www33.meebo.com</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="https://www34.meebo.com/" target=_blank><FONT color=#0000ff size=2>https://www34.meebo.com</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.meebo.us/" target=_blank><FONT color=#0000ff size=2>http://www.meebo.us</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://www.meebo.biz/" target=_blank><FONT color=#0000ff size=2>http://www.meebo.biz</FONT></A><BR></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www24.meebo.com/" target=_blank><FONT color=#0000ff size=2>http://www24.meebo.com/</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>goowy</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.goowy.com/" target=_blank><FONT color=#0000ff size=2>http://www.goowy.com</FONT></A> <FONT size=2><BR></FONT></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.goowy.us/" target=_blank><FONT color=#0000ff size=2>http://www.goowy.us</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.goowy.info/" target=_blank><FONT color=#0000ff size=2>http://www.goowy.info</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.goowy.biz/" target=_blank><FONT color=#0000ff size=2>http://www.goowy.biz</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>Messenger msn</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://webmessenger.msn.com/" target=_blank><FONT color=#800080 size=2>http://webmessenger.msn.com</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>iloveim</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.iloveim.com/" target=_blank><FONT color=#0000ff size=2>http://www.iloveim.com/</FONT></A> <FONT size=2><BR></FONT></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://msnger.com/" target=_blank><FONT color=#0000ff size=2>http://msnger.com</FONT></A><BR></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.msnger.com/index.jsp" target=_blank><FONT color=#0000ff size=2>http://www.msnger.com/index.jsp</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>imhaha</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.imhaha.com/" target=_blank><FONT color=#0000ff size=2>http://www.imhaha.com</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.imhaha.net/" target=_blank><FONT color=#0000ff size=2>http://www.imhaha.net</FONT></A><BR></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="https://www.imhaha.com/webmsg/messenger.jsp" target=_blank><FONT color=#0000ff size=2>https://www.imhaha.com/webmsg/messenger.jsp</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>ebuddy</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.ebuddy.com/" target=_blank><FONT color=#0000ff size=2>http://www.ebuddy.com/</FONT></A><BR><A style="TEXT-DECORATION: underline; blue: " href="http://www.e-messenger.net/" target=_blank><FONT color=#0000ff size=2>http://www.e-messenger.net/</FONT></A> <FONT size=2><BR></FONT></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://start.e-messenger.net/" target=_blank><FONT color=#0000ff size=2>http://start.e-messenger.net/</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://193.238.160.77/servlet/login" target=_blank><FONT color=#0000ff size=2>http://193.238.160.77/servlet/login</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>imunitive</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.imunitive.com/" target=_blank><FONT color=#0000ff size=2>http://www.imunitive.com</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.imunitive.co.uk/" target=_blank><FONT color=#0000ff size=2>http://www.imunitive.co.uk</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>wablet</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.wablet.com/" target=_blank><FONT color=#0000ff size=2>http://www.wablet.com</FONT></A> <FONT size=2><BR></FONT><A style="TEXT-DECORATION: underline; blue: " href="http://www.wablet.us/" target=_blank><FONT color=#0000ff size=2>http://www.wablet.us</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>mabber</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://www.mabber.com/" target=_blank><FONT color=#0000ff size=2>http://www.mabber.com</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://www.mabber.us/" target=_blank><FONT color=#0000ff size=2>http://www.mabber.us</FONT></A></SPAN></P></TD></TR> <TR> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 149.4pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" width=199> <P style="TEXT-ALIGN: center" align=center><STRONG><SPAN style="FONT-SIZE: 14pt; COLOR: red"><FONT size=2>其他</FONT></SPAN></STRONG></P></TD> <TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: medium none; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 306pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid" vAlign=top width=408> <P><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://msn2go.com/" target=_blank><FONT color=#0000ff size=2>http://msn2go.com</FONT></A><BR></SPAN><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://jmsn.net/" target=_blank><FONT color=#0000ff size=2>http://jmsn.net</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://www.koolim.com/" target=_blank><FONT color=#0000ff size=2>http://www.koolim.com/</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://messengeradictos.com/" target=_blank><FONT color=#0000ff size=2>http://messengeradictos.com</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://www8.messengerfx.com/" target=_blank><FONT color=#0000ff size=2>http://www8.messengerfx.com/</FONT></A></SPAN><SPAN><BR><A style="TEXT-DECORATION: underline; blue: " href="http://wbmsn.net/" target=_blank><FONT color=#0000ff size=2>http://wbmsn.net</FONT></A> <FONT size=2><BR></FONT></SPAN><SPAN><FONT size=2>(測試時無法開啟)<BR></FONT></SPAN><FONT color=#0000ff size=2><SPAN><A style="TEXT-DECORATION: underline; blue: " href="http://msn.audiowatcher.com/servlets/loginPage" target=_blank>http://msn.audiowatcher.com/servlets/loginPage</A></SPAN></FONT><SPAN><FONT size=2><BR>(測試時無法開啟)</FONT></SPAN></P></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2008-04-15 ┆
阅读(338)
┆
评论(0)
Linux系统利用Crontab命令实现定时重启
<DIV> <H1>Linux系统利用Crontab命令实现定时重启</H1> <DIV class=from_info>http://www.sina.com.cn 2008年03月13日 08:23 <SPAN class=linkRed02><A href="http://news.ccidnet.com/" target=_blank><FONT color=#a20010>赛迪网</FONT></A></SPAN></DIV><!--正文内容开始--><!-- google_ad_section_start --> <DIV class=artibody id=artibody><!-- 正文内部文字导航 : begin --><!-- 正文内部文字导航 : end --> <CENTER><FONT color=#a20010></FONT></CENTER> <P> 作者:sixth</P> <P> Crontab是一个很方便的在unix/linux系统上定时(循环)执行某个任务的程序 </P> <P> 使用cron服务,用 service crond status 查看 cron服务状态,如果没有启动则 service crond start启动它, </P> <P> cron服务是一个定时执行的服务,可以通过crontab 命令添加或者编辑需要定时执行的任务: </P> <P> crontab -u //设定某个用户的cron服务,一般root用户在执行这个命令的时候需要此参数 </P> <P> crontab -l //列出某个用户cron服务的详细内容 </P> <P> crontab -r //删除没个用户的cron服务 </P> <P> crontab -e //编辑某个用户的cron服务 </P> <P> 比如说root查看自己的cron设置:crontab -u root -l </P> <P> 再例如,root想删除fred的cron设置:crontab -u fred -r </P> <P> 在编辑cron服务时,编辑的内容有一些格式和约定,输入:crontab -u root -e </P> <P> 进入vi编辑模式,编辑的内容一定要符合下面的格式:*/1 * * * * ls >> /tmp/ls.txt </P> <P> 编辑/etc/crontab文件,在末尾加上一行: 30 5 * * * root init 6 这样就将系统配置为了每天早上5点30自动重新启动。 </P> <P> 需要将crond设置为系统启动后自动启动的服务,可以在/etc/rc.d/rc.local 中,在末尾加上 </P> <P> service crond start </P> <P> 如果还需要在系统启动十加载其他服务,可以继续加上其他服务的启动命令。 </P> <P> 比如: service mysqld start </P> <P> 基本用法: </P> <P> 1. crontab -l </P> <P> 列出当前的crontab任务 </P> <P> 2. crontab -d </P> <P> 删除当前的crontab任务 </P> <P> 3. crontab -e (solaris5.8上面是 crontab -r) </P> <P> 编辑一个crontab任务,ctrl_D结束 </P> <P> 4. crontab filename </P> <P> 以filename做为crontab的任务列表文件并载入 </P> <P> crontab file的格式: </P> <P> crontab 文件中的行由 6 个字段组成,不同字段间用空格或 tab 键分隔。前 5 个字段指定命令要运行的时间 </P> <P> 分钟 (0-59) </P> <P> 小时 (0-23) </P> <P> 日期 (1-31) </P> <P> 月份 (1-12) </P> <P> 星期几(0-6,其中 0 代表星期日) </P> <P> 第 6 个字段是一个要在适当时间执行的字符串 </P> <P> 例子: </P> <P> #MIN HOUR DAY MONTH DAYOFWEEK COMMAND </P> <P> #每天早上6点10分 </P> <P> 10 6 * * * date </P> <P> #每两个小时 </P> <P> 0 */2 * * * date (solaris 5.8似乎不支持此种写法) </P> <P> #晚上11点到早上8点之间每两个小时,早上8点 </P> <P> 0 23-7/2,8 * * * date </P> <P> #每个月的4号和每个礼拜的礼拜一到礼拜三的早上11点 </P> <P> 0 11 4 * mon-wed date </P> <P> #1月份日早上4点 </P> <P> 0 4 1 jan * date </P> <P> 补充:在使用crontab的时候,要特别注意的是运行脚本中能够访问到的环境变量和当前测试环境中的环境变量未必一致,一个比较保险的做法是在运行的脚本程序中自行设置环境变量(export) </P> <P> (1)先建一个文件crond.txt如下, 每天早上5点36分重新启动 </P> <P> 36 5 * * * reboot </P> <P> (2)上传到/opt目录 </P> <P> (3)运行命令 </P> <P> crontab /opt/crond.txt </P> <P> crontab -l </P> <P> 让配置文件生效:如果让配置文件生效,还得重新启动cron,切记,既然每个用户下的cron配置文件修改后。也要重新启动cron服务器。 </P> <P> 在Fedora 和Redhat中,我们应该用; </P> <P> [root@localhost ~]# /etc/init.d/crond restart </P> <P> 如果让crond 在开机时运行,应该改变其运行级别; </P> <P> [root@localhost ~]# chkconfig --levels 35 crond on </P> <P> service crond status 查看 cron服务状态,如果没有启动则 service crond start启动它, cron服务是一个定时执行的服务,可以通过crontab 命令添加或者编辑需要定时执行的任务 </P> <P><SPAN id=_function_code_page> <P align=right> [1] <A href="http://tech.sina.com.cn/s/2008-03-13/08232074827.shtml"><FONT color=#000099>[2]</FONT></A> <A style="FONT-SIZE: 14px" href="http://tech.sina.com.cn/s/2008-03-13/08232074827.shtml"><FONT color=#000099>[下一页]</FONT></A></P></SPAN><!--page_info=2_1_2074826--> <TABLE width="90%" align=center border=0> <TBODY> <TR><FONT color=#000099></FONT></TR> <TR> <TD class=f14><FONT color=#000099></FONT></TD></TR></TBODY></TABLE><!-- 本文导航 begin --> <STYLE type=text/css> .linkBlack{line-height:21px;padding:8px 0 8px 3px;} .linkBlack a:link{text-decoration:none;color:#000;} .linkBlack a:visited{text-decoration:none;} .linkBlack a:active,.linkBlack a:hover{text-decoration:underline;color:#f00;} </STYLE> <TABLE style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid; BORDER-LEFT: #000 1px solid; BORDER-BOTTOM: #000 1px solid" cellSpacing=1 cellPadding=0 width=562 bgColor=#ffffff border=0> <TBODY> <TR> <TD style="PADDING-LEFT: 10px" width=562 bgColor=#fccc04 colSpan=3 height=24><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 14px; FILTER: dropshadow(offX=1,offY=1,color=#FDDE0C); COLOR: #f83f00; HEIGHT: 0px">本文导航:</FONT></TD></TR> <TR> <TD class=linkBlack vAlign=top width=276>·<A title="" href="http://tech.sina.com.cn/s/2008-03-13/08232074826.shtml" target=_self><FONT color=#000099>Linux系统利用Crontab命令实现定时重启</FONT></A><BR></TD> <TD width=1 bgColor=#000><FONT color=#000099></FONT></TD> <TD class=linkBlack vAlign=top width=276>·<A title="" href="http://tech.sina.com.cn/s/2008-03-13/08232074827.shtml" target=_self><FONT color=#000099>Linux系统利用Crontab命令实现定时重启(2)</FONT></A><BR></TD></TR></TBODY></TABLE></DIV> <DIV class=artibody> </DIV> <DIV class=artibody> <H1>Linux系统利用Crontab命令实现定时重启(2)</H1> <DIV class=from_info>http://www.sina.com.cn 2008年03月13日 08:23 <SPAN class=linkRed02><A href="http://news.ccidnet.com/" target=_blank><FONT color=#a20010>赛迪网</FONT></A></SPAN></DIV><!--正文内容开始--><!-- google_ad_section_start --> <DIV class=artibody id=artibody><!-- 正文内部文字导航 : begin --><!-- 正文内部文字导航 : end --> <CENTER><FONT color=#a20010></FONT></CENTER> <P><FONT color=#a20010></FONT></P> <P><FONT color=#a20010></FONT><SPAN class=a14c id=zoom></P> <P style="TEXT-INDENT: 2em"><FONT color=#a20010></FONT> <P style="TEXT-INDENT: 2em"><FONT color=#a20010></FONT> <P style="TEXT-INDENT: 2em">Crontab文件的每一行由六个域(minutes、hours、day of month、month、day of week、 command)组 成,域之间用空格或Tab分开,其中: <P style="TEXT-INDENT: 2em">minutes: 分钟域,值的范围是0到59 <P style="TEXT-INDENT: 2em">hours: 小时域,值的范围是0到23 <P style="TEXT-INDENT: 2em">day of month: 日期,值的范围是1到31 <P style="TEXT-INDENT: 2em">month: 月份,值的范围是1到12 <P style="TEXT-INDENT: 2em">day of week: 星期,值的范围是0到6,星期日值为0 <P style="TEXT-INDENT: 2em">command: 所要运行的命令 <P style="TEXT-INDENT: 2em">如果一个域是*,表明命令可以在该域所有可能的取值范围内执行。 <P style="TEXT-INDENT: 2em">如果一个域是由连字符隔开的两个数字,表明命令可以在两个数字之间的范围内执行(包括两个数字 本身)。 <P style="TEXT-INDENT: 2em">如果一个域是由逗号隔开的一系列值组成的,表明命令可以在这些值组成的范围内执行。 <P style="TEXT-INDENT: 2em">如果日期域和星期域都有值,则这两个域都有效。 <P style="TEXT-INDENT: 2em">编写一个文件,用以启动自动备份进程。 <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">cd /opt <P style="TEXT-INDENT: 2em">touch reboot.txt <P style="TEXT-INDENT: 2em">在reboot.txt中添加一下内容: <P style="TEXT-INDENT: 2em">0 4 * * * reboot <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">crontab /opt/reboot.txt <P style="TEXT-INDENT: 2em">用crontab -e编辑定时操作,例如加入下行命令: <P style="TEXT-INDENT: 2em">用crontab -l命令来查看 <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">注意:需要启动服务(添加在rc.local中) <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">重启crond任务 <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">/etc/init.d/cron restart (ubuntu下) <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">第一种 在Fedora或Redhat 等以RPM包管理的系统中; <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">[root@localhost ~]# /etc/init.d/crond start <P style="TEXT-INDENT: 2em">[root@localhost ~]# /etc/init.d/crond stop <P style="TEXT-INDENT: 2em">[root@localhost ~]# /etc/init.d/crond restart <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">/etc/rc.d/init.d/crond restart <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">命令简介 <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">crontab-操作每个用户的守护程序和该执行的时间表。 <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">部分参数说明 <P style="TEXT-INDENT: 2em">crontab file [-u user]-用指定的文件替代目前的crontab。 <P style="TEXT-INDENT: 2em">crontab-[-u user]-用标准输入替代目前的crontab. <P style="TEXT-INDENT: 2em">crontab-1[user]-列出用户目前的crontab. <P style="TEXT-INDENT: 2em">crontab-e[user]-编辑用户目前的crontab. <P style="TEXT-INDENT: 2em">crontab-d[user]-删除用户目前的crontab. <P style="TEXT-INDENT: 2em">crontab-c dir- 指定crontab的目录。 <P style="TEXT-INDENT: 2em">crontab文件的格式:M H D m d cmd. <P style="TEXT-INDENT: 2em">M: 分钟(0-59)。 <P style="TEXT-INDENT: 2em">H:小时(0-23)。 <P style="TEXT-INDENT: 2em">D:天(1-31)。 <P style="TEXT-INDENT: 2em">m: 月(1-12)。 <P style="TEXT-INDENT: 2em">d: 一星期内的天(0~6,0为星期天)。 <P style="TEXT-INDENT: 2em">cmd要运行的程序,程序被送入sh执行,这个shell只有USER,HOME,SHELL这三个环境变量。 <P style="TEXT-INDENT: 2em">下面是一个例子文件: <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em"> <CENTER><CCID_NOBR> <TABLE cellSpacing=0 borderColorDark=#ffffff cellPadding=2 width=400 align=center borderColorLight=black border=1> <TBODY> <TR> <TD class=code style="FONT-SIZE: 9pt" bgColor=#e6e6e6><PRE><CCID_CODE>#MIN HOUR DAY MONTH DAYOFWEEK COMMAND #每天早上6点 106* * * date #每两个小时 0*/2* * * date #晚上11点到早上8点之间每两个小时,早上部点 0 23-7/2,8* * * date #每个月的4号和每个礼拜的礼拜一到礼拜三的早上11点 0 11 4* mon-wed date #1月份日早上4点 0 4 1 jan* date 范例 lark:~>crontab-1 列出用户目前的crontab. #MIN HOUR DAY MONTH DAYOFWEEK COMMAND 10 6* * * date 0*/2* * * date 0 23-7/2,8 * * * date lark:~></CCID_CODE></PRE></TD></TR></TBODY></TABLE></CCID_NOBR></CENTER> <P style="TEXT-INDENT: 2em"> <P style="TEXT-INDENT: 2em">(责任编辑:云子) </P></SPAN></DIV></DIV> <DIV class=artibody> </DIV> <DIV class=artibody> </DIV> <DIV class=artibody> </DIV></DIV>
查看全文
发表于:2008-04-15 ┆
阅读(130)
┆
评论(0)
(zh CN)OpenBSD(4.1)+Postfix+OpenLDAP+Cyrus-SASL+Co
<DIV> <H1 class=firstHeading>(zh CN)OpenBSD(4.1)+Postfix+OpenLDAP+Cyrus-SASL+Courier</H1> <DIV id=bodyContent> <H3 id=siteSub>From OpenBSD-Wiki</H3> <DIV id=contentSub></DIV> <DIV id=jump-to-nav>Jump to: <A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#column-one"><FONT color=#800080>navigation</FONT></A>, <A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#searchInput"><FONT color=#800080>search</FONT></A></DIV><!-- start content --> <TABLE style="BORDER-RIGHT: #ffcc00 1px solid; BORDER-TOP: #ffcc00 1px solid; BORDER-LEFT: #ffcc00 1px solid; BORDER-BOTTOM: #ffcc00 1px solid; BACKGROUND-COLOR: #ffcc00" width=225> <TBODY> <TR> <TD style="BORDER-RIGHT: #ffcc00 1px solid; BORDER-TOP: #ffcc00 1px solid; BORDER-LEFT: #ffcc00 1px solid; BORDER-BOTTOM: #ffcc00 1px solid; BACKGROUND-COLOR: #ffff66"><FONT size=-1>Written for: OpenBSD Version 4.1</FONT> </TD></TR></TBODY></TABLE> <TABLE style="BORDER-RIGHT: #a604b5 1px solid; BORDER-TOP: #a604b5 1px solid; BORDER-LEFT: #a604b5 1px solid; BORDER-BOTTOM: #a604b5 1px solid; BACKGROUND-COLOR: #a604b5" width=225> <TBODY> <TR> <TD style="BORDER-RIGHT: #a604b5 1px solid; BORDER-TOP: #a604b5 1px solid; BORDER-LEFT: #a604b5 1px solid; BORDER-BOTTOM: #a604b5 1px solid; BACKGROUND-COLOR: #f476ff"><FONT size=-1>Language: zh_CN</FONT> </TD> <TD style="BORDER-RIGHT: #a604b5 1px solid; BORDER-TOP: #a604b5 1px solid; BORDER-LEFT: #a604b5 1px solid; BORDER-BOTTOM: #a604b5 1px solid; BACKGROUND-COLOR: #f476ff"><FONT size=-1>语言:简体中文</FONT> </TD></TR></TBODY></TABLE> <P><A class=image title="image: Tip.png" href="http://openbsd-wiki.org/index.php?title=Image:Tip.png"><IMG height=32 alt="image: Tip.png" src="http://openbsd-wiki.org/images/4/45/Tip.png" width=32 border=0></A> 本文档已不再更新,请查看用于 OpenBSD 4.2 -release 的新版本文档: </P> <UL> <LI><A class="external text" title=http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.2%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.2%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier" rel=nofollow><FONT color=#0000ff>(zh_CN)OpenBSD(4.2)+Postfix+OpenLDAP+Cyrus-SASL+Courier</FONT></A> </LI></UL> <TABLE class=toc id=toc summary=Contents> <TBODY> <TR> <TD> <DIV id=toctitle> <H2>Contents</H2><SPAN class=toctoggle>[<A class=internal id=togglelink href="javascript:toggleToc()"><FONT color=#0000ff>hide</FONT></A>]</SPAN></DIV> <UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#First_of_all"><FONT color=#800080><SPAN class=tocnumber>1</SPAN> <SPAN class=toctext>First of all</SPAN></FONT></A> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Overview"><FONT color=#800080><SPAN class=tocnumber>2</SPAN> <SPAN class=toctext>Overview</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Author"><FONT color=#800080><SPAN class=tocnumber>2.1</SPAN> <SPAN class=toctext>Author</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#About_OpenBSD"><FONT color=#800080><SPAN class=tocnumber>2.2</SPAN> <SPAN class=toctext>About OpenBSD</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#OS_.26_Packages"><FONT color=#800080><SPAN class=tocnumber>2.3</SPAN> <SPAN class=toctext>OS & Packages</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Features"><FONT color=#800080><SPAN class=tocnumber>2.4</SPAN> <SPAN class=toctext>Features</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Architecture"><FONT color=#800080><SPAN class=tocnumber>2.5</SPAN> <SPAN class=toctext>Architecture</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Todo"><FONT color=#800080><SPAN class=tocnumber>2.6</SPAN> <SPAN class=toctext>Todo</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#System_administration"><FONT color=#800080><SPAN class=tocnumber>2.6.1</SPAN> <SPAN class=toctext>System administration</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Apache"><FONT color=#800080><SPAN class=tocnumber>2.6.2</SPAN> <SPAN class=toctext>Apache</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#OpenLDAP"><FONT color=#800080><SPAN class=tocnumber>2.6.3</SPAN> <SPAN class=toctext>OpenLDAP</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#PF"><FONT color=#800080><SPAN class=tocnumber>2.6.4</SPAN> <SPAN class=toctext>PF</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#HA"><FONT color=#800080><SPAN class=tocnumber>2.6.5</SPAN> <SPAN class=toctext>HA</SPAN></FONT></A> </LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Credits"><FONT color=#800080><SPAN class=tocnumber>2.7</SPAN> <SPAN class=toctext>Credits</SPAN></FONT></A> </LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Apache.2BPHP"><FONT color=#800080><SPAN class=tocnumber>3</SPAN> <SPAN class=toctext>Apache+PHP</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Apache_2"><FONT color=#800080><SPAN class=tocnumber>3.1</SPAN> <SPAN class=toctext>Apache</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.90.AF.E7.94.A8_Apache"><FONT color=#800080><SPAN class=tocnumber>3.1.1</SPAN> <SPAN class=toctext>启用 Apache</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Apache_.E7.9A.84.E5.90.AF.E5.8A.A8.E4.B8.8E.E5.81.9C.E6.AD.A2"><FONT color=#800080><SPAN class=tocnumber>3.1.2</SPAN> <SPAN class=toctext>Apache 的启动与停止</SPAN></FONT></A> </LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85_PHP.EF.BC.9Aphp5-core"><FONT color=#800080><SPAN class=tocnumber>3.2</SPAN> <SPAN class=toctext>安装 PHP:php5-core</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#PHP_Extensions"><FONT color=#800080><SPAN class=tocnumber>3.3</SPAN> <SPAN class=toctext>PHP Extensions</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#php5-ldap"><FONT color=#800080><SPAN class=tocnumber>3.3.1</SPAN> <SPAN class=toctext>php5-ldap</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#php5-imap"><FONT color=#800080><SPAN class=tocnumber>3.3.2</SPAN> <SPAN class=toctext>php5-imap</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#OpenLDAP_2"><FONT color=#800080><SPAN class=tocnumber>4</SPAN> <SPAN class=toctext>OpenLDAP</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85_OpenLDAP"><FONT color=#800080><SPAN class=tocnumber>4.1</SPAN> <SPAN class=toctext>安装 OpenLDAP</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E9.85.8D.E7.BD.AE_OpenLDAP"><FONT color=#800080><SPAN class=tocnumber>4.2</SPAN> <SPAN class=toctext>配置 OpenLDAP</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#authldap.schema"><FONT color=#800080><SPAN class=tocnumber>4.2.1</SPAN> <SPAN class=toctext>authldap.schema</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fopenldap.2Fslapd.conf"><FONT color=#800080><SPAN class=tocnumber>4.2.2</SPAN> <SPAN class=toctext>/etc/openldap/slapd.conf</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.90.AF.E5.8A.A8_OpenLDAP"><FONT color=#800080><SPAN class=tocnumber>4.2.3</SPAN> <SPAN class=toctext>启动 OpenLDAP</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.conf.local"><FONT color=#800080><SPAN class=tocnumber>4.2.4</SPAN> <SPAN class=toctext>/etc/rc.conf.local</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.local"><FONT color=#800080><SPAN class=tocnumber>4.2.5</SPAN> <SPAN class=toctext>/etc/rc.local</SPAN></FONT></A> <UL> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#reboot"><FONT color=#800080><SPAN class=tocnumber>4.2.5.1</SPAN> <SPAN class=toctext>reboot</SPAN></FONT></A> </LI></UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.88.9D.E5.A7.8B.E5.8C.96_LDAP"><FONT color=#800080><SPAN class=tocnumber>4.2.6</SPAN> <SPAN class=toctext>初始化 LDAP</SPAN></FONT></A> <UL> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#LDAP_.E6.A0.91.E7.BB.93.E6.9E.84"><FONT color=#800080><SPAN class=tocnumber>4.2.6.1</SPAN> <SPAN class=toctext>LDAP 树结构</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#root_entry:_dc.3Dbibby.2Cdc.3Dorg"><FONT color=#800080><SPAN class=tocnumber>4.2.6.2</SPAN> <SPAN class=toctext>root entry: dc=bibby,dc=org</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#cn.3DManager.2Cdc.3Dbibby.2Cdc.3Dorg"><FONT color=#800080><SPAN class=tocnumber>4.2.6.3</SPAN> <SPAN class=toctext>cn=Manager,dc=bibby,dc=org</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#o.3Ddomains.2Cdc.3Dbibby.2Cdc.3Dorg"><FONT color=#800080><SPAN class=tocnumber>4.2.6.4</SPAN> <SPAN class=toctext>o=domains,dc=bibby,dc=org</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#o.3DdomainX.com.2Co.3Ddomains.2Cdc.3Dbibby.2Cdc.3Dorg"><FONT color=#800080><SPAN class=tocnumber>4.2.6.5</SPAN> <SPAN class=toctext>o=domainX.com,o=domains,dc=bibby,dc=org</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#cn.3Dbibby.2Co.3Ddomain1.com.2Co.3Ddomains.2Cdc.3Dbibby.2Cdc.3Dorg"><FONT color=#800080><SPAN class=tocnumber>4.2.6.6</SPAN> <SPAN class=toctext>cn=bibby,o=domain1.com,o=domains,dc=bibby,dc=org</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#phpLDAPadmin"><FONT color=#800080><SPAN class=tocnumber>4.3</SPAN> <SPAN class=toctext>phpLDAPadmin</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85_phpLDAPadmin"><FONT color=#800080><SPAN class=tocnumber>4.3.1</SPAN> <SPAN class=toctext>安装 phpLDAPadmin</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E7.99.BB.E5.BD.95_phpLDAPadmin"><FONT color=#800080><SPAN class=tocnumber>4.3.2</SPAN> <SPAN class=toctext>登录 phpLDAPadmin</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Postfix"><FONT color=#800080><SPAN class=tocnumber>5</SPAN> <SPAN class=toctext>Postfix</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Cyrus-SASL.EF.BC.9Asmtpd_.E8.AE.A4.E8.AF.81"><FONT color=#800080><SPAN class=tocnumber>5.1</SPAN> <SPAN class=toctext>Cyrus-SASL:smtpd 认证</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fusr.2Flocal.2Flib.2Fsasl2.2Fsmtpd.conf"><FONT color=#800080><SPAN class=tocnumber>5.1.1</SPAN> <SPAN class=toctext>/usr/local/lib/sasl2/smtpd.conf</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fsaslauthd.conf"><FONT color=#800080><SPAN class=tocnumber>5.1.2</SPAN> <SPAN class=toctext>/etc/saslauthd.conf</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.conf.local_2"><FONT color=#800080><SPAN class=tocnumber>5.1.3</SPAN> <SPAN class=toctext>/etc/rc.conf.local</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.local_2"><FONT color=#800080><SPAN class=tocnumber>5.1.4</SPAN> <SPAN class=toctext>/etc/rc.local</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E6.B5.8B.E8.AF.95_SASL_.E8.AE.A4.E8.AF.81"><FONT color=#800080><SPAN class=tocnumber>5.1.5</SPAN> <SPAN class=toctext>测试 SASL 认证</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fvar.2Flog.2Fauthlog"><FONT color=#800080><SPAN class=tocnumber>5.1.6</SPAN> <SPAN class=toctext>/var/log/authlog</SPAN></FONT></A> </LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85_Postfix"><FONT color=#800080><SPAN class=tocnumber>5.2</SPAN> <SPAN class=toctext>安装 Postfix</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85.E5.90.8E.E7.9A.84.E5.88.9D.E6.AD.A5.E9.85.8D.E7.BD.AE"><FONT color=#800080><SPAN class=tocnumber>5.2.1</SPAN> <SPAN class=toctext>安装后的初步配置</SPAN></FONT></A> </LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E9.85.8D.E7.BD.AE_Postfix"><FONT color=#800080><SPAN class=tocnumber>5.3</SPAN> <SPAN class=toctext>配置 Postfix</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fpostfix.2Fmain.cf"><FONT color=#800080><SPAN class=tocnumber>5.3.1</SPAN> <SPAN class=toctext>/etc/postfix/main.cf</SPAN></FONT></A> <UL> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Generic"><FONT color=#800080><SPAN class=tocnumber>5.3.1.1</SPAN> <SPAN class=toctext>Generic</SPAN></FONT></A> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E8.99.9A.E6.8B.9F.E5.9F.9F"><FONT color=#800080><SPAN class=tocnumber>5.3.1.2</SPAN> <SPAN class=toctext>虚拟域</SPAN></FONT></A> <UL> <LI class=toclevel-5><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fpostfix.2Ftransport"><FONT color=#800080><SPAN class=tocnumber>5.3.1.2.1</SPAN> <SPAN class=toctext>/etc/postfix/transport</SPAN></FONT></A> <LI class=toclevel-5><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#virtual_mailbox.2Fuid.2Fgid"><FONT color=#800080><SPAN class=tocnumber>5.3.1.2.2</SPAN> <SPAN class=toctext>virtual mailbox/uid/gid</SPAN></FONT></A> </LI></UL> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#SASL_.E7.94.A8.E6.88.B7.E8.AE.A4.E8.AF.81"><FONT color=#800080><SPAN class=tocnumber>5.3.1.3</SPAN> <SPAN class=toctext>SASL 用户认证</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E6.B5.8B.E8.AF.95_Postfix_.E7.9A.84_SMTP_.E5.8A.9F.E8.83.BD"><FONT color=#800080><SPAN class=tocnumber>5.4</SPAN> <SPAN class=toctext>测试 Postfix 的 SMTP 功能</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Debug"><FONT color=#800080><SPAN class=tocnumber>5.5</SPAN> <SPAN class=toctext>Debug</SPAN></FONT></A> </LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Courier"><FONT color=#800080><SPAN class=tocnumber>6</SPAN> <SPAN class=toctext>Courier</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E5.AE.89.E8.A3.85_courier-.2A"><FONT color=#800080><SPAN class=tocnumber>6.1</SPAN> <SPAN class=toctext>安装 courier-*</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#courier-authlib-ldap"><FONT color=#800080><SPAN class=tocnumber>6.1.1</SPAN> <SPAN class=toctext>courier-authlib-ldap</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#courier-imap"><FONT color=#800080><SPAN class=tocnumber>6.1.2</SPAN> <SPAN class=toctext>courier-imap</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#courier-pop3"><FONT color=#800080><SPAN class=tocnumber>6.1.3</SPAN> <SPAN class=toctext>courier-pop3</SPAN></FONT></A> </LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E9.85.8D.E7.BD.AE_Courier-IMAP.2FPOP3"><FONT color=#800080><SPAN class=tocnumber>6.2</SPAN> <SPAN class=toctext>配置 Courier-IMAP/POP3</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fcourier.2Fauthdaemonrc"><FONT color=#800080><SPAN class=tocnumber>6.2.1</SPAN> <SPAN class=toctext>/etc/courier/authdaemonrc</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Fcourier.2Fauthldaprc"><FONT color=#800080><SPAN class=tocnumber>6.2.2</SPAN> <SPAN class=toctext>/etc/courier/authldaprc</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.conf.local_3"><FONT color=#800080><SPAN class=tocnumber>6.2.3</SPAN> <SPAN class=toctext>/etc/rc.conf.local</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.2Fetc.2Frc.local_3"><FONT color=#800080><SPAN class=tocnumber>6.2.4</SPAN> <SPAN class=toctext>/etc/rc.local</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#.E6.B5.8B.E8.AF.95_POP3.2FIMAP"><FONT color=#800080><SPAN class=tocnumber>6.2.5</SPAN> <SPAN class=toctext>测试 POP3/IMAP</SPAN></FONT></A> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Debug_2"><FONT color=#800080><SPAN class=tocnumber>6.2.6</SPAN> <SPAN class=toctext>Debug</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#WebMail"><FONT color=#800080><SPAN class=tocnumber>7</SPAN> <SPAN class=toctext>WebMail</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#SquerrilMail"><FONT color=#800080><SPAN class=tocnumber>7.1</SPAN> <SPAN class=toctext>SquerrilMail</SPAN></FONT></A> <UL> <LI class=toclevel-3><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Plugins"><FONT color=#800080><SPAN class=tocnumber>7.1.1</SPAN> <SPAN class=toctext>Plugins</SPAN></FONT></A> <UL> <LI class=toclevel-4><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#change_ldappass"><FONT color=#800080><SPAN class=tocnumber>7.1.1.1</SPAN> <SPAN class=toctext>change_ldappass</SPAN></FONT></A> </LI></UL></LI></UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Extmail"><FONT color=#800080><SPAN class=tocnumber>7.2</SPAN> <SPAN class=toctext>Extmail</SPAN></FONT></A> </LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Resource_Links"><FONT color=#800080><SPAN class=tocnumber>8</SPAN> <SPAN class=toctext>Resource Links</SPAN></FONT></A> <UL> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#LDAP"><FONT color=#800080><SPAN class=tocnumber>8.1</SPAN> <SPAN class=toctext>LDAP</SPAN></FONT></A> <LI class=toclevel-2><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Postfix_2"><FONT color=#800080><SPAN class=tocnumber>8.2</SPAN> <SPAN class=toctext>Postfix</SPAN></FONT></A> </LI></UL> <LI class=toclevel-1><A href="http://openbsd-wiki.org/index.php?title=(zh_CN)OpenBSD(4.1)%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier#Revision"><FONT color=#800080><SPAN class=tocnumber>9</SPAN> <SPAN class=toctext>Revision</SPAN></FONT></A> </LI></UL> <UL></UL></TD></TR></TBODY></TABLE> <SCRIPT type=text/javascript> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </SCRIPT> <A name=First_of_all></A> <H1><SPAN class=editsection>[<A title="Edit section: First of all" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=1"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>First of all</SPAN></H1> <P>如果您发现该文档有任何错误、笔误,请直接联系我(<A class="external text" title=mailto:michaelbibby@gmail.com href="mailto:michaelbibby@gmail.com" rel=nofollow><FONT color=#0000ff>Mail</FONT></A>),或者在 <A class="external text" title=http://openbsd-wiki.org/index.php?title=Talk:%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier href="http://openbsd-wiki.org/index.php?title=Talk:%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier" rel=nofollow><FONT color=#0000ff>Discussion</FONT></A> 页面留言,而不要直接编辑本页。 </P><A name=Overview></A> <H1><SPAN class=editsection>[<A title="Edit section: Overview" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=2"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Overview</SPAN></H1><A name=Author></A> <H2><SPAN class=editsection>[<A title="Edit section: Author" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=3"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Author</SPAN></H2> <UL> <LI>Contact me: <A class="external text" title=mailto:michaelbibby@gmail.com href="mailto:michaelbibby@gmail.com" rel=nofollow><FONT color=#0000ff>Michael Bibby(张煌彬)</FONT></A> <LI>From: <A class="external free" title=http://www.OpenBSDonly.org/ href="http://www.openbsdonly.org/" rel=nofollow><FONT color=#0000ff>http://www.OpenBSDonly.org/</FONT></A> ,不做普及者!做开路人! <LI>Copyright: 本文档欢迎自由转载,但是请务必保留作者及出处等信息。 </LI></UL><A name=About_OpenBSD></A> <H2><SPAN class=editsection>[<A title="Edit section: About OpenBSD" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=4"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>About OpenBSD</SPAN></H2> <UL> <LI>OpenBSD: "Only two remote holes in the default install, in more than 10 years!" <LI>购买 OpenBSD 光盘是支持 OpenBSD 持续发展的重要途径。 <LI>用于实践、实验本文档的最佳方法是购买一套 OpenBSD 光盘,欢迎您通过 <A class="external free" title=http://www.openbsd.org/orders.html#china href="http://www.openbsd.org/orders.html#china" rel=nofollow><FONT color=#0000ff>http://www.openbsd.org/orders.html#china</FONT></A> 页面的联系方式与我联系。价格: <UL> <LI>CD(4.2 -release,2007.11.01 发布):¥180 <LI>T-Shirt: ¥140 </LI></UL></LI></UL><A name=OS_.26_Packages></A> <H2><SPAN class=editsection>[<A title="Edit section: OS & Packages" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=5"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>OS & Packages</SPAN></H2> <P>本邮件服务器基于 OpenBSD 4.1 -stable 平台搭建,使用到了以下软件: </P><PRE>courier-authlib-0.58p2 courier-authlib-ldap-0.58p1 courier-imap-4.1.1p0 courier-pop3-4.1.1 cyrus-sasl-2.1.21p3-ldap openldap-client-2.3.33 openldap-server-2.3.33p1 php5-core-5.1.6p0 php5-imap-5.1.6p1 php5-ldap-5.1.6p1 phpldapadmin-1.0.1p0 postfix-2.3.7-sasl2-ldap </PRE> <P>以下是作为依赖包被安装的: </P><PRE>c-client-4.64p2 expat-2.0.0 gdbm-1.8.3p0 gettext-0.14.6 libiconv-1.9.2p3 libltdl-1.5.22p1 libxml-2.6.26p0 pcre-6.4p1 cyrus-sasl-2.1.21p3 </PRE> <P>以上软件包都可以在 OpenBSD 官方站点下载到: <A class="external free" title=ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/ href="ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/" rel=nofollow><FONT color=#0000ff>ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/</FONT></A> </P> <P><A class=image title="image: Note.png" href="http://openbsd-wiki.org/index.php?title=Image:Note.png"><IMG height=36 alt="image: Note.png" src="http://openbsd-wiki.org/images/c/cc/Note.png" width=36 border=0></A> 只有 postfix 软件包是使用 ports 编译的,所以你需要下载源码包:postfix-2.3.7.tar.gz。其余软件包都使用 binary packages 直接安装。 </P> <P><A class=image title="image: Tip.png" href="http://openbsd-wiki.org/index.php?title=Image:Tip.png"><IMG height=32 alt="image: Tip.png" src="http://openbsd-wiki.org/images/4/45/Tip.png" width=32 border=0></A> 您可以从离自己较近的镜像站点下载。镜像站点的列表可以在 <A class="external free" title=http://www.openbsd.org/ftp.html href="http://www.openbsd.org/ftp.html" rel=nofollow><FONT color=#0000ff>http://www.openbsd.org/ftp.html</FONT></A> 页面找到。 </P><A name=Features></A> <H2><SPAN class=editsection>[<A title="Edit section: Features" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=6"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Features</SPAN></H2> <P>目前本文档中的内容所实现的功能有: </P> <UL> <LI>Apache(+PHP):Done. <LI>OpenLDAP(+phpLDAPadmin)安装与配置:Done. <LI>虚拟域:Done. <LI>虚拟用户(LDAP)通过 SASL 认证,使用 Postfix(SMTP) 发送邮件到虚拟域:Done. <LI>POP3/IMAP:Done. </LI></UL><A name=Architecture></A> <H2><SPAN class=editsection>[<A title="Edit section: Architecture" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=7"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Architecture</SPAN></H2> <P>架构图: </P> <P><A class=image title="image: Arch.png" href="http://openbsd-wiki.org/index.php?title=Image:Arch.png"><IMG height=400 alt="image: Arch.png" src="http://openbsd-wiki.org/images/3/32/Arch.png" width=531 border=0></A> </P> <P>注:本架构图来自 <A class="external text" title=http://wanderingbarque.com/howtos/mailserver/mailserver.html href="http://wanderingbarque.com/howtos/mailserver/mailserver.html" rel=nofollow><FONT color=#0000ff>Secure Virtual Mailserver HOWTO: Postfix + OpenLDAP + Dovecot + Jamm + SASL + SquirrelMail</FONT></A>。针对本文档,只需要将 Dovecot 替换成 Courier-IMAP/Courier-POP3 即可。 </P><A name=Todo></A> <H2><SPAN class=editsection>[<A title="Edit section: Todo" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=8"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Todo</SPAN></H2> <UL> <LI>更详尽的注释 </LI></UL><A name=System_administration></A> <H3><SPAN class=editsection>[<A title="Edit section: System administration" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=9"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>System administration</SPAN></H3> <UL> <LI>为什么建议不要修改 /etc/rc.conf,而是修改 /etc/rc.conf.local(rc.conf(8),DESCRIPTION 的第二段文字) </LI></UL><A name=Apache></A> <H3><SPAN class=editsection>[<A title="Edit section: Apache" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=10"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Apache</SPAN></H3> <UL> <LI>增加虚拟主机,为 WebMail 做准备 <LI>修改 /etc/hosts,为 WebMail 做准备 <LI>WebMail(<A class="external text" title=mailto:michaelbibby@gmail.com href="mailto:michaelbibby@gmail.com" rel=nofollow><FONT color=#0000ff>Tell me which one you prefer</FONT></A>) </LI></UL><A name=OpenLDAP></A> <H3><SPAN class=editsection>[<A title="Edit section: OpenLDAP" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=11"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>OpenLDAP</SPAN></H3> <UL> <LI>OpenLDAP 安全(/etc/openldap/slapd.conf) <UL> <LI>attr=userPassword 限制 </LI></UL></LI></UL><A name=PF></A> <H3><SPAN class=editsection>[<A title="Edit section: PF" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=12"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>PF</SPAN></H3> <UL> <LI>Package Filter Rules </LI></UL><A name=HA></A> <H3><SPAN class=editsection>[<A title="Edit section: HA" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=13"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>HA</SPAN></H3> <UL> <LI>High Availability: CARP </LI></UL><A name=Credits></A> <H2><SPAN class=editsection>[<A title="Edit section: Credits" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=14"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Credits</SPAN></H2> <P>目前为止,这篇文档实现的功能还只是最基本的 SMTP/POP3/IMAP 功能,虽然还根本无法用于生产环境,但是已经初具雏型。 </P> <P><BR>在测试和编写文档的过程中得到了一些朋友的帮助和支持,在此要特别感谢: </P> <UL> <LI><A class="external text" title=http://www.openbsd.org href="http://www.openbsd.org/" rel=nofollow><FONT color=#0000ff>OpenBSD</FONT></A>:我个人最喜欢的 OS。人不能没有个性,而如果你使用的 OS 也极富个性,则在除了使用之外更多了一层喜爱。 <LI><A class="external text" title=http://www.google.com href="http://www.google.com/" rel=nofollow><FONT color=#0000ff>Google</FONT></A>:没有你,我无法完整这篇文档。在学习 Linux/*BSD 的路上,你帮的忙可算是最大。 <LI><A class="external text" title=http://openbsd-wiki.org href="http://openbsd-wiki.org/" rel=nofollow><FONT color=#0000ff>OpenBSD-wiki.org</FONT></A>:本文档是基于该网站上的 <A class="external text" title=http://openbsd-wiki.org/index.php?title=HowTo_Virtual_Domain_Guide_for_v4.0 href="http://openbsd-wiki.org/index.php?title=HowTo_Virtual_Domain_Guide_for_v4.0" rel=nofollow><FONT color=#0000ff>HowTo Virtual Domain Guide for v4.0</FONT></A> 完成的。 </LI></UL> <P><BR>另外还要特别感谢 <A class="external free" title=http://www.OpenBSDonly.org href="http://www.openbsdonly.org/" rel=nofollow><FONT color=#0000ff>http://www.OpenBSDonly.org</FONT></A> 上的: </P> <UL> <LI>congli:一直以来,在学习 FreeBSD/OpenBSD 的过程中都得到了 congli 大哥的许多帮助,真的非常感谢。 <LI>atyu30:你的需求激励着我前进,是压力,也是动力。 </LI></UL> <P><BR>很高兴在学习 OpenBSD 的同时,有这么多的朋友一路同行。 </P><A name=Apache.2BPHP></A> <H1><SPAN class=editsection>[<A title="Edit section: Apache+PHP" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=15"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Apache+PHP</SPAN></H1> <P>在本文中,将需要用到 phpLDAPadmin 来管理 OpenLDAP,而 phpLDAPadmin 是一个使用 PHP 编写的程序,所以需要搭建 Apache+PHP 来支持 phpLDAPadmin。 </P><A name=Apache_2></A> <H2><SPAN class=editsection>[<A title="Edit section: Apache" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=16"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>Apache</SPAN></H2><A name=.E5.90.AF.E7.94.A8_Apache></A> <H3><SPAN class=editsection>[<A title="Edit section: 启用 Apache" href="http://openbsd-wiki.org/index.php?title=%28zh_CN%29OpenBSD%284.1%29%2BPostfix%2BOpenLDAP%2BCyrus-SASL%2BCourier&action=edit&section=17"><FONT color=#0000ff>edit</FONT></A>]</SPAN> <SPAN class=mw-headline>启用 Apache</SPAN></H3> <P>OpenBSD 的基本系统中已经带了 Apache-1.3.x(在 4.1 -release 中是 1.3.29),所以只需要将它启用即可。 </P> <P>编辑 /etc/rc.conf.local 文件,加入以下内容: </P><PRE>httpd_flags="" </PRE> <P>Apahce