Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Error 403 when trying to view attachments Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 01 April 2016 at 8:48pm | IP Logged Quote bernhard

Hello,

since a few days I always get an Error 403 when I try to open any attachment. Uploading attachments and saving drafts with attachments does work. But after I uploaded it, I can not open it. It's always Error 403. Does anyone have a clue?

Thanks in advance!
Bernhard
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 02 April 2016 at 1:31am | IP Logged Quote Alex

Maybe permissions have been changed in the filesystem?

If you try to have a separate new installation following all the installation instructions, does the problem reproduce there?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 02 April 2016 at 7:20am | IP Logged Quote bernhard

Thank you for your answer. To be honest: I don't know. I did not change anything. But there was a server update a week or two ago. I installed the new version and it is still the same. I guess the program loads the attachment directly from the mailbox - is this correct? So I think changing the chmod-settings will not have an influence.
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 02 April 2016 at 9:28am | IP Logged Quote Alex

Yes, attachments are always taken directly from the mail server. You can enable debug logging in WebMail Pro Admin Panel / System / Logging, reproduce the issue and examine the log for errors then. Examining the log file of the web server may also be helpful.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 02 April 2016 at 10:46am | IP Logged Quote bernhard

When clicking on the attachment where the 403 appears:

[log removed]

when opening the webmail:

[log removed]

the server logs are clean
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 02 April 2016 at 11:21am | IP Logged Quote Alex

Thanks. If anything comes out after analyzing this log, we'll post back.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 02 April 2016 at 11:22am | IP Logged Quote bernhard

thank you in advance! :)
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 04 April 2016 at 3:48am | IP Logged Quote Igor

According to the logs, it looks like VERSION file in root directory of WebMail cannot be found. Can you please confirm if it's actually there and it has read permissions set for it? Thank you.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 04 April 2016 at 9:14am | IP Logged Quote bernhard

I removed it before. But I added it again. It has no influence on the problem. In the previous installed version the problem was also there. But only within the last weeks.
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 04 April 2016 at 9:19am | IP Logged Quote Igor

Upon placing the file back, are there any PHP notices or errors in web server logs?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 05 April 2016 at 2:48pm | IP Logged Quote bernhard

Hello Igor!

The logs show no errors and no notices.
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 06 April 2016 at 3:33am | IP Logged Quote Igor

In that case, unfortunately, there's no way for us to suggest anything.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 19 April 2016 at 3:14am | IP Logged Quote bernhard

Okay, the technician of my shared webhosting responded to me (my translation to english):

"[...] the problem is one of our security systems: suhosin. i asked if we can do something from our side regarding this issue, but unfortunately we cant change any settings. Thats why I need to forward you to the producer of your software. Probably he has got a solution for the problem. Unfortunately we can not offer any solution. The use of Suhosin on a shared webhost is not exceptional. [...]"

Does this help you?
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 20 April 2016 at 3:35am | IP Logged Quote Igor

Well, that basically confirms that the problem is with PHP environment, not with the product. If the file permissions are correct but webserver doesn't allow for retrieving the file, there's no workaround possible here, I'm afraid. And while suhosin is rather common, it's usually configurable, just not in case of shared hosting.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 27 April 2016 at 6:20am | IP Logged Quote bernhard

Yes. Well, they changed the suhosin settings for me. But there are still difficulties. They say that the names of the GET-Variables are too long to be accepted by suhosin. Is there a possibility to shorten the names of the variables for the attachments?
Back to Top View bernhard's Profile Search for other posts by bernhard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 27 April 2016 at 6:30am | IP Logged Quote Igor

Yes that's possible but we're talking of substantial custom development rather than a simple fix here. If you're interested in ordering one, please use this form to proceed.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bernhard
Newbie
Newbie


Joined: 01 April 2016
Online Status: Offline
Posts: 9
Posted: 27 April 2016 at 7:47am | IP Logged Quote bernhard

I am also a programer and I could fix it myself I think. I will have a look on the code soon. But thank you for the offer.
Back to Top View bernhard's Profile Search for other posts by bernhard
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide