Re: Re: How to index maildir

2009-03-22 Thread Patrick Ben Koetter
* Jeff Huang jbhu...@scut.edu.cn:
 OK,Thanks.
 
 I'll try cyrus imap.
 
 Now I use Courier-imap as my imap/pop3 server. 

Try dovecot IMAP. It indexes maildir and fixes the index automatically. Cyrus
IMAP doesn't ...


p...@rick

-- 
All technical answers asked privately will be automatically answered on
the list and archived for public access unless privacy is explicitely
required and justified.

saslfinger (debugging SMTP AUTH):
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/


Re: How to index maildir

2009-03-22 Thread Bron Gondwana
On Sun, Mar 22, 2009 at 08:19:07AM +0100, Patrick Ben Koetter wrote:
 * Jeff Huang jbhu...@scut.edu.cn:
  OK,Thanks.
  
  I'll try cyrus imap.
  
  Now I use Courier-imap as my imap/pop3 server. 
 
 Try dovecot IMAP. It indexes maildir and fixes the index automatically. Cyrus
 IMAP doesn't ...

Cyrus doesn't use Maildir.

Bron ( but it's pretty good, and I'm trying to build an active developer
   community around it )


Re: How to index maildir

2009-03-22 Thread Bryan Irvine
On Sat, Mar 21, 2009 at 6:58 PM, Jeff Huang jbhu...@scut.edu.cn wrote:
 Hi,my mailserver is postfix and the mailbox is set to /Maildir.

 But I found if there are too many email in maildir,the imap is very slow.

 Can we set the Maildir indexing?So we can accelerate to read/find the email
 from Maildir.

Wrong list if you are talking about accessing from imap.  You probably
want to set the sticky bit though. Google around for explanations.

-Bryan


Re: How to index maildir

2009-03-22 Thread Ralf Hildebrandt
* Jeff Huang jbhu...@scut.edu.cn:

 Hi,my mailserver is postfix and the mailbox is set to /Maildir.
 But I found if there are too many email in maildir,the imap is very slow.

Which IMAP server are you using? If it's courier, switch to dovecot

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
I'm not insane, just an ISP. 
Although people may consider that to be a mark of an insane person!


Re: How to index maildir

2009-03-22 Thread Ralf Hildebrandt
* Jeff Huang jbhu...@scut.edu.cn:
 OK,Thanks.
 
 I'll try cyrus imap.

You can't. It doesn't use Maildir. Use dovecot.

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
Program aborting:
Close all that you have worked on.
You ask far too much.


Re: How to index maildir

2009-03-22 Thread Charles Marcus
On 3/21/2009, Jeff Huang (jbhu...@scut.edu.cn) wrote:
 OK,Thanks.
  
 I'll try cyrus imap.
  
 Now I use Courier-imap as my imap/pop3 server. 

You'd be much better off trying dovecot, unless you need something
specific that cyrus provides and dovecot does not.

Be sure you use the current version... 1.1.13, or even better 1.2b3,
since it is close to going stable, and has a lot of improvements over
the 1.1 branch...

-- 

Best regards,

Charles


Re: How to index maildir

2009-03-22 Thread Ralf Hildebrandt
* Charles Marcus cmar...@media-brokers.com:
 On 3/21/2009, Jeff Huang (jbhu...@scut.edu.cn) wrote:
  OK,Thanks.
   
  I'll try cyrus imap.
   
  Now I use Courier-imap as my imap/pop3 server. 
 
 You'd be much better off trying dovecot, unless you need something
 specific that cyrus provides and dovecot does not.

But then he wouldn't be using courier now :)

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
cc:Mail SMTPLINK: A 5 year old child left in charge of a large sorting
office. Can't reach over the counter properly, can't handle more than
one letter at once and has to go looking for a grownup whenever it
wants to deliver to mail to other towns. Often opens parcels to look
for shiny things inside then just delivers the wrapping paper onwards. 


Re: How to index maildir

2009-03-22 Thread Charles Marcus
On 3/22/2009 9:27 AM, Ralf Hildebrandt wrote:
 You'd be much better off trying dovecot, unless you need something 
 specific that cyrus provides and dovecot does not.

 But then he wouldn't be using courier now :)

lol good point...

-- 

Best regards,

Charles


Re: How to index maildir

2009-03-21 Thread Terry Carmen

Jeff Huang wrote:

Hi,my mailserver is postfix and the mailbox is set to /Maildir.
 
But I found if there are too many email in maildir,the imap is very slow.
 
Can we set the Maildir indexing?So we can accelerate to read/find the 
email from Maildir.
 


Postfix doesn't do IMAP.

You might have better luck asking your IMAP vendor.

Terry





Re: How to index maildir

2009-03-21 Thread vg_us



--
From: Jeff Huang jbhu...@scut.edu.cn
Sent: Saturday, March 21, 2009 9:58 PM
To: postfix-users postfix-users@postfix.org
Subject: How to index maildir


Hi,my mailserver is postfix and the mailbox is set to /Maildir.

But I found if there are too many email in maildir,the imap is very slow.

Can we set the Maildir indexing?So we can accelerate to read/find the 
email from Maildir.




that's a job of imap server, not mta (postfix). cyrus does it, dovecot too.
dovecot is more flexible - it cat keep those indexes on different partition 
(ram disk maybe? ).
or - you can get a very fast filesystem - in my tests ext3 with default 
setting won't work with 1000+ messages in one directory - 10-20 clients can 
make it crawl. that's why we (where I work) still use NetApp filer.


cheers
vadim


Thank you.




Jeff Huang
2009-03-22