日记 [2008年04月05日]清明随笔
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://coolerfeng.blog.51cto.com/133059/76102 |
今天用自动脚本按照了postfix+extmail,大大的节省了时间
也发现了自动脚本的一些不足的地方 应该把log输出到一个文件,这样也减少屏幕上的翻滚。
安装脚本需要做一个检测 检测selinux是否关闭 检测httpd,mysql等是否在运行
删除sendmail
RPM安装的时候尽量用Uvh,这样可以更新已经安装的版本
比较顺利,就是卡住smtp发信上,最后替换了smtpd.conf居然就好了 日志错误提示:
Apr 4 17:30:56 vedelure postfix/smtpd[5933]: warning: SASL authentication problem: unknown password verifier
Apr 4 17:30:56 vedelure postfix/smtpd[5933]: warning: unknown[221.217.208.227]: SASL LOGIN authentication failed: no mechanism available vsftp的虚拟用户认证则是诡异。居然开始死活都不能登录,后来参考了example的办法,居然就可以了。唯一的区别就是/etc/pam.d/ftp这个文件啊。
不管怎么样,今天又学会了不少东西
总算搞明白vsftpd为啥不行了,原来我安装了2个vsftpd,一个rpm的,一个源码的。怪不得不能用。
今天配置phpmyadmin又不顺利。首先是提示无法载入mysql扩展
修改/etc/php.ini
;extension=mysql.so 我将前面的分号去掉成为 extension=mysql.so 然后重启apache,无效。
后来yum install php-mysql
然后重启apache,这次可以了
需要生成一个config.inc.php
里面这几行需要注意。
$cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['blowfish_secret'] = 'extmail'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; mailwatch报错
You may find you get an error like:
Unable to select a regular expression for your primary virus scanner (auto) - please see the examples in functions.php to create one.
This happens when you are using newer versions of MailScanner and have the auto setting turned on in your MailScanner.conf file. Edit the configuration and set the string for your virus scanner instead of using the auto setting like:
##Virus Scanners = auto
Virus Scanners = clamav mailwatch 不显示queue的办法
打补丁
http://www.gbnetwork.co.uk/mailscanner/ http://www.gbnetwork.co.uk/mailscanner/files/postfixmail.tar.gz cd /var/www/html patch functions.php -p1 < functions.php.diff chgrp apache /var/spool/postfix/hold chmod g+rx /var/spool/postfix/hold 右边的统计还是没有,看来还需要补丁。
本文出自 “风吹云动” 博客,请务必保留此出处http://coolerfeng.blog.51cto.com/133059/76102 本文出自 51CTO.COM技术博客 |



coolerfeng
博客统计信息
热门文章
最新评论
友情链接


