QSS Qmail-Scanner Statistics - Readme


  1. Copyright & header
  2. Overview
  3. Where to go to find QSS ?
  4. What can I do with QSS and how to use it ?
  5. How to configure QSS ?
  6. ToDo List
  7. Thanks
  
  
  Copyright & header

        QSS Qmail-Scanner Statistics
        
        ---------------------------------------------------------------------------
        
        Copyright (C) 2002 Alexandre Georges
        
        This program is free software; you can redistribute it and/or
        modify it under the terms of the GNU General Public License
        as published by the Free Software Foundation; either version 2
        of the License, or (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

        ---------------------------------------------------------------------------
  

  Overview
  
        QSS is a statistics system for Qmail-Scanner written in PHP.
        
        
  Where can I get QSS ?

        The official website :
        http://sourceforge.net/projects/qss/
        
        
  What can I do with QSS and how to use it ?
  
        QSS uses the log file of Qmail-Scanner to generate PNG graphical statistics.
        You just have to copy this file in a directory accessible to QSS, to modify the 
        configuration file config.php and that's all !
        
        Please note that QSS requires that GD and PNG support are available within PHP.
        

  How to configure QSS ?
  
        Ok, I'm sorry but there is not a lot of things you can do ...
        
        The following parameters are available in the config.php file :
        
            o   $config["logFile"]
                
                Full path to the Qmail-Scanner log file. But warning, QSS must have a read
                access to this file (no, who would believe it ;).
                
                For exemple, you could create the following file /etc/qss.sh :
                
                        #!/bin/bash
                        cp -f /var/spool/qmailscan/quarantine.log <DESTINATION_DIRECTORY>
                        chown <UNIX_USER> <DESTINATION_DIRECTORY>/quarantine.log
                        
                And then add the following line on your crontab, with this you will have new 
                stats every 5 minutes :
                
                        */5 * * * * root /etc/qss.sh
                        
                I did it and it works fine ;)
                
                I don't know if someone uses QSS on a Win server ... and I don't care !
                
                
            o   $config["piePercent"]
            
                This is the minimal percentage required to be shown on the "pie" graphs.
                The best value is 1 ... but don't try 0 ! The result is quite strange ...
                
                If you put 1, it will mean that every element with a percentage higher
                (but not egal) than 1 will be displayed.
            
            
            o   $config["startMonth"] & $config["startYear"]
            
                By default, QSS shows a report for the last 12 months.                
                This parameters are useful if you don't have a 12-month-long log file.
                
                
  ToDo List
  
        If you want to see something new in the next version, just go to the official website 
        of QSS : http://sourceforge.net/projects/qss/
        
        There you can find all the feature requests and you can add one by yourself.
        
        
  Thanks
  
        Special thanks to this people :
        
        Olivier Beytrison - openVS.com
        " bah pakse je le vaux bien :-) "
        
        Christian Wiederseiner - openVS.com
        " a ram... l... "
        
        Swix - Mon plus grand fan :p