Empty Trash - A Plugin for SquirrelMail
========================================
Version: 1.3 
Version Date: 29-Jun-2004
Authors: Derek Battams <derek@battams.ca>
         Paul Lesneiwski <pdontthink@angrynerds.com>
Requires SQMAIL: >= v1.2.2
Note: Uses JavaScript; compatible with SM >= 1.2.8


Description
-----------
The Empty Trash plugin will automatically empty a user's trash folder
periodically.  The system administrator can configure the trash to
be emptied for users based on:

* Number of logins
* Number of days since last login

There are no options for an individual user to prevent this from happening.  
If you install this plugin then any and all user's trash will be deleted 
periodically.


Installation
------------
See INSTALL file.


Comments/Questions
------------------
Send them to the author, Derek Battams <derek@battams.ca>.
Or send them to the SquirrelMail Plugins mailing list <squirrelmail-plugins@lists.sourceforge.net>.


Revision History
----------------
17-Apr-2002   1.0     Original version.
03-Nov-2002   1.1     Fixed an include() bug which would cause a duplicate
                      function definition error if the SM installation decided
                      to use database storage for preferences (thanks to 
                      Paul Barton <paul@moonkhan.org> for bringing this bug
                      to my attention).  Audited the code for SM >= 1.2.8
                      compatibility.  Based on my testing (SM 1.2.9; PHP 4.2.2),
                      the Empty Trash plugin should be compatible with
                      SM >= 1.2.8.
04-Jul-2003   1.2     New setup.php format for faster overall SM performance
                      Updated for SM version reporting API
29-Jun-2004   1.3     Created config file to allow administrative control over
                      deletion criteria.  
                      Fixed time-based criteria to measure days instead of weeks
                      (which had an inadvertent bug)
