victorchang 发表于 2007-10-30 16:11

原帖由 junger 于 2007-10-30 15:56 发表 http://bbs.chinaunix.net/images/common/back.gif
# /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用户进入试一试.

MYSQLER 发表于 2007-10-31 08:51

我按照你的一步步来做.一切都正常,安装完了extmail,并且安装了extman(上次提问时没有安装),按照你的提示说可以用web访问了,可是当我访问时出现500 Internal Server Error
查看日志

[ - ]CODE:
cat suexec_log

: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
: user mismatch (nobody instead of www)
错误日志

[ - ]CODE:
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico
Premature end of script headers: index.cgi
File does not exist: /var/www/extsuite/extmail/html/favicon.ico

victorchang 发表于 2007-10-31 09:24

原帖由 MYSQLER 于 2007-10-31 08:51 发表 http://bbs.chinaunix.net/images/common/back.gif
我按照你的一步步来做.一切都正常,安装完了extmail,并且安装了extman(上次提问时没有安装),按照你的提示说可以用web访问了,可是当我访问时出现500 Internal Server Error
查看日志

...
这个问题就是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 编辑 ]

marion 发表于 2007-11-01 11:54

回复 #273 MYSQLER 的帖子

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

楚国布衣 发表于 2007-11-01 21:44

只想说2个字,谢谢。
如果LZ能把各个模块都有什么作用再明说一下就更好啦。

cnhawk386 发表于 2007-11-02 07:53

如下错误提示:
warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
请教
谢谢

marion 发表于 2007-11-02 11:36

回复 #277 cnhawk386 的帖子

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

cnhawk386 发表于 2007-11-02 13:53

原帖由 marion 于 2007-11-2 11:36 发表 http://bbs.chinaunix.net/images/common/back.gif
这个不妨事儿的,如果你想要去掉这个警告的话,可以到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

真是奇怪

cnhawk386 发表于 2007-11-02 13:55

Nov3 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 编辑 ]

zdyldy 发表于 2007-11-02 15:15

我用webmail发信后,发件箱里还有邮件,我想发完邮件后,发件箱里没有邮件应该怎么设置啊.
页: 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)