POPFile pfdiagnose Utility

This utility is deprecated and no longer supported. It will not function properly with versions higher than 0.20.x.

The POPFile diagnostic utility is a tool to check the configuration parameters and installation files for a POPFile install. It attempts to detect problems with the installation that may prevent POPFile from operating properly.

This version has been tested in a Windows environment with versions 0.18.1 and 0.19.0 of POPFile. The author believes that the utility is platform independent and will work properly on non-Windows POPFile installs, but has not tested on those platforms.

POPFile is an automatic email classification tool authored by John Graham-Cumming available from SourceForge.

Instructions for use

  1. Download the script to your POPFile install directory, normally c:\Program Files\Popfile by clicking here.

  2. Open a DOS Command box (click the DOS icon on your desktop or Start/Run and type command in the open box and click ok).

  3. Change to your POPFile installation directory, e.g.,

    cd  "\program files\popfile"
    

  4. Run pfdiagnose.pl using Perl.

    perl pfdiagnose.pl > report.txt
    

  5. The resulting diagnostic report will be in the file named 'report.txt', open it with a text editor such as notepad.

    start notepad.exe report.txt
    

What it Checks

pfdiagnose performs the following diagnostic checks of your POPFile installation.

Running pfdiagnose Automatically

Windows users who have Tim Charron's Blat utility can easily set up pfdiagnose to run automatically and email the results.

  1. Obtain and install Blat from Tim Charron's page here.

  2. install Blat in a directory in your path, or the POPFile directory

  3. 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.

  4. Create a batch file as follows:

    perl pfdiagnose.pl | blat - -t youremail@address.here -s "POPFile Diagnostic Report"
    cls
    @exit
    

  5. Save the batch file in your POPFile directory, name it pfdiagnose.bat

  6. Open your task scheduler and add a scheduled task.

You're done. The task scheduler will run the batch file at the time(s) you scheduled. The batch file will run the diagnostic report and email it off to you. No muss, no fuss <g>

Copying

Copyright (C) 2003 Scott W. Leighton

Licensed under the terms of the GNU General Public License.

Contributed to the POPFile project under the terms of the POPFile License Agreement.


Back to POPFile Utilities