1

Topic: Why this; Forbidden You don't have permission to access ...

I have installed iredmail and I cant access. Whats wrong?
All I get is this message:

Forbidden

You don't have permission to access /squirrelmail/ on this server.


The server is a Debian-Lenny.
I get same error from localhost or any host. Is same problem trying to access mysql, roundcube...etc.
Please help !

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Why this; Forbidden You don't have permission to access ...

which version of iredmail do you use? and please paste related apache error_log here.

3

Re: Why this; Forbidden You don't have permission to access ...

iRedMail-0.5.0-rc2 on debian lenny

(maybe I just should try 0.4 version??  is 0.4 working on debian lenny? )

error_log:
Directory index forbidden by Options directive:  /usr/share/apache2/squirrelmail


Any idea?
0.4 version is workinf fine on debian lenny?
Thanks

4

Re: Why this; Forbidden You don't have permission to access ...

gnuancarlos wrote:

error_log:
Directory index forbidden by Options directive:  /usr/share/apache2/squirrelmail

Could you paste apache config file: /etc/apache2/conf.d/squirrelmail.conf

Any idea?
0.4 version is workinf fine on debian lenny?
Thanks

0.4 and previous versions works only on RHEL/CentOS 5.x.

5

Re: Why this; Forbidden You don't have permission to access ...

#

Alias /squirrelmail "/usr/share/apache2/squirrelmail/"
Alias /squirrel "/usr/share/apache2/squirrelmail/"
<Directory "/usr/share/apache2/squirrelmail-1.4.19/">
    Options -Indexes
</Directory>

6

Re: Why this; Forbidden You don't have permission to access ...

<Directory "/usr/share/apache2/squirrelmail-1.4.19/">

What happen if you remove version number here:

<Directory "/usr/share/apache2/squirrelmail/">

7

Re: Why this; Forbidden You don't have permission to access ...

same thing   sad

I have formmated this machine (virtualbox debian machine) to be 100 % sure I have only results from IredMail script. Same things happening  sad

403 : Forbidden access

8

Re: Why this; Forbidden You don't have permission to access ...

Extra info:

I found there is no index.html or index.php under   /usr/share/apache2/squirrelmail
If I create a simple index.html I can see that file when i go to http://myserver/squirrelmail

same thing for roundcubemail, phpmyadmin...etc

So, it looks like some ln are missed.
Where /how can I create or fix this links (ln?)

yikes

9

Re: Why this; Forbidden You don't have permission to access ...

Tested on Debian lenny (x86_64), works fine for me here.

- All directories you mentioned have 'index.php'.
- No 'permission denied' error.

Did you change any apache related config yourself?

10

Re: Why this; Forbidden You don't have permission to access ...

I am really sorry !!!

I have double checked every step very slowly and I found I jumped this step:

    * Get necessary packages. It will create a local apt repository in current directory.

      # cd /path/to/iRedMail-x.y.z/pkgs/
      # bash get_all.sh

Therefore, some packages never where installed or where wrong installed-configured.
Learn the lesson looking at this mirror folks !

R.F.M. (VERY CAREFULLY !!!)

Thanks a lot ZhangHuangbin and sorry (again)
yikes