[Dovecot] help on migrating some old Maildirs

Leonardo Rodrigues leolistas at solutti.com.br
Wed Jul 14 22:31:16 EEST 2010


     Hi,

     i need to restore some old mail backups from a system i wasnt the 
admin. Emails are on Maildir, which i'm using on the actual server, so 
should be no big deal. I'm just thinking of copying files from the 
folders i need, from the old backup, to the specific dirs on the actual 
system.

     buuuut, watching the backup, i noticed that LOTS of files on the 
Maildirs do not have the S= parameters on its name nor W=. For example:

1230230396.V80bI4e007fM790805.correio.domain.com.br:2,
1230463524.V80bI4e0080M837823.correio.domain.com.br:2,
1230571206.V80bI4e0081M519106.correio.domain.com.br:2,
1231170098.V80bI4e0083M519957.correio.domain.com.br:2,
1231682500.V80bI4e0084M584988.correio.domain.com.br:2,

     files from the actual system looks like:

1278311553.M754372P13693.correio.domain.com.br,S=5742,W=5864:2,
1278668323.M110437P31421.correio.domain.com.br,S=4489,W=4590:2,
1278311669.M981814P13835.correio.domain.com.br,S=7404,W=7563:2,
1278669074.M556000P31506.correio.domain.com.br,S=4397,W=4504:2,

     i've already tested copying those files to a current Maildir and it 
works just fine, no problem at all on that. There's no problem on the 
restore of those messages itself.

     Anyway, my questions are ....

1) do the lack of S= and W= parameters will negatively impact on 
something ? Quota calculation comes to my head about that .... as i'll 
have to restore several thousands of messages, i'm worried about 
negative impacts on anything

2) is there any way of having dovecot to calculating the S= and W= 
parameters and renaming those files and, thus, avoiding some negative 
impact caused by the lack of them ?


     i'm using dovecot 1.2.11 ......

     thanks !


-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes at solutti.com.br
	My SPAMTRAP, do not email it






More information about the dovecot mailing list