Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Henrique Fernandes
Well, chmod i guess it is the simpler, do not need to change anyconf. After you give it back permission it will be ok. Not a lot of erros, just gona be erros if get any mails at that time, i suposed will not be that long. And this process will be at some time with litle access. But use whatever w

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.12.2010 um 21:06 schrieb Ralf Hildebrandt: > See "man 5 access". > > HOLD optional text... > > Place the message on the hold queue, where it will > sit until someone either deletes it or releases

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Ralf Hildebrandt
> > And usually one uses "check_recipient_access" for this, not > > header_checks > > Aren't the smtp restrictions enforced before accepting the mail? while, not before. They actually lead to mail being accepted or rejected. > How would one hold something he hasn't got yet? :) See "man 5 access

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Stan Hoeppner
Thomas Leuxner put forth on 12/27/2010 9:55 AM: > Am 27.12.2010 um 15:04 schrieb Ralf Hildebrandt: > >>> How about this. Implement a header check in Postfix and put the mail for >>> the account to be maintained on HOLD: >>> >>> [ master.cf ] >>> cleanup unix n - - - 0

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.12.2010 um 15:04 schrieb Ralf Hildebrandt: >> How about this. Implement a header check in Postfix and put the mail for the >> account to be maintained on HOLD: >> >> [ master.cf ] >> cleanup unix n - - - 0 clea

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Ralf Hildebrandt
* Thomas Leuxner : > Am 24.12.2010 um 18:11 schrieb Henrique Fernandes: > > > Gona firt migrate us...@domain1.com > > > > # chmod a-w /path/to/thatuserhome/ > > > > Now, dovecot can not write any emails there. Will will result in temporary > > failure, at least in my conf it does. > > That see

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-27 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 24.12.2010 um 18:11 schrieb Henrique Fernandes: > Gona firt migrate us...@domain1.com > > # chmod a-w /path/to/thatuserhome/ > > Now, dovecot can not write any emails there. Will will result in temporary > failure, at least in my conf it does.

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
To do without any down time, i start to use mail_location from the sql. Like, regular user still using mail_location from 10-mail. Lets give an example: us...@domain1.com us...@domain2.com us...@domain1.com us...@domail2.com All them have mail_location in 10-mail Gona firt migrate us...@domain

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Odhiambo Washington
On Fri, Dec 24, 2010 at 5:56 PM, Henrique Fernandes wrote: > Yeah, i guess the right ocmando would be dsync > > dsync get the user from mysql, with user query. I guess. > > Are you looking to do it without any downtime ? > Yes. It's a server with a few hundred users and some of them have mail on

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
http://wiki2.dovecot.org/Tools/Dsync take a look. []'sf.rique On Fri, Dec 24, 2010 at 12:56 PM, Henrique Fernandes wrote: > Yeah, i guess the right ocmando would be dsync > > dsync get the user from mysql, with user query. I guess. > > Are you looking to d

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
Yeah, i guess the right ocmando would be dsync dsync get the user from mysql, with user query. I guess. Are you looking to do it without any downtime ? Are you getting the mail_location from mysql or in conf file ? I would use dsync backup. I had some trouble using mirror when a box was corrup