another question : what about if a mail is comming from the lmtp socket to the refering mailbox and the mailbox is currently in the renaming process ? what about if the user have a shared folder and other users are accessing his mailbox with write privilegies ?? On 06/30/2010 12:09 PM, Nestor A Diaz wrote: > Hi Dominique et all, thanks for your script and the comments, i will > make my own customizations in it, regarding the other comments i got, i > forgot to tell you that the spool dir is currently hashed, but, since > all the mailbox names are numbers, so they all are under te "q" letter > in the hash spool, so this is what i have to hash based on another > function like for example the modulus of the account number divided > into10, and based on the result i will put that accounts on a different > partition. > > Just one question: i didn't figure out how to block an account or how to > take care of an account if the user become online when i am renaming the > mailbox, so i suspect there should be a problem if the user have a huge > mailbox, and we are in the process of moving the account and the user > logs in ? does the rename mailbox command take care of this and can do > this operation atomically ? what i am thinking is to disable the account > authentication first and then check if the user is online. > > Slds. > > -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-485-3020 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:211@xxxxxxxxxxxxxxx Email/MSN: nestor@xxxxxxxxxxxxxxx http://www.tiendalinux.com/ Bogota, Colombia ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html