Webmail: Forbidden You don't have permission to access /webmail/ on this se

I just activated webmail on my Xserve (under "Sites", double-clicked my website and under options, check webmail) but am getting "Forbidden You don't have permission to access /webmail/ on this server." (error 403) when I try to go there from a browser. What else do I need to configure to allow access to my email account through the web?

Mike

G5, Mac OS X (10.4.11)

Posted on Sep 19, 2008 9:31 PM

Reply
27 replies

Sep 20, 2008 5:43 AM in response to Michael Levin

Hi Michael

It works best if you have DNS services configured internally - ideally matching your external domain. Make sure IMAP is enabled for desired users (use WGM for this) and make sure ports 143 and 16080 are opened on your router and forwarding to your mail server's internal IP address. This is if you want to allow external access?

Web Services uses an asterisk for the default website. If you have only one site then you could leave it as it is. What I normally do is to edit it to read the fqdn of your domain with its associated IP address. Thereafter select the WebMail option in the Sites tab as well as WebDAV. Make sure the webdav module is ticked in the Modules section. That should be it? On the client launch your preferred web browser and in the url key in:

http://<server'sprivateipaddress>:16080/webmail

If your clients are using to server's DNS service to resolve DNS queries then you could use the servers FQDN instead of its IP address. The choice is yours.

If you do want external access then simply replace the server's private ip address with the external one. Or if you have forward and reverse pointers configured for your server's mx record mapped to your external ip address then you can use that instead. A name is generally easier to remember than a 12 digit number.

You can - if you wish - achieve further customisation. You can change its default logo to something more appropriate for your needs? The logo's stored in /usr/share/squirrelmail/images. Alternatively you could use the command line and issue:

sudo /private/etc/squirrelmail/config/conf.pl

Select the first option > Organisation Preferences. Adjust to suit. You can achieve further customisation - except for colour schemes - by editing the source files. You can display HTML and images by logging into Squirrel Mail and selecting Options > Display Preferences.

Hope this helps, Tony

Sep 22, 2008 3:50 AM in response to Antonio Rocco

Hi Antonio -

http://<server'sprivateipaddress>:16080/webmail


from inside our organization, I do this and then I see

Unable to connect
Firefox can't establish a connection to the server at server.drmichaellevin.org:16080.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

how do I debug this?

thanks!

Mike

Sep 22, 2008 1:16 PM in response to Antonio Rocco

Hi -

Are you using the server's built-in Firewall by any chance? If you are switch it
off, restart the web service and try again from the server first. Use network
utility (Applications/Utilities) to verify the correct port is open.


yes, I was using the firewall. I stopped it, restarted web service on my site, and tried again from the server. No luck. While

http://server.org

works fine to serve up my website. But

http://localhost/webmail

gives

"Forbidden. You don't have permission to access /webmail on this server"

while

http://localhost:16080/webmail

gives

Safari can't connect to the server. Safari can't pen the page "http://localhost:16080/webmail" because it could not connect to the server 'localhost'."

any ideas?

thanks,

Mike

Sep 22, 2008 1:40 PM in response to Michael Levin

Hi Mike

This sound more like a web configuration problem rather than a WebMail one? As such its beyond what I can help you with. Web services are not one of my strong points. Perhaps you should cross-post in the Web Services forum?

The only other thing I can think off is perhaps you've unknowingly restricted access using Service ACLs in Server Admin? Without being there its difficult to tell.

Tony

Sep 29, 2008 8:50 AM in response to Wedgetail

Wedgetail wrote:
Under your site configuration under the "Web" tab make sure that you have "index.php" entered and enabled in default/index file box. Even if your site does not use it the WebMail system requires it...


yep - it's there (along with index.html). Web folder is /Library/WebServer/Documents, port 80, IP address "any". What else can I check?

thanks,

Mike

Oct 7, 2008 7:52 AM in response to Michael Levin

I had the same problem for a few weeks this summer. The last fix I tried was to rebuild the mailboxes from Terminal. Using Server Admin didn't seem to work. It seemed to take some time before it worked but by the next day, everyone was saying they could access web mail. I don't know why the time lag, I initially thought it wasn't working and figured I had to do something else. I started doing other tasks at work and just happened to try my account a half hour later and it worked. I had other people try at that point, some could get on and some couldn't but, like I said, by the next day everyone said it worked.

Oct 8, 2008 3:20 AM in response to wdodd

rebuild the mailboxes from Terminal.


how does one do that??

Also, shouldn't there be code in /webmail in the website directory? I would assume it should contain some java or other code that serves up the mail. Mine only contains index.html which contains the text "Webmail is not enabled for this server". Is this part of the problem? it's like webmail is checked in the admin app for that website but like it never "took"?

thanks!

Mike

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Webmail: Forbidden You don't have permission to access /webmail/ on this se

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.