Re: [Dovecot] new flags in Maildir files
I think the problems is around line 436 of http://www.dovecot.org/tools/courier-dovecot-migrate.pl as it reads the dot dirs after having read :list in the previous block of code. So, the content of the directories is appended to dovecot- keywords. I know nothing of perl! So I cannot really understand why it is so and how to fix it... (Note that this error happens on BSD systems, that is MacOSX and FreeBSD, I might run it on a Linux virtualbox as a cross test, just in case it is a perl platform quirk). Giuliano
Re: [Dovecot] new flags in Maildir files
On F 9 Jan, 2009, at 15:59 , Timo Sirainen wrote: On Jan 9, 2009, at 9:57 AM, Giuliano Gavazzi wrote: while on system that have undergone courier-dovecot-migrate.pl the files then continue with what look like extraneous lines: 0 JunkRecorded 1 Junk 2 $NotJunk 3 $Forwarded 4 NotJunk 5 $Junk 6 Redirected 7 Forwarded 8 7p/^...@^l^@^d^...@^@^@\...@^l^@^d^b...@^^\/^...@^p^^e:li...@69p/ ^...@8^-.3908840.1172611369.h459121p73525.[a very long line her...@^@^...@^@^@ 9 \...@^l^@^d^...@^@^@\...@^l^@^d^b...@^@ \...@^t^@^D^K.Newsletter[ ditto ]...@^t^@^D Are these broken lines written by the migration script, or by Dovecot afterwards? done a test: they are written by the migration script. For some reason I managed to have still the old (your version v1.1.8), but now that I have the new (# cpanel12 - maildir-migrate) linked from http://wiki.dovecot.org/Migration/Courier , I get the same result (with the new --to-dovecot option). I suppose it might come form a broken courierimapkeywords directory? I could send you a simple sample courierimapkeywords that reproduces it. thanks g
Re: [Dovecot] new flags in Maildir files
On F 9 Jan, 2009, at 15:59 , Timo Sirainen wrote: Not really. Any idea how to reproduce it? yes, if it is safe, and makes sense, to delete dovecot-keywords and rerun the script I could do it on a copy of an account, just to be on the safe(r) side... giuliano
Re: [Dovecot] new flags in Maildir files
On Jan 9, 2009, at 9:57 AM, Giuliano Gavazzi wrote: while on system that have undergone courier-dovecot-migrate.pl the files then continue with what look like extraneous lines: 0 JunkRecorded 1 Junk 2 $NotJunk 3 $Forwarded 4 NotJunk 5 $Junk 6 Redirected 7 Forwarded 8 7p/^...@^l^@^d^...@^@^@\...@^l^@^d^b...@^^\/^...@^p^^e:li...@69p/ ^...@8^-.3908840.1172611369.h459121p73525.[a very long line her...@^@^...@^@^@ 9 \...@^l^@^d^...@^@^@\...@^l^@^d^b...@^@ \...@^t^@^D^K.Newsletter[ ditto ]...@^t^@^D Are these broken lines written by the migration script, or by Dovecot afterwards? Ideas? Not really. Any idea how to reproduce it?
Re: [Dovecot] new flags in Maildir files
all right, the suffix lowercase letters do correspond to the relevant dovecot-keyword. Problem is, on system where courier-dovecot- migrate.pl has not been applied dovecot-keywords consist of: 0 $NotJunk 1 etc. while on system that have undergone courier-dovecot-migrate.pl the files then continue with what look like extraneous lines: 0 JunkRecorded 1 Junk 2 $NotJunk 3 $Forwarded 4 NotJunk 5 $Junk 6 Redirected 7 Forwarded 8 7p/^...@^l^@^d^...@^@^@\...@^l^@^d^b...@^^\/^...@^p^^e:li...@69p/ ^...@8^-.3908840.1172611369.h459121p73525.[a very long line her...@^@^...@^@^@ 9 \...@^l^@^d^...@^@^@\...@^l^@^d^b...@^@ \...@^t^@^D^K.Newsletter[ ditto ]...@^t^@^D and so on. In this particular case the suffix letters go from a to i, so from 0 to 7, and the keywords 8 onwards are thus bogus, consistently with the content of the file. Ideas? Giuliano
Re: [Dovecot] new flags in Maildir files
On Jan 8, 2009, at 6:41 PM, Giuliano Gavazzi wrote: I migrated my third system from courier to dovecot. My previous two were MacOSX the third is FreeBSD 6. I noticed (because of an rsync process taking longer than usual...) that on FreeBSD the message files have, most of them at least, gained extra suffix letters (in the range a-h I'd say) that I do not see (mostly if not at all) on my MacOS systems. a-z letters are for IMAP keywords (aka labels aka custom flags). Not all clients use them at all, which is why you may not see them for all users.
Re: [Dovecot] new flags in Maildir files
Well, now 1.1.8 on MacOSX (from courier + conversion script run) on a fourth system and I get the name change here too. I will upgrade other systems (where I did not run the conversion script) to 1.1.8 and see if the name change is owed to the dovecot version or having run the script. g
[Dovecot] new flags in Maildir files
Sorry if this is a dumb question: I migrated my third system from courier to dovecot. My previous two were MacOSX the third is FreeBSD 6. I noticed (because of an rsync process taking longer than usual...) that on FreeBSD the message files have, most of them at least, gained extra suffix letters (in the range a-h I'd say) that I do not see (mostly if not at all) on my MacOS systems. I wonder if this is because of a different migration process, as in the first two cases I wrongly run courier-dovecot-migrate.pl without the --convert option as I was satisfied that the OK result for all Mailboxes was enough... (no pop here), while on FreeBSD I correctly applied the --convert option. The other difference is the version, 1.1.6 for MacOSX, 1.1.7 for FreeBSD. Cannot find a relevant entryin the ChangeLog. (now running rsync with the --fuzzy option, hopefully it will find the files cutting on transfer times!) Thanks Giuliano