> Hallo,
> under http://www.daimi.au.dk/~miksen/IMAP/#inboxToMbx I found the following
> solution:
> " Changing to the mbx format
> Currently the default format for new IMAP mailboxes is the Unix
> mail format. To switch to the much more efficient mbx format you
> should create a .imaprc file inside your IMAP root folder
> (e.g. ~/IMAP/.imaprc) containing exactly the following:
> I accept the risk for IMAP toolkit 4.1.
> set new-folder-format mbx
The text text of the first line is actually: something that begins with
"I accept the risk" . Maybe when he write this config file he was in the same
mood as I was when I wrote my config file.
Anyway, I believe that the current default is that imapd does not check for
user config files ($HOME/.imaprc and $HOME/.mminit by default, IIRC).
If you are a server administrator you can add changes on a server-wide
configuration file: /etc/c-client .
Here's my /etc/c-lcient again:
I accept the risk of using UW-imapd
#set allow-user-config 1
set disable-automatic-shared-namespaces 1
set mail-subdirectory mail
set public-home-directory /path/to/mailman/archives/public/
(With the current parset: any line that does not begin with 's' is ignored,
IIRC)
Remove the '#' to enable user configurations. I disabled it because I'm not
sure how throughly this parser was tested, and I didn't wantusers being able
to stress-test it for volnurabilities.
Quote:> Don't be to scared by the first line -- it simply is there to keep people
> from changing the IMAP configuration without knowing what they are doing.
> Note that this configurations ensures that all NEW mail files created
> from within the mail client are created in the mbx format. To convert your
> old mail folders to the mbx format see below."
First of all, make sure you have imap-utils installed. Because you really want
to be able to manipulate the mailbox on your own (e.g: you do use procmail,
don't you?
Quote:> I tried this, but it doesn't work. The new mailboxes are still in
> mbox-format....is there an other way?
I figure that this file was simply never read. Maybe try running imapd under
strace locally to be sure?
--
Tzafrir Cohen
http://www.technion.ac.il/~tzafrir