[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
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
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^A.^@^@^@<C5>\.^@^L^@^D^B..^@^^\/^@^P^^E:list^@6<CD>9p/ ^@8^-.3908840.1172611369.H459121P73525.[a very long line here]^@^@^@^@^@ 9 <C5>\.^@^L^@^D^A.^@^@^@<C4>\.^@^L^@^D^B..^@^@<C6> \.^@^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
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^A.^@^@^@<C5>\.^@^L^@^D^B..^@^^\/^@^P^^E:list^@6<CD>9p/ ^@8^-.3908840.1172611369.H459121P73525.[a very long line
here]^@^@^@^@^@ 9 <C5>\.^@^L^@^D^A.^@^@^@<C4>\.^@^L^@^D^B..^@^@<C6> \.^@^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?
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^A.^@^@^@<C5>\.^@^L^@^D^B..^@^^\/^@^P^^E:list^@6<CD>9p/ ^@8^-.3908840.1172611369.H459121P73525.[a very long line
here]^@^@^@^@^@ 9 <C5>\.^@^L^@^D^A.^@^@^@<C4>\.^@^L^@^D^B..^@^@<C6> \.^@^T^@^D^K.Newsletter[ ditto ]^@^T^@^DAre 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
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
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.
participants (2)
-
Giuliano Gavazzi
-
Timo Sirainen