/*******************************************************************************

    Author ......... Jimmy Conner
    Contact ........ jimmy@advcs.org
    Home Site ...... http://www.advcs.org/
    Program ........ Block Attachments
    Version ........ 0.4
    Purpose ........ Allows an admin to block any types of attachments

*******************************************************************************/

   REQUIRES : Squirrlemail v1.4.0 or higher


Features
========

   * Allows an admin to block or give a warning for any file extension
   * A warning is displayed when the user tries to download the file
   * Users can be excluded by username
   * RG = 0 Compatible
   * E_ALL Compatible
   * Faster loading SM Compatible
   * SM Version checking Compatible
   * Compatible with the way the Administrator plugin checks for admins
   * Simplistic Virus Scanning ability (with over 25 signatures of
     common Mass Mail viruses)
   * Blocks users from downloading infected files
     (except excludes users, just warns) even if file type isn't set in
     blocked or warning column
   * Can Auto-Update virus definitions, checks every 24 hours for updates


Installation
============

   As with other plugins, just uncompress the archive in the plugins
   directory, go back to the main directory, run configure and add the plugin.
   Questions/comments/flames/etc can be sent to the jimmy@advcs.org

   If you don't have the administrator plugin running, just
   create an admins file in the block_attach or config directory
   with your username and a few blank lines to admins!!!


To Do
============
  Ability to block unknowns
  Ability to block files with double extensions
  Add hook to download.php to stop users from bypassing by typing
     in the path directly
  Option to Auto Exclude all admins

Change Log
============
   0.4
      * Option to auto update your virus definitions from my site
        (checks once every 24 hours)
      * Add 47 more virus signatures
      * Supports Admin Options plugin (*new*)
      * Admins file now HAS to be in the config directory

   0.3
      * A few small fixes
      * Simple virus scanning ability (will expand later)
      * Will scan common executables and not allow to be downloaded if they
        contain a known Mass Mailing virus (25+ so far)
      * Displays the virus name where the Download link used to be
      * Can be enabled or disabled easily, excluded users will see the virus name, but still be able
        to download it
        
   0.2
      * Seperated warning and blocked extension, they are seperately
        configurable now
      * Added an excluded users list
      * Internationalized, I just need some translators now
      * Changed the administration to be compatible with the way the 
        Administrator plugin checks for admins (removed admins.php)

   0.1
      * Allows an admin to block any file extension
      * A warning is displayed when the user tries to download
      * The admin can decide whether the user can still download the 
        attachment anyways after the warning
      * Supports faster plugin loading module
      * Supports plugin versioning module




