Re: Separating master processes for different services to utilise multiple cores/cpus

2009-02-25 Thread Raymond T. Sundland
Just for demonstration, my system has relative low usage, but you can see the output of top: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 83831 cyrus 1 440 34068K 824K select 3 16:31 0.00% master 83834 cyrus 1 440 55296K 480K select 3 15:4

Re: How to copy messages between mailboxes?

2009-02-25 Thread Bron Gondwana
On Wed, Feb 25, 2009 at 05:45:25PM -0500, Jason Voorhees wrote: > Hi people: > > I'm trying to create a script to copy "certain" messages from a > mailbox of user A to mailbox of user B. These are the steps I have in > mind: Wrong steps. That's not a good way to do it. > # mkdir /var/spool/ima

Re: How to copy messages between mailboxes?

2009-02-25 Thread Raymond T. Sundland
I think it would be (better|easier|more effective) to: 1) Assign necessary permissions to mailbox A and mailbox B to user doing the moving. 2) Login to the imap server and move the mail 3) Unassign the permissions, if no longer needed. It may even be possible to do this with sieve, automatically

Re: Separating master processes for different services to utilise multiple cores/cpus

2009-02-25 Thread Raymond T. Sundland
When master receives a connection, it spawns a child process to manage that connection. That would essentially make it multi-threaded making use of the multiple CPUs when needed, I would think. Is that not the case? You can launch multiple master processes, but that wouldn't have any better

Separating master processes for different services to utilise multiple cores/cpus

2009-02-25 Thread Atif Ghaffar
Hello, I am a long time cyrus user but have not been hands on for a while. At my current job we are running cyrus to manage all mailstore for our ISP. Recently I have migrate a couple of boxes to newer ones with more cores per cpu. when running htop -u cyrus, i see that only one core is being u

How to copy messages between mailboxes?

2009-02-25 Thread Jason Voorhees
Hi people: I'm trying to create a script to copy "certain" messages from a mailbox of user A to mailbox of user B. These are the steps I have in mind: 1. Select what messages to copy from mailbox of user A. They can message files located at different folders within its mailbox. 2. Choose where t