免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion
打印 上一主题 下一主题

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
271 [报告]
发表于 2007-10-30 16:11 |只看该作者
原帖由 junger 于 2007-10-30 15:56 发表
[root@zone ~]# /usr/local/mysql/bin/mysqladmin -u postfix -p 123456
Enter password:
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'po ...


telnet 127.0.0.1 3306 看看MYSQL启动没有呀.
用ROOT用户进入试一试.

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:19
272 [报告]
发表于 2007-10-31 08:51 |只看该作者
我按照你的一步步来做.一切都正常,安装完了extmail,并且安装了extman(上次提问时没有安装),按照你的提示说可以用web访问了,可是当我访问时出现500 Internal Server Error
查看日志

[Copy to clipboard] [ - ]CODE:
cat suexec_log

[2007-10-21 03:46:34]: user mismatch (nobody instead of www)
[2007-10-21 03:46:39]: user mismatch (nobody instead of www)
[2007-10-21 03:46:44]: user mismatch (nobody instead of www)
[2007-10-21 03:46:45]: user mismatch (nobody instead of www)
[2007-10-21 03:47:06]: user mismatch (nobody instead of www)
[2007-10-21 03:47:09]: user mismatch (nobody instead of www)
[2007-10-21 03:47:09]: user mismatch (nobody instead of www)
[2007-10-21 03:47:10]: user mismatch (nobody instead of www)
[2007-10-21 03:47:11]: user mismatch (nobody instead of www)
[2007-10-21 03:47:11]: user mismatch (nobody instead of www)
[2007-10-21 03:50:10]: user mismatch (nobody instead of www)
[2007-10-21 03:57:59]: user mismatch (nobody instead of www)
[2007-10-21 03:58:02]: user mismatch (nobody instead of www)
[2007-10-21 03:58:03]: user mismatch (nobody instead of www)
[2007-10-21 03:58:03]: user mismatch (nobody instead of www)
[2007-10-21 03:58:04]: user mismatch (nobody instead of www)
[2007-10-21 03:58:05]: user mismatch (nobody instead of www)
[2007-10-21 03:58:05]: user mismatch (nobody instead of www)
[2007-10-21 03:58:06]: user mismatch (nobody instead of www)
[2007-10-21 03:58:07]: user mismatch (nobody instead of www)
[2007-10-21 03:58:07]: user mismatch (nobody instead of www)
[2007-10-21 03:58:08]: user mismatch (nobody instead of www)
[2007-10-21 03:58:09]: user mismatch (nobody instead of www)
[2007-10-21 03:58:09]: user mismatch (nobody instead of www)
[2007-10-21 03:58:10]: user mismatch (nobody instead of www)
[2007-10-21 04:03:05]: user mismatch (nobody instead of www)
[2007-10-21 04:04:25]: user mismatch (nobody instead of www)
[2007-10-21 04:04:26]: user mismatch (nobody instead of www)
[2007-10-21 04:11:51]: user mismatch (nobody instead of www)
[2007-10-21 04:11:52]: user mismatch (nobody instead of www)
[2007-10-21 04:24:20]: user mismatch (nobody instead of www)
[2007-10-21 04:24:21]: user mismatch (nobody instead of www)
[2007-10-21 04:24:22]: user mismatch (nobody instead of www)
[2007-10-21 13:20:28]: user mismatch (nobody instead of www)
错误日志

[Copy to clipboard] [ - ]CODE:
[Sun Oct 21 03:58:07 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 03:58:07 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 03:58:08 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 03:58:08 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 03:58:08 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 03:58:09 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 03:58:09 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 03:58:09 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 03:58:09 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 03:58:10 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 03:58:10 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:03:05 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:03:05 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 04:03:05 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:04:25 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 04:04:25 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:04:26 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 04:04:26 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:11:51 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 04:11:51 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico
[Sun Oct 21 04:11:52 2007] [error] [client 192.168.1.7] Premature end of script headers: index.cgi
[Sun Oct 21 04:11:52 2007] [error] [client 192.168.1.7] File does not exist: /var/www/extsuite/extmail/html/favicon.ico

论坛徽章:
0
273 [报告]
发表于 2007-10-31 09:24 |只看该作者
原帖由 MYSQLER 于 2007-10-31 08:51 发表
我按照你的一步步来做.一切都正常,安装完了extmail,并且安装了extman(上次提问时没有安装),按照你的提示说可以用web访问了,可是当我访问时出现500 Internal Server Error
查看日志

[Copy to clipboard]  ...

这个问题就是APACHE的执行权限问题了.
我是这样设置的
在httpd.conf文件中
user daemon
group daemon
在extra/httpd-vhost.conf文件中
<VirtualHost *:80>
ServerName mail.****.net
DocumentRoot /var/www/extsuite/extmail/html/
ScriptAlias /extmail/cgi /var/www/extsuite/extmail/cgi
Alias /extmail /var/www/extsuite/extmail/html
SuexecUserGroup postfix postfix
</VirtualHost>

还有,你要保证extmail和extman的属主是postfix.postfix


我在装maildrop,然后配置vmail用户权限后,也出现了IIS 500的错误,没办法又改回了原来的方式...

[ 本帖最后由 victorchang 于 2007-10-31 09:34 编辑 ]

论坛徽章:
0
274 [报告]
发表于 2007-11-01 11:54 |只看该作者

回复 #273 MYSQLER 的帖子

victorchang的分析是正确的,注意suexec的设置……

论坛徽章:
0
275 [报告]
发表于 2007-11-01 21:44 |只看该作者
只想说2个字,谢谢。
如果LZ能把各个模块都有什么作用再明说一下就更好啦。

论坛徽章:
0
276 [报告]
发表于 2007-11-02 07:53 |只看该作者
如下错误提示:
warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
请教
谢谢

论坛徽章:
0
277 [报告]
发表于 2007-11-02 11:36 |只看该作者

回复 #277 cnhawk386 的帖子

这个不妨事儿的,如果你想要去掉这个警告的话,可以到main.cf文件中找到aliases相关的项目中有关nis的设置并将其删除即可。

论坛徽章:
0
278 [报告]
发表于 2007-11-02 13:53 |只看该作者
原帖由 marion 于 2007-11-2 11:36 发表
这个不妨事儿的,如果你想要去掉这个警告的话,可以到main.cf文件中找到aliases相关的项目中有关nis的设置并将其删除即可。



即使从main.cf中去掉alias_maps = hash:/etc/aliases, nis:mail.aliases这一行
也是同样的错误提示

而且
postconf |grep nis
alias_maps = hash:/etc/aliases, nis:mail.aliases
lmtp_sasl_mechanism_filter =
smtp_sasl_mechanism_filter =


居然出现了被我删掉的alias_maps = hash:/etc/aliases, nis:mail.aliases

真是奇怪

论坛徽章:
0
279 [报告]
发表于 2007-11-02 13:55 |只看该作者
Nov  3 15:17:45 wbxsb authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user 'extmail'@'localhost' (using password: YES)

请教
谢谢

[ 本帖最后由 cnhawk386 于 2007-11-3 15:57 编辑 ]

论坛徽章:
0
280 [报告]
发表于 2007-11-02 15:15 |只看该作者
我用webmail发信后,发件箱里还有邮件,我想发完邮件后,发件箱里没有邮件应该怎么设置啊.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP