ClearFoundation Tracker - ClearOS
View Issue Details
0000038ClearOSapp-mail-antispam - Mail Antispampublic2010-03-09 08:242010-06-02 13:31
bchambers 
bchambers 
normalmajorhave not tried
closedfixed 
5.1 
5.25.2 
0000038: Incorrect include_once or missing dependency in the Antispam module
Spamassasins'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.

No tags attached.
Issue History
2010-03-09 08:24bchambersNew Issue
2010-03-10 08:12user2Statusnew => confirmed
2010-03-30 16:30user2Checkin
2010-03-30 16:30user2Note Added: 0000070
2010-03-30 16:30user2Statusconfirmed => resolved
2010-03-30 16:30user2Resolutionopen => fixed
2010-03-30 16:31user2Fixed in Version => 5.2
2010-03-30 16:32user2Target Version => 5.2
2010-06-02 13:30user2Statusresolved => assigned
2010-06-02 13:30user2Assigned To => bchambers
2010-06-02 13:31user2Statusassigned => resolved
2010-06-02 13:31user2Statusresolved => closed
2010-08-18 15:08user2Note Edited: 0000070

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