On Thu, Jun 14, 2007, Paul J Stevens <[EMAIL PROTECTED]> said: > [EMAIL PROTECTED] wrote: >> >> dbmail-util -d -y or dbmail-util -p -y it doesn't work. It only >> works if you run the command as: >> dbmail-util -dy or dbmail-util -py >> > That sounds like a bug to me.
Yeah, I'll look into it today or tomorrow. >> And I did read the man page which does not make clear that >> the flag has to be concatenated with the previous flag in order to >> work. The docs read like the -y would be an automatic >> answer as an automatic "yes" to a confirmation prompt. And >> considering that there were 60,000 messages that needed to be processed, I >> should have been presented with a confirmation prompt 60,000 times if the >> documentation were written properly. > > That's an idea. Aaron? I've thought about it, but never did get to the code. The problem is that some of the loops are in db.c; not a place for interactivity. >> The prompts returning from the >> dbmail-util don't make it clear that it would perform the action if given >> the flag and the flag should work even if its not part of the first flag >> string like all my other Linux utilities. > > I've never been too happy with the whole util setup. I don't know any tool > that does no-act by default. This is a faq for precisely that reason. I strongly prefer tools that require explicit authorization to begin removing data. I'm thinking like fsck tools here. I do agree that a better message should appear. The "All done, no problems" message at the end of a dry-run is definitely completely wrong even if there's just a few deleted messages to move out. Aaron _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
