Changes

Jump to navigation Jump to search
255 bytes added ,  15:29, 11 April 2008
Add new db entries
Line 44: Line 44:  
* '''Email to send report'''
 
* '''Email to send report'''
 
  config setprop mailstats Email (admin) - email to send report
 
  config setprop mailstats Email (admin) - email to send report
 
+
* '''Save data to MySQL database (default is "no")
In older versions, the email recipient is specified in the spamfilter-stats-7.pl file, using:
+
config setprop mailstats SaveDataToMySQL ("yes"|"no")
  $opt{'mail'}    = "admin";
+
* '''MySQL server hostname (default is "localhost"'''
which will deliver email to the local 'admin' account on your SME server. Configure email forwarding in server-manager::Collaboration::Users::admin to deliver the emails to another location.
+
config setprop mailstats server <hostname>
 +
* '''MySQL srver port (default is "3306")'''
 +
config setprop mailstats DBPort <####>
 +
* '''Reporting Interval'''
 +
  config setprop mailstats Interval ("day"|"week"|"fortnight"|"month"|"#####"))
 +
Note: a number is interpreted as seconds
 +
* '''Base'''
 +
config setprop mailstats Base ("Midnight"|Midday"|"Now"|"##")
 +
Note: a number is interpreted as the hour of the day (0-23)
    
=====Handling @*.u Logfiles=====
 
=====Handling @*.u Logfiles=====

Navigation menu