The following bug has been RESOLVED. ====================================================================== http://dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000117 ====================================================================== Reported By: aaron Assigned To: aaron ====================================================================== Project: DBMail Bug ID: 117 Category: Command-Line programs (dbmail-users, dbmail-util) Reproducibility: always Severity: feature Priority: normal Status: resolved Resolution: fixed ====================================================================== Date Submitted: 11-Nov-04 21:49 CET Last Modified: 16-Nov-04 07:07 CET ====================================================================== Summary: dbmail-util without -r may still make changes Description: The -r switch to dbmail-util tells it to "repair" but many of the checking functions do repairs even when not asked to. In particular -u, for null messages, has been reported on the mailing list.
We may want to refactor the functions into check/repair pairs, or to add a flag indicating if a function should also do a repair after it does a check. ====================================================================== ---------------------------------------------------------------------- aaron - 11-Nov-04 21:55 CET ---------------------------------------------------------------------- Actually, looks like all of the logic is in maintenance.c and it just doesn't take the flags into account. Looks like I only rewrote the top half of maintenance.c to use getopt and didn't dig much deeper. I'll get on it! ---------------------------------------------------------------------- aaron - 16-Nov-04 07:07 CET ---------------------------------------------------------------------- Nice little rewrite of maintenance.c. Good stuff, if I do say so myself :-) Bug History Date Modified Username Field Change ====================================================================== 11-Nov-04 21:49aaron New Bug 11-Nov-04 21:55aaron Bugnote Added: 0000351 11-Nov-04 21:55aaron Assigned To => aaron 11-Nov-04 21:55aaron Status new => assigned 16-Nov-04 07:07aaron Resolution open => fixed 16-Nov-04 07:07aaron Status assigned => resolved 16-Nov-04 07:07aaron Bugnote Added: 0000357 ======================================================================