Re: [Dovecot] Migration to Dovecot

2007-10-17 Thread FiL @ Kpoxa

How much mail do you have to migrate? Do you convert mbox to Maildir?
Please, let us know how did it go.

Good luck with it!!!

FiL

Frank Bonnet wrote:

Hello all

Tomorrow is the day , I'm gonna migrate all our mailboxes and imap 
folders

from our old mailhub to the new one.

In the same time I will migrate from UW to Dovecot , I've read all
the stuff about it on the Dovecot web site.

I have one question , do I have to care about the .imap cache directory
created by Dovecot in any way or will it be all automatic when 
starting Dovecot ?


Many thanks





Re: [Dovecot] Running a dovecot IMAPS server

2007-09-21 Thread FiL @ Kpoxa

Timothy Murphy wrote:

I don't use KMail on my desktop, except as an experiment,
but when I do there do not appear to be any problems.
My Local folders are kept in directories ~/Mail/Folder1/[cur,new,tmp[/
and are not seen by IMAPS.
My IMAPS folders are kept in directories ~/Maildir/.Folder2/[cur,new,tmp]/
and are not seen my kmail.
  


If Local folders are under ~/Mail/  - this is OK.
But you were saying your local messages are under ~/Maildir/ - the same 
as dovecot-accessed.

And this is wrong. This might be working fine, but still, this is wrong.


FiL



Re: [Dovecot] Running a dovecot IMAPS server

2007-09-21 Thread FiL @ Kpoxa

Charles Marcus wrote:
1. No proper 'Signature Manager' (yes, I've seen and used the 
Signature extensions (Signature, Signature Switch, etc), but they 
still require you to manually create the sigs first. This is a 
*glaring* lack in my opinion...


2. Monolithic message storage... this is still a biggie to me, but I 
can live with it...



I know this is totally unrelated to this topic, but...
Is there any extension to create and use templates? I don't like full 
name wrote: in my reply messages and would prefer

some custom templates, that would be different for different accounts.
Thanks,

FiL



Re: [Dovecot] Migration woes from tpop mbox to dovecot maildir

2007-09-14 Thread FiL @ Kpoxa

Chris Richardson wrote:
I was hoping some one might be able to offer me some advice on a 
little problem I have. I am looking to A. move from mbox to maildir B. 
looking to move from tpop to dovecot to bring both pop and imap under 
the same program. anyways the problem I am having is this tpop3d mbox 
uses  MD5 sum of the mailbox headers in hex which is option %m in the 
uidl section but the problem is when dovecot convert plugin runs and 
makes in a maildir it fails to find the md5 of this because it is only 
used for mboxs. if I change this from %m to %Mf it downloads every 
message on the clients computer which is not desirable. I was thinking 
only options i have is to allow it to download all them mail and or 
write a script to convert it to maildir or another pop servers uidl. 
but i dont know much about how other pop servers generate there 
headers. so I was hoping maybe some one has done something similar to 
this or could offer some input. thanks


-Chris

I have the very same problem. The only difference is that I have already 
migrated to dovecot and using mbox for both pop3 and imap.
Am still looking for the good solution to migrate to Maildir without 
making my clients re-download all their mail (they won't get dups with 
imap,

but downloading gigabytes of mail isn't good idea either.
Timo suggested writing a script that would create dovecot-uidlist files 
for every mailbox with old-style (%m in your case) UIDs during migration 
and that makes
perfect sense to me. However I'm really bad with programming and cat 
rely on my own script for such an important task.


P.S. not sure how dovecot handles pop3 UID's. In my case I need 
preserving UIDs in imap-to-imap (mbox-to-Maildir) migration.


FiL





Re: [Dovecot] mbox vs maildir

2007-07-10 Thread FiL @ Kpoxa




The last time I tried to convert from mbox to maildir, things got 
pretty botched up, no data loss, but it wasn't pretty. :-)
just because you got it wrong doesn't make it's hard. you probably 
didn't take enough time to get it right.


Well, if you know the RIGHT way - just share it with the rest of us.
I was asking Timo before and as far as I understood - there is no way of 
converting mbox to Maildir without losing message UIDs.
And given that we already have huge mailboxes, that means that every 
user, connecting to the server after the conversion will need to
redownload all the messages and delete all the messages in the local 
cache. Just imagine that user with ~5Gb of mail across 5-10 folders
connect from home not-so-fast DSL line to check email and has to wait 
until the client rechecks all the mail No, this is not right.
Exactly as Don Russell wrote - no data loss, but it isn't pretty. And 
this is the only reason I don't migrate to Maildir. I really want to do it,

but this is not something I can do to my users.

FiL




Re: [Dovecot] Converting mbox to Maildir, all prior read messages are downloaded as new

2007-05-30 Thread FiL @ Kpoxa

Timo Sirainen wrote:

 On Fri, 2007-05-25 at 14:36 -0400, FiL wrote:
 This is not only about POP3, as far as I can tell. If you
 converting mbox to Maildir (dovecot to dovecot) - UIDs change. And
 if you have your client set to cache all the messages and you have
 over 1Gb in your mail... well, it will be transferring all your
 mail again. Deleting the old one (as it is not on the server
 anymore) and re-downloading new ones.

 Right. But it's not as bad as with POP3 where the messages are
 downloaded as duplicates.


It's pretty bad if you trying to check your mail over the slow 
connection (and some users do that).
Also at least 1/3 of my users have 100Mb just in the inbox and much more 
in other mailboxes. And I know, that

server just wouldn't handle the load the first day after migration.


 I have all my mbox-es in /raid/mbox/%u I have set convert_mail =
 mbox:/raid/mbox/%u:INBOX=/var/mail/%u in the dovecot.conf. But for
 some reason the folder with mail doesn't get renamed after
 conversion. Is that the way it should be?

 And the destination isn't /raid/mbox/%u? It should have renamed the
 %u to %u-converted.


The destination is /raid/Maildir/%u/ but the original folder doesn't get 
renamed. I will play with it a little more and let you know

the details.

FiL