Re: [Dovecot] migrate 15K users to new domain name

2012-04-21 Thread Jan-Frode Myklebust
On Thu, Apr 19, 2012 at 05:59:39PM +0300, Timo Sirainen wrote: With v2.1.4 you could do something like: doveadm -c dummy.conf user -m user@domain where dummy.conf contains the minimum configuration needed: mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln ssl = no Thanks! Works perfect.

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Odhiambo Washington
On Thu, Apr 19, 2012 at 11:22, Jan-Frode Myklebust janfr...@tanso.netwrote: I need to migrate 15K users to a new domain name, and plan to use dsync mirror in the transition phase. Could someone confirm that this should work: Before giving users access to new-domain do a first sync to get all

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Jan-Frode Myklebust
On Thu, Apr 19, 2012 at 02:01:44PM +0300, Odhiambo Washington wrote: What do you mean by a new domain in this context? The user's email addresses are changing from username@old.domain to username@new-domain. Is the server changing? No. Is the storage changing? The user's home directory

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Odhiambo Washington
On Thu, Apr 19, 2012 at 16:28, Jan-Frode Myklebust janfr...@tanso.netwrote: On Thu, Apr 19, 2012 at 02:01:44PM +0300, Odhiambo Washington wrote: What do you mean by a new domain in this context? The user's email addresses are changing from username@old.domain to username@new-domain.

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Jan-Frode Myklebust
On Thu, Apr 19, 2012 at 05:03:01PM +0300, Odhiambo Washington wrote: In my setup, I have virtual users. So the home directory is in the /var/spool/virtual/$domain/$user/mdbox How is yours setup? mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln If the domain name changed, from

Re: [Dovecot] migrate 15K users to new domain name

2012-04-19 Thread Timo Sirainen
On 19.4.2012, at 17.19, Jan-Frode Myklebust wrote: mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln If I could figure out what the %256LRHu hash is, mv would probably be a very good solution.. With v2.1.4 you could do something like: doveadm -c dummy.conf user -m user@domain where