17 May
2009
17 May
'09
9:45 p.m.
On Fri, 2009-05-15 at 10:55 +0200, Giuliano Gavazzi wrote:
I doubt though that the script will cope with flags correctly, as in
principle will get the flags from an out of date courierimapkeywords,
thus missing any new ones.
Right.
Perhaps the only solution is to have a new script that deletes the
garbage lines and renumbers the following ones, so that the above
example would become:0 JunkRecorded 1 $NotJunk 2 $Junk 3 Redirected 4 $Forwarded
and then renames all *g files to *e.
You don't have to do any renaming, the keywords don't need to be sequential. Just delete those lines with broken keywords. When adding new keywords Dovecot will then use the missing spots.