Re: Courier-dovecot migration issue: Forward and Junk flags

2015-03-27 Thread Timo Sirainen
On 25 Mar 2015, at 17:12, Dennis Højgaard d...@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?)


Re: Courier-dovecot migration issue: Forward and Junk flags

2015-03-26 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 26 Mar 2015, Dennis Højgaard wrote:


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


Could you check if a message that is marked as JUNK in Courier has an a 
(lower letter A) appended to the filename in Dovecot's Maildir? and a 
forwarded one should have a b.





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-




- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVRPBi3z1H7kL/d9rAQIGIggAw3QSGZzvVGHfE7sMsYwmvcG7KxKfVUvc
nMnEqQzfugjEEp6orul8JAoJxV11+8pHAZ3ftJDQZitDS0Pa+hzrwMLoUQEGxlS/
XgmMhUc+pmRXGCjZAd1iV/sTTRMY/uxjFRGLDsxwVPMZ8lZeYNMWd/nsEoxEAXGQ
Q+Og9dhRdUcxLxMBVrJBhCCeuXZW2TXdmOF7dfZE/nv32ETTFveVkA1ycfiij/4J
UzkCNNxLeGPPu+PQFdkf/c3xgcr6MDprWYMv1dILYC030wiEVLYI2ha2tyKSH+OH
adB5+5F9qvDsFFGII0raGqB32pFqPjbhsXVFZii9Dwe+ZBBinDW/RQ==
=7j1W
-END PGP SIGNATURE-


Re: Courier-dovecot migration issue: Forward and Junk flags

2015-03-26 Thread Steffen Kaiser

-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-


Re: Courier-dovecot migration issue: Forward and Junk flags

2015-03-26 Thread Dennis Højgaard

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-