DESCRIPTION

Script to expire the per client statistics collected by the client_stats plugin. The counts of all rows are reduces by 10 % and rows which have not been changed for 1 month are removed. This script should be run once per week.

NOTE: The intervals of 1 week and 1 month and the factor of 9/10 are rather arbitrary. Feel free to modify them.

The following parameters can be passed to expire_client_stats:

dbi_credentials
Name of the file which contains the datasource, username and password for the database. The file should only be readable for the qpsmtpd user.

Default: none. This parameter must be specified!


BUGS


COPYRIGHT AND LICENSE

Copyright (c) 2004-2006 Peter J. Holzer

This plugin is licensed under the same terms as the qpsmtpd package itself. Please see the LICENSE file included with qpsmtpd for details.