Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Attachment Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
V4g_Br4Ck3r
Newbie
Newbie
Avatar

Joined: 14 October 2011
Location: Brazil
Online Status: Offline
Posts: 7
Posted: 14 October 2011 at 5:44am | IP Logged Quote V4g_Br4Ck3r

Hello,

First excuse my English, I am Brazilian and not use both the English language! However my company will start using WebMail Pro (php) and the attachment system is not working!

When I put the attachment should see the "Success" and be attached to the color type "Active". However this message does not appear and the color is attached to "Off" (Disabled). And the attachments are not sent.

I know the problem is the upload. Files are not going!

The following information that will help:

php.ini:
max_execution_time 30
max_file_uploads 50
post_max_size 15M
upload_max_filesize 20M

WebMail: Pro (latest version in php)!

Linux 2.6.18-6-686
PHP Version 5.2.6-1 lenny13


When I send a file in the Apache error log it appears:

"[Thu Oct 13 10:49:08 2011] [error] [client 189.72.78.34] ModSecurity: Access denied with code 501 (phase 2). Match of" rx (?:^(?: application \ \ \ \ / x-www-form-

against "REQUEST_HEADERS: Content-Type" required. [file

"/ var/lib/modsecurity/modsecurity_crs_30_http_policy.conf"] [line "69"] [id "960010"] [msg "Request content type is not allowed by policy"] [severity

"WARNING"] [tag "POLICY / ENCODING_NOT_ALLOWED"] [hostname "nameofserver.com.br"] [uri "/ test / fileuploader.php"] [unique_id

"TpbsVH8AAAEAACoTQYEAAAAm"] "


The permissions of the folders (chmod):

date: 777
Date / time: 755
date / temp / files: 644
settings: 755
convert: 755
logs: 755
plugins: 755


Anyone know how to fix?
Should I change something in ModPolicy Apache or something should be changed in WebMail?

Thanks in advance!
Back to Top View V4g_Br4Ck3r's Profile Search for other posts by V4g_Br4Ck3r
 
Blaze_VibeSN
Newbie
Newbie


Joined: 14 October 2011
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 14 October 2011 at 6:25am | IP Logged Quote Blaze_VibeSN

Hi There!

SSH into your server and edit the file: /var/lib/modsecurity/modsecurity_crs_30_http_policy.conf and comment out line 69.

Back to Top View Blaze_VibeSN's Profile Search for other posts by Blaze_VibeSN
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 October 2011 at 11:34pm | IP Logged Quote Igor

Indeed, that sounds like a problem with mod_security extension: some web request sent by WebMail Pro was in violation of security rules set for your server. Revising those rules is suggested.

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

Joined: 14 October 2011
Location: Brazil
Online Status: Offline
Posts: 7
Posted: 17 October 2011 at 3:28am | IP Logged Quote V4g_Br4Ck3r

Thank you for your attention Blaze_VibeSN and Igor!
I commented the line 69 and the system is working perfectly!

Back to Top View V4g_Br4Ck3r's Profile Search for other posts by V4g_Br4Ck3r
 

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