http://bugzilla.spamassassin.org/show_bug.cgi?id=3049
------- Additional Comments From [EMAIL PROTECTED] 2004-02-23 05:31 ------- Subject: Re: Implement sa-learn --loaddb dumpfile functionality On Sun, Feb 22, 2004 at 08:08:06PM -0800, [EMAIL PROTECTED] wrote: > ------- Additional Comments From [EMAIL PROTECTED] 2004-02-22 20:08 ------- > Sorry Dan -- I'm also +1 on the idea of adding this functionality to sa-learn. > +1 on the idea of --dump dumping seen entries, too. > How about a slightly different proposal. First, add an additional param to --dump, backup. When you call sa-learn --dump backup it will dump a slightly terser format that is easily machine readable but still human editable. The format will include magic variables, token and seen data. Then change --loaddb to --restore. --restore will read the backup data in and re-create the bayes database. Of course this process will involve some sanity checks to help make sure that the data is valid and all that good stuff. It wouldn't eliminate the occasional need to hand tweak some of the token data. Merging of two databases, while not entirely recommended, could be accomplished by appending the output of one backup file to another. The restore process will handle merging all of the data into one. Michael ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
