On Tue, Nov 07, 2006 at 11:23:57AM -0500, Tom Cooper wrote:
> 
> I'm using mbox today - because it's easy and completely portable.  One
> downside is that since my primary mbox file is ~300MB, with a total of
> about 1.5GB spread across several folders, I see my linux box in iowait
> state a lot, even though I've got 1.2GB RAM.   I've been considering
> converting to a different mailbox format in the hope that it would improve
> performance.  The only complication is that I use procmail, fetchmail, and
> spamassassin on linux, and would love to be able to keep that setup once I
> convert mailbox formats.  It's not clear to me the best way to go to
> improve performance.  (Of course, moving to a more powerful box with more
> RAM is in the plan, hence the iMac.)

the safest quick choice is to convert to mbx format mailboxes; procmail
can't deliver direct to this format but you can use dmail in a procmail
recipe to do the delivery.

This is how I think this works, but I'm only about 95% sure of it.

To actually create a mailbox in mbx format, do this in a shell:

          mailutil create "#driver.mbx/junkmail"

To deliver to said mailbox, something like this procmail recipe should work:
  
          :0 
          | dmail +junkmail         

You may have to play around with directory paths and such.

It is important to do the creation part; otherwise dmail will autocreate
the folder for you but will make it an mbox file.

I don't know what happens when you create a new folder in an imapd session.
I'm betting you get an old mbox style folder.

I am not aware of a way to get dmail to automatically create folders in
mbx format.  Probably a compile-time option in c-client.   Or maybe you can
use some option in the /etc/c-client.cf file but that is fraught with peril.

danno
--
Dan Pritts, System Administrator
Internet2
office: +1-734-352-4953 | mobile: +1-734-834-7224
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to