1 最后由 tony0509 (2013-05-03 09:50:49) 编辑

主题: You don't have permission to access(已解決)

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本: 0.7.4
- 使用的 Linux/BSD 发行版名称及版本号: ubuntu 10.4
- 与您的问题相关的日志信息: 不知道該提供甚麼日誌...
====

在安裝完成後,
開啟登入頁面出現You don't have permission to access /webmail on this server.
請問前輩該提供甚麼訊息出來才方便各位替我解惑呢??
感激!

回复: You don't have permission to access(已解決)

您是使用 httpS:// 访问 webmail 么?
请参考 iRedMail 安装目录下的 iRedMail.tips 文件,找出具体的 URL 和帐号密码。

回复: You don't have permission to access(已解決)

我使用http://IP/webmail 與 https://IP/iredadmin
分別出現
You don't have permission to access /webmail on this server.

You don't have permission to access /iredadmin on this server.
的訊息。
但是TELNET IP 25跟110 回應卻是有通的

Post's attachments

2013-04-29 下午 05-52-00.png 77.75 kb, file has never been downloaded. 

2013-04-29 下午 05-53-19.png 72.86 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

回复: You don't have permission to access(已解決)

測試修改/etc/apache2/sites-available/default 內 AllowOverride 為 All

無效...

測試安裝0.7.0
問題一樣...

不知道WEBMAIL的目錄在哪,無法測試修改權限...
以上...不是很好搞...

回复: You don't have permission to access(已解決)

WEBMAIL 的目录在  /var/www/roundcubemail

请 cat /var/log/httpd/error_log 看有没有什么错误先

或是贴上来这里

回复: You don't have permission to access(已解決)

今天在重新安裝時發現安裝過程出現一些訊息...
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/INSTALL': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/LICENSE': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/README': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/UPGRADING': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/installer': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/SQL': No such file or directory
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 29: cd: /usr/share/apache2/roundcubemail-0.7/config/: No such file or directory
cp: cannot stat `db.inc.php.dist': No such file or directory
cp: cannot stat `main.inc.php.dist': No such file or directory
cp: cannot create regular file `/usr/share/apache2/roundcubemail-0.7/config/dovecot.sieve': No such file or directory
chown: cannot access `db.inc.php': No such file or directory
chown: cannot access `main.inc.php': No such file or directory
chown: cannot access `/usr/share/apache2/roundcubemail-0.7/config/dovecot.sieve': No such file or directory
chmod: cannot access `db.inc.php': No such file or directory
chmod: cannot access `main.inc.php': No such file or directory
chmod: cannot access `/usr/share/apache2/roundcubemail-0.7/config/dovecot.sieve': No such file or directory
ERROR at line 7: Failed to open file '/usr/share/apache2/roundcubemail-0.7/SQL/mysql.initial.sql', error: 2
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 98: cd: /usr/share/apache2/roundcubemail-0.7/config/: No such file or directory
Can't open db.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open main.inc.php: No such file or directory.
Can't open /usr/share/apache2/roundcubemail-0.7/.htaccess: No such file or directory.
Can't open /usr/share/apache2/roundcubemail-0.7/.htaccess: No such file or directory.
Can't open /usr/share/apache2/roundcubemail-0.7/skins/default/includes/taskbar.html: No such file or directory.
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 349: cd: /usr/share/apache2/roundcubemail-0.7/config/: No such file or directory
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 353: cd: /usr/share/apache2/roundcubemail-0.7/plugins/managesieve/: No such file or directory
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 366: cd: /usr/share/apache2/roundcubemail-0.7/config/: No such file or directory
/home/jfpro/iRedMail-0.7.4/functions/roundcubemail.sh: line 369: cd: /usr/share/apache2/roundcubemail-0.7/plugins/password/: No such file or directory
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
Can't open config.inc.php: No such file or directory.
< INFO > Configure phpMyAdmin (web-based MySQL management tool).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
< INFO > Configure iRedAdmin (official web-based admin panel).
tar: iRedAdmin-0.1.6.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
chown: cannot access `/usr/share/apache2/iRedAdmin-0.1.6': No such file or directory
chmod: cannot access `/usr/share/apache2/iRedAdmin-0.1.6': No such file or directory
/home/jfpro/iRedMail-0.7.4/functions/iredadmin.sh: line 74: cd: /usr/share/apache2/iRedAdmin-0.1.6/: No such file or directory
cp: cannot stat `settings.ini.mysql.sample': No such file or directory
chown: cannot access `settings.ini': No such file or directory
chmod: cannot access `settings.ini': No such file or directory
ERROR at line 6: Failed to open file '/usr/share/apache2/iRedAdmin-0.1.6/docs/samples/iredadmin.sql', error: 2
sed: can't read settings.ini: No such file or directory
sed: can't read settings.ini: No such file or directory
sed: can't read settings.ini: No such file or directory
sed: can't read settings.ini: No such file or directory
sed: can't read settings.ini: No such file or directory
sed: can't read settings.ini: No such file or directory
< INFO > Configure iRedAPD (postfix policy daemon).
tar: iRedAPD-1.3.6.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
cp: cannot stat `/opt/iredapd/rc_scripts/iredapd.debian': No such file or directory
chmod: cannot access `/etc/init.d/iredapd': No such file or directory
chmod: cannot access `/opt/iredapd/src/iredapd.py': No such file or directory
/home/jfpro/iRedMail-0.7.4/functions/iredapd.sh: line 68: cd: /opt/iredapd/etc/: No such file or directory
cp: cannot stat `iredapd.ini.sample': No such file or directory
chown: cannot access `/opt/iRedAPD-1.3.6': No such file or directory
chmod: cannot access `/opt/iRedAPD-1.3.6': No such file or directory
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
Can't open iredapd.ini: No such file or directory.
< INFO > Configure Fail2ban.

*************************************************************************
* iRedMail-0.7.4 installation and configuration complete.
*************************************************************************

< Question > Would you like to use firewall rules shipped within iRedMail now?
< Question > File: /etc/default/iptables, with SSHD port: 22. [Y|n]y
< INFO > Copy firewall sample rules: /etc/default/iptables.
< Question > Restart firewall now (with SSHD port 22)? [y|N]y
< INFO > Restarting firewall ...
* Flushing firewall rules iptables                                      [ OK ]
* Setting chains to policy ACCEPT                                               filter                                                                  [ OK ]
Unloading iptables modules                                               [ OK ]
* Applying iptables firewall rules                                      [ OK ]
< Question > Would you like to start postfix now? [y|N]y
* Flushing firewall rules iptables

回复: You don't have permission to access(已解決)

回lwydata..
我的var/www/下並沒有roundcubemail的目錄呢

回复: You don't have permission to access(已解決)

補充
root@mail:/# cat /var/log/httpd/error_log
cat: /var/log/httpd/error_log: No such file or directory
root@mail:/#
看來似乎沒有這個目錄。

回复: You don't have permission to access(已解決)

请使用最新的 iRedMail-0.8.4。旧版本的 iRedMail 需要的一些文件已经不再提供了。

回复: You don't have permission to access(已解決)

使用Ubuntu 12.04.1 + iRedMail0.8.4
已完成安裝
感謝各位先進指教!