SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000038ClearOSapp-mail-antispam - Mail Antispampublic2010-03-09 08:242010-06-02 13:31
Reporterbchambers 
Assigned Tobchambers 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.1 
Target Version5.2Fixed in Version5.2 
Summary0000038: Incorrect include_once or missing dependency in the Antispam module
DescriptionSpamassasins's webconfig page requires the Greylisting.class.php.

File:
/var/webconfig/htdocs/admin/mail-antispam.php
Line 28:
require_once("../../api/Postgrey.class.php");

On a default install, it's possible to select certain modules that result in installing the antispam module without pulling in the Greylisting module, causing the SpamAssassin web page to fail to load because of the missing file.

The Postgrey class is initialized but never used...the solution is likely to remove the require_once function from the top of the SpamAssasin page.

Alternatively, adding: Requires: app-greylisting = %VERSION% to the spec file of the SpamAssassin module would pull in the required package.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000070)
user2
2010-03-30 16:30
edited on: 2010-08-18 15:08

Source Code Changelog
---------------------------------------------------
- Remove unecessary postgrey dependency [fixed tracker 0000038]

File Changes
---------------------------------------------------
U legacy/webconfig/trunk/htdocs/admin/mail-antispam.php


- Issue History
Date Modified Username Field Change
2010-03-09 08:24 bchambers New Issue
2010-03-10 08:12 user2 Status new => confirmed
2010-03-30 16:30 user2 Checkin
2010-03-30 16:30 user2 Note Added: 0000070
2010-03-30 16:30 user2 Status confirmed => resolved
2010-03-30 16:30 user2 Resolution open => fixed
2010-03-30 16:31 user2 Fixed in Version => 5.2
2010-03-30 16:32 user2 Target Version => 5.2
2010-06-02 13:30 user2 Status resolved => assigned
2010-06-02 13:30 user2 Assigned To => bchambers
2010-06-02 13:31 user2 Status assigned => resolved
2010-06-02 13:31 user2 Status resolved => closed
2010-08-18 15:08 user2 Note Edited: 0000070

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7