<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>稀饭的国度 &#187; postfix</title>
	<atom:link href="http://blog.thematice.com/html/ycategory/postfix/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.thematice.com</link>
	<description>发现自己的脑袋不好使了，用blog来记录真的很好用。</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:33:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>构建postfix邮件服务器（五）extmail和extman的安装，实现web使用和管理邮件系统</title>
		<link>http://blog.thematice.com/html/y2010/1067_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%ba%94%ef%bc%89extmail%e5%92%8cextman%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0web%e4%bd%bf%e7%94%a8.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e6%259e%2584%25e5%25bb%25bapostfix%25e9%2582%25ae%25e4%25bb%25b6%25e6%259c%258d%25e5%258a%25a1%25e5%2599%25a8%25ef%25bc%2588%25e4%25ba%2594%25ef%25bc%2589extmail%25e5%2592%258cextman%25e7%259a%2584%25e5%25ae%2589%25e8%25a3%2585%25ef%25bc%258c%25e5%25ae%259e%25e7%258e%25b0web%25e4%25bd%25bf%25e7%2594%25a8</link>
		<comments>http://blog.thematice.com/html/y2010/1067_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%ba%94%ef%bc%89extmail%e5%92%8cextman%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0web%e4%bd%bf%e7%94%a8.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 13:32:55 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[extmail]]></category>
		<category><![CDATA[extman]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=1067</guid>
		<description><![CDATA[一、准备 1.在www.extmail.org 中下载extmail-1.2.tar.gz 和extman1.1 Extmail 用于从浏览器中登入、使用邮件系统 Extman 用于从浏览器中管邮件系统 2.由于安装extmail要用到以下三个包（到http://search.cpan.org 中搜索） 1）Unix-Syslog http://search.cpan.org/~mharnisch/Unix-Syslog-1.1/Syslog.pm 2）DBI http://search.cpan.org/~timb/DBI-1.609/ 3）DBD-mysql http://search.cpan.org/~capttofu/DBD-mysql-4.013/lib/DBD/mysql.pm 3.安装Extman web管理要用到以下四个软件包 1）GD http://search.cpan.org/~lds/GD-2.44/ 解决验证码 2）File-Tail http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/ 支持图形日志 3）rrdtool-1.2.23-3..el5.i386.rpm 支持图形日志 4）rrdtool-perl-1.2.23-3.el5.i386.rpm 支持图形日志 二、按先后顺序安装以下软件 1.安装Unix-Syslog 1）解压 tar zxvf Unix-Syslog-1.1.tar.gz 2）进入目录 cd Unix-syslog-1.1 3）预配置 perl Makefile.PL 4）编译，安装 make ; make install 2.安装DBI 1）解压 tar zxvf DBI-1.609.tar.gz 2）进入目录cd DBI-1.609 3）预配置perl Makefile.PL 4）编译，安装 [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2010/1067_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%ba%94%ef%bc%89extmail%e5%92%8cextman%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0web%e4%bd%bf%e7%94%a8.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>构建postfix邮件服务器（四）配置postfix支持虚拟用户</title>
		<link>http://blog.thematice.com/html/y2010/1065_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%9b%9b%ef%bc%89%e9%85%8d%e7%bd%aepostfix%e6%94%af%e6%8c%81%e8%99%9a%e6%8b%9f%e7%94%a8%e6%88%b7.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e6%259e%2584%25e5%25bb%25bapostfix%25e9%2582%25ae%25e4%25bb%25b6%25e6%259c%258d%25e5%258a%25a1%25e5%2599%25a8%25ef%25bc%2588%25e5%259b%259b%25ef%25bc%2589%25e9%2585%258d%25e7%25bd%25aepostfix%25e6%2594%25af%25e6%258c%2581%25e8%2599%259a%25e6%258b%259f%25e7%2594%25a8%25e6%2588%25b7</link>
		<comments>http://blog.thematice.com/html/y2010/1065_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%9b%9b%ef%bc%89%e9%85%8d%e7%bd%aepostfix%e6%94%af%e6%8c%81%e8%99%9a%e6%8b%9f%e7%94%a8%e6%88%b7.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 13:31:56 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=1065</guid>
		<description><![CDATA[一、准备 1.从www.extmail.org 中下载extman-1.1.tar.gz 2.从http://sourceforge.net/projects/courier/files/ 下载courier-authlib 使用Courier-authlib软件的目的是因为saslauthd程序不支持数据库认证，而Courier-authlib支持多种数据库认证 3.检查postfix是否支持虚拟用户 postconf – m &#124; grep msyql 如果出现mysql表示支持 二、建立虚拟用户数据库 1启动mysql service mysqld restart (要想使用此方法启动，必须将mysqld添加为系统服务，见构建postfix邮件服务器（一）) 2.解压 extman tar zxvf extman-1.1.tar.gz 3.导入extman软件包中的数据库脚本 cd extman-1.1/docs mysql -u root -p123456 &#60; extmail.sql mysql -u root -p123456 &#60; init.sql -p后面接的是mysql的密码 （要想直接使用mysql就要输入export PATH=$PATH:/usr/local/mysql/bin） extmail.sql 脚本进行的操作：主要针对邮件域localhost进行初始化 创建 extmail 库，及该库中的一些表 创建用户 extmail@localhost，密码为 extmail 对数据库extmail中的表拥有“SELECT”、“UPDATE”的权限 创建用户 webman@localhost，密码为 extman [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2010/1065_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%9b%9b%ef%bc%89%e9%85%8d%e7%bd%aepostfix%e6%94%af%e6%8c%81%e8%99%9a%e6%8b%9f%e7%94%a8%e6%88%b7.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>构建postfix邮件服务器(二)postfix和dovecot的安装，实现简单的收发邮件</title>
		<link>http://blog.thematice.com/html/y2010/1063_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%ba%8cpostfix%e5%92%8cdovecot%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0%e7%ae%80%e5%8d%95%e7%9a%84%e6%94%b6.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e6%259e%2584%25e5%25bb%25bapostfix%25e9%2582%25ae%25e4%25bb%25b6%25e6%259c%258d%25e5%258a%25a1%25e5%2599%25a8%25e4%25ba%258cpostfix%25e5%2592%258cdovecot%25e7%259a%2584%25e5%25ae%2589%25e8%25a3%2585%25ef%25bc%258c%25e5%25ae%259e%25e7%258e%25b0%25e7%25ae%2580%25e5%258d%2595%25e7%259a%2584%25e6%2594%25b6</link>
		<comments>http://blog.thematice.com/html/y2010/1063_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%ba%8cpostfix%e5%92%8cdovecot%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0%e7%ae%80%e5%8d%95%e7%9a%84%e6%94%b6.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 13:30:57 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=1063</guid>
		<description><![CDATA[一、准备 1.在 http://mirror.postfixchina.org/ 下载好postfix-2.6.5.tar.gz 2.在http://www.dovecot.org 中下载好dovecot-1.1.16.tar.gz Dovecot是一个安全性较好的POP3/IMAP服务器软件，响应速度快而且扩展性好 注意：所有源码包都放在 /postfix-an 目录下，解压也是在此目录下 3.停止sendmail ①Service sendmail stop ②chkconfig &#8211;level 35 sendmail off 4.修改主机名 ①hostname mail.hongyi.com 把系统的主机名修改为你的域名 ②vi /etc/sysconfig/network 把HOSTNAME= 修改为 mail.hongyi.com ③vi /etc/hosts 添加你主机的IP和对应的主机名 192.168.18.138 mail.hongyi.com 二、安装postfix （一）、创建运行postfix服务的用户postfix ，组帐号 postfix、postdrop ①groupadd -g 1200 postdrop -g 1200表示gid为1200 这个数字随便只要不重复就行 ②groupadd -g 1000 postfix -g 1000表示gid为1000 这个数字随便 只要不重复就行 ③useradd -M -u [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2010/1063_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%ba%8cpostfix%e5%92%8cdovecot%e7%9a%84%e5%ae%89%e8%a3%85%ef%bc%8c%e5%ae%9e%e7%8e%b0%e7%ae%80%e5%8d%95%e7%9a%84%e6%94%b6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>构建postfix邮件服务器(一)lamp平台的安装</title>
		<link>http://blog.thematice.com/html/y2010/1060_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%80lamp%e5%b9%b3%e5%8f%b0%e7%9a%84%e5%ae%89%e8%a3%85.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e6%259e%2584%25e5%25bb%25bapostfix%25e9%2582%25ae%25e4%25bb%25b6%25e6%259c%258d%25e5%258a%25a1%25e5%2599%25a8%25e4%25b8%2580lamp%25e5%25b9%25b3%25e5%258f%25b0%25e7%259a%2584%25e5%25ae%2589%25e8%25a3%2585</link>
		<comments>http://blog.thematice.com/html/y2010/1060_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%80lamp%e5%b9%b3%e5%8f%b0%e7%9a%84%e5%ae%89%e8%a3%85.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 13:28:47 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[lamp]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=1060</guid>
		<description><![CDATA[在安装postfix前我们要用源码编译的方式搭建出LAMP平台。 L：表示linux系统 A：apache，web服务器，后面我们要用webmail来收发邮件 M：mysql数据库，在postfix的虚拟用户时，要用到mysql来存储虚拟用户 P：php和perl，webmail来收发邮件，和extmail邮件管理 一、linux 1.linux：RHEL5.3,安装了一些基本的软件包 二、apache的安装 1.去官网下载httpd- 2.2.14.tar.gz （http://httpd.apache.org/download.cgi） 2.解压 tar zxvf httpd-2.2.14.tar.gz 3.进入解压目录 4.配置选项（//及其后面是注释） ./configure &#8211;prefix=/usr/local/apache2   //指定apache的安装位置 &#8211;enable-so      // 使用动态加载模块功能 &#8211;enable-rewrite   //有rewrite网络地址重写功能 &#8211;enable-ssl     //有ssl功能 &#8211;with-ssl=/usr/lib   //指定 //ssl位置 &#8211;enable-auth-digest   //Apache可以使用摘要认证（Digest） &#8211;enable-cgi   //cgi支持 &#8211;enable-suexec   //suEXEC支持 &#8211;with-suexec-caller=daemon   //Apache运行时所用的UID。这是唯一允许执行程序的用户 &#8211;with-suexec-docroot=/usr/local/apache2/htdocs  //suEXEC处理器的文档根目录 4.编译make 5.安装make install 三、mysql 1.http://dev.mysql.com/downloads/mysql/5.1.html 在这个页面下载源码包（Source ）mysql5.1.43 记住是源码包，不是安装好了的包 2. 创建允许mysql数据库的用户 useradd -M -s /sbin/nologin mysql [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2010/1060_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%80lamp%e5%b9%b3%e5%8f%b0%e7%9a%84%e5%ae%89%e8%a3%85.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>构建postfix邮件服务器（三）启用SMTP用户认证</title>
		<link>http://blog.thematice.com/html/y2010/1056_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%b8%89%ef%bc%89%e5%90%af%e7%94%a8smtp%e7%94%a8%e6%88%b7%e8%ae%a4%e8%af%81.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e6%259e%2584%25e5%25bb%25bapostfix%25e9%2582%25ae%25e4%25bb%25b6%25e6%259c%258d%25e5%258a%25a1%25e5%2599%25a8%25ef%25bc%2588%25e4%25b8%2589%25ef%25bc%2589%25e5%2590%25af%25e7%2594%25a8smtp%25e7%2594%25a8%25e6%2588%25b7%25e8%25ae%25a4%25e8%25af%2581</link>
		<comments>http://blog.thematice.com/html/y2010/1056_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%b8%89%ef%bc%89%e5%90%af%e7%94%a8smtp%e7%94%a8%e6%88%b7%e8%ae%a4%e8%af%81.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 13:25:46 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://blog.thematice.com/?p=1056</guid>
		<description><![CDATA[一、使用smtp用户认证 1.发信时无需认证的邮件服务器，很容易造成大量垃圾邮件的产生，也给服务器带来了不必要的负担 2.SMTP发信认证的常见形式如下：当用户通过SMTP协议向外部邮件域发送邮件时，服务器会要求用户提供用户帐号和口令进行身份认证，只有成功通过身份认证的用户才被允许向外部发送邮件，否则将拒绝发信请求。 3.Cyrus SASL（Cyrus Simple Authentication and Security Layer，Cyrus简单认证安全层）在RHEL5系统中已默认安装 4.saslauthd 是Cyrus SASL软件中的一个程序 二、准备 1.查看系统是否按照cyrus-sasl Rpm -qa &#124;grep cyrus cyrus-sasl-2.1.22-4 cyrus-sasl-lib-2.1.22-4 cyrus-sasl-plain-2.1.22-4 cyrus-sasl-devel-2.1.22-4 三、设置 （一）设置Cyrus sasl函数库 cp Sendmail.conf smtpd.conf vi /usr/lib/sasl2/smtpd.conf 输入 pwcheck_method: saslauthd （二）启动saslautthd服务 service saslauthd start chkconfig &#8211; –level 35 saslauthd on (三)修改main.cf配置文件，添加SMTP认证相关的配置参数 Vi /etc/postfix/main.cf smtpd_sasl_auth_enable = yes \\启用SMTP认证 smtpd_sasl_security_options = noanonymous \\禁止匿名登录 [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2010/1056_%e6%9e%84%e5%bb%bapostfix%e9%82%ae%e4%bb%b6%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e4%b8%89%ef%bc%89%e5%90%af%e7%94%a8smtp%e7%94%a8%e6%88%b7%e8%ae%a4%e8%af%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

