Dennis Højgaard
2015-Mar-25 15:12 UTC
Courier-dovecot migration issue: Forward and Junk flags
Hello.. Another courier -> dovecot migrater here.. I ham having a bit of trouble converting the courier maildir correctly, or actually i'm almost there. The only thing i experience is that forwarded messages and messages marked as junk (in thunderbird) are downloaded again (i am using thunderbird and caching) after running the courier-dovecot-migrate.pl script and connecting to the newly configured dovecot imap server.. So i think that the Forward and Junk flag is not being converted..
Steffen Kaiser
2015-Mar-26 07:12 UTC
Courier-dovecot migration issue: Forward and Junk flags
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 25 Mar 2015, Dennis H?jgaard wrote:> Hello.. Another courier -> dovecot migrater here.. I ham having a bit of > trouble converting the courier maildir correctly, or actually i'm almost > there. The only thing i experience is that forwarded messages and messages > marked as junk (in thunderbird) are downloaded again (i am using thunderbird > and caching) after running the courier-dovecot-migrate.pl script and> connecting to the newly configured dovecot imap server.. So i think that the > Forward and Junk flag is not being converted..Could you check if the converted Dovecot Maildir contains a file named dovecot-keywords with contents like this: 0 Junk 1 nonjunk 2 $Forwarded 3 $label1 4 Old 5 $NotJunk 6 $MDNSent 7 $Junk Could you also check if your Courier Maildir contains a file named courierimapkeywords/:list and if this file contains the keywords, too? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVROxTHz1H7kL/d9rAQJJAAf/UTDcy5cBaA83dd0xiqQ+WHnDK0gkIqKQ privBnUqzxwDvfH6aBdEsl64VFU2hN1ItQR42p2/4YT6JV+Kb+ZuJkSUQ/jhtpzS Fu8+r4RGxBpPrP7rr3ObXv89YeKDt5+znDL0UH+lz1AQefAP8IGaydMHHZd7CIn2 Dy+hM0dmBg54YAxzRlnjSEcaDEH94Le/D0twrYS1Rqu/u1uEdC7gyQ9pwbpAUAQl J1hxObo18ElyxtZdGYJ53n1Cd9oV+mIzp0P72thcsB2Xu7tgNOBMpvp0O8pi7q+5 FKBzhJgv1a7V6s/+n88LilNua+CjHHiFaON29oYu8dybvNdUpUCYiQ==6hFP -----END PGP SIGNATURE-----
Dennis Højgaard
2015-Mar-26 07:45 UTC
Courier-dovecot migration issue: Forward and Junk flags
Hey Steffen Thank you for your feedback. I have the following in my Maildir: cat courierimapkeywords/\:list JUNK $Forwarded $label4 $label1 cat dovecot-keywords 0 JUNK 1 $Forwarded 2 $label4 3 $label1 On 2015-03-26 08:12, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 25 Mar 2015, Dennis H?jgaard wrote: > >> Hello.. Another courier -> dovecot migrater here.. I ham having a bit >> of trouble converting the courier maildir correctly, or actually i'm >> almost there. The only thing i experience is that forwarded messages >> and messages marked as junk (in thunderbird) are downloaded again (i >> am using thunderbird and caching) after running the >> courier-dovecot-migrate.pl script and > >> connecting to the newly configured dovecot imap server.. So i think >> that the Forward and Junk flag is not being converted.. > > Could you check if the converted Dovecot Maildir contains a file named > dovecot-keywords with contents like this: > > 0 Junk > 1 nonjunk > 2 $Forwarded > 3 $label1 > 4 Old > 5 $NotJunk > 6 $MDNSent > 7 $Junk > > Could you also check if your Courier Maildir contains a file named > courierimapkeywords/:list and if this file contains the keywords, too? > > - -- Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEVAwUBVROxTHz1H7kL/d9rAQJJAAf/UTDcy5cBaA83dd0xiqQ+WHnDK0gkIqKQ > privBnUqzxwDvfH6aBdEsl64VFU2hN1ItQR42p2/4YT6JV+Kb+ZuJkSUQ/jhtpzS > Fu8+r4RGxBpPrP7rr3ObXv89YeKDt5+znDL0UH+lz1AQefAP8IGaydMHHZd7CIn2 > Dy+hM0dmBg54YAxzRlnjSEcaDEH94Le/D0twrYS1Rqu/u1uEdC7gyQ9pwbpAUAQl > J1hxObo18ElyxtZdGYJ53n1Cd9oV+mIzp0P72thcsB2Xu7tgNOBMpvp0O8pi7q+5 > FKBzhJgv1a7V6s/+n88LilNua+CjHHiFaON29oYu8dybvNdUpUCYiQ=> =6hFP > -----END PGP SIGNATURE-----
Timo Sirainen
2015-Mar-27 21:15 UTC
Courier-dovecot migration issue: Forward and Junk flags
On 25 Mar 2015, at 17:12, Dennis H?jgaard <dh at powerhosting.dk> wrote:> > Hello.. Another courier -> dovecot migrater here.. I ham having a bit of trouble converting the courier maildir correctly, or actually i'm almost there. The only thing i experience is that forwarded messages and messages marked as junk (in thunderbird) are downloaded again (i am using thunderbird and caching) after running the courier-dovecot-migrate.pl script and connecting to the newly configured dovecot imap server.. So i think that the Forward and Junk flag is not being converted..What do you mean "downloaded again" - how do you see it? Are you talking about IMAP or POP3 protocol? A missing IMAP flag doesn't cause redownloading, it would at most cause the mail to not be displayed as forwarded/junk. It sounds like something else is going wrong (the mail getting a new UID for some reason?)