[Dovecot] migration and conversion from courier

Timo Sirainen tss at iki.fi
Sun May 17 21:45:09 EEST 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090517/03303c03/attachment.bin 


More information about the dovecot mailing list