Convert seen database to 2.2.5

Adi Linden adil at adis.on.ca
Thu Jun 3 10:30:53 EDT 2004


> On my old cyrus-imapd server the seen database is in /var/imap/user. The 
> format of the file is like this:
> 
> [root at mail imap]# cat /var/imap/user/a/adilinden.seen 
> 00de43903fddebc6        1 0 0 1083101107 1:6
> 0136b4953d89df31        1 1063223744 4 1032458249 1:4
> 01ae95b23baa6abf        1 1069777905 34 1082046786 22:35
> 021dd9873d04fe46        1 1043710521 2 1048793948 1:3
> 023dc1bf3db9fe2c        1 1056603412 4 1056603398 1:4
> 04cb20843e6ce959        1 1063289438 1 1047325017 1
> 082a8d0e3baa6b0c        1 1086033180 97 1085765121 1,10,14:23,25:87,89:97
> 08e5c94a3d6e3b96        1 0 0 1030634399 1:2
> 092cd1a63f706389        1 0 0 1064330121 1
> 
> How can I convert this to a proper format for cyrus-imapd 2.2.5? I am 
> using the rpm from <http://www.invoca.ch/pub/packages/cyrus-imapd/cyrus-imapd-2.2.5-1.src.rpm>

Got it, this does it:

/usr/lib/cyrus-imapd/cvt_cyrusdb \
    /var/lib/imap/user/y/yvonnekake.seen.old flat \ 
    /var/lib/imap/user/y/yvonnekake.seen skiplist

Adi

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list