DBMAIL-UTIL(8) | DBMAIL-UTIL(8) |
NAME
dbmail-util - maintains the integrity and cleanliness of the DBMail datatables.
SYNOPSIS
dbmail-util [-actbpds] [-l time] [-yn] [-qvVh] [-f configFile]
DESCRIPTION
The dbmail-util program does a global database cleanup and integrity check. All messages that are set for deletion (status 2) will be marked for final deletion (status 3). All message that are marked for final deletion will be cleared from the database. The integrity check will check for unconnected mimeparts, headervalues, messages and mailboxes.
By default, the checks run in a read-only mode, possibly prompting to make changes. Pass the -n option to respond no to any prompts. Pass the -y option to make read-write changes, responding yes to any prompts.
As DBMail matures and new features are added, additional check modes will be added. In addition, more prompts may be added for different situations where changes need to be committed to the database. We recommend using the -a option to run all checks and using the -n and -y options if you expect no prompts.
OPTIONS
-a
-c
-t
-b
-p
-d
-s
-r time
-l time
-M
-m limit
-n
-y
-i
--rehash
COMMON OPTIONS
-f configfile
-q
-v
-V
-h
RETURN VALUES
Returns 3 when errors are found but could not be fixed due to failure, 2 when errors are found but -y was not provided or -n was provided, 1 when errors are found and fixed successfully, 0 when no errors are found.
EXAMPLES
After upgrading from DBMail 2.0 or truncating the cache tables, run this command to populate the cache:
` dbmail-util -by`
To set all messages with the DELETE status to PURGE status, and permanently remove all messages previously set to PURGE status:
` dbmail-util -dpy`
To get a listing of the changes that would be performed for all actions:
` dbmail-util -an`
To remove all IP log entries more than three days old:
` dbmail-util -l 72h -y`
BUGS
If you experience inexplicable problems with DBMail, please report the issue to the DBMail Bug Tracker[1].
LICENSE
DBMail and its components are distributed under the terms of the GNU General Public License. Copyrights are held variously by the authors listed below.
AUTHOR(S)
DBMail is a collaborative effort among the core developers listed below and the tremendous help of the testers, patchers and bug hunters listed in the AUTHORS and THANKS files found in the DBMail source distribution.
Alan Hicks Persistent Objects Ltd https://p-o.co.uk Eelco van Beek Aaron Stone Paul J Stevens Roel Rozendaal Open Source Engineer NFG Net Facilities Group BV Ilja Booij Palo Alto, CA USA http://www.nfg.nl IC&S http://hydricacid.com http://www.ic-s.nl
NOTES
- 1.
- DBMail Bug Tracker
08/04/2024 |