This shows you the differences between two versions of the page.
— | howtos:mailstats [2008/02/08 19:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Keep a Record of POPFile' | ||
+ | |||
+ | This HOWTO explains how to use two widely used utilities to regularly grab a copy of your POPFile buckets page by email so you can retain a history of your POPFile statistics over time. | ||
+ | |||
+ | Although the instructions here are Windows specific, the methods used can easily be applied to other non-windows platforms by locating a platform specific version of the utilities (or comparable replacements). | ||
+ | |||
+ | ===== How to Mail POPFile Bucket Stats to Yourself ===== | ||
+ | |||
+ | Obtain and install the utilities Blat and wget. | ||
+ | |||
+ | * Obtain and install Blat from Tim Charron' | ||
+ | |||
+ | - install Blat in a directory in your path, or the POPFile directory | ||
+ | - run Blat -install <server address> <senders address> to get Blat configured correctly. Make sure that <server address> points to an smtp server that you are permitted to relay mail thru, usually this will be the same smtp server you set up in your mail client. | ||
+ | |||
+ | * Obtain and install GNU wget from the GNU site [[http:// | ||
+ | |||
+ | - install wget in a directory in your path, or the POPFile directory | ||
+ | |||
+ | * Create a Batch File and set it up on a regular schedule in the Task Scheduler. | ||
+ | wget -O - http:// | ||
+ | cls | ||
+ | @exit | ||
+ | </ | ||
+ | |||
+ | * Save the batch file in your POPFile directory, name it mail_bucket_stats.bat | ||
+ | |||
+ | * Open your task scheduler and add a scheduled task. | ||
+ | |||
+ | - Use the Wizard to browse to your POPFile installation directory, usually " | ||
+ | - change the name of the task to Mail Bucket Stats | ||
+ | - Select the frequency to run it | ||
+ | - Select the time and day(s) to run it | ||
+ | - Click finish | ||
+ | - Close the task scheduler (or test it by right clicking on the new entry you made and selecting run) | ||
+ | |||
+ | You're done. The task scheduler will run the batch file at the time(s) you scheduled. The batch file will grab a copy of your buckets page and email it off to you. You can then set up a folder in your email client to retain those reports to build a history over time of your accuracy and bucket statistics. | ||
Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.