new mailboxes in mbx format

new mailboxes in mbx format

Post by Jonas Linder » Thu, 28 Feb 2002 03:00:46



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
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."

I tried this, but it doesn't work. The new mailboxes are still in
mbox-format....is there an other way?

bye, Jonas Lindert

 
 
 

new mailboxes in mbx format

Post by Tzafrir Cohe » Thu, 28 Feb 2002 05:10:23



> 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

 
 
 

new mailboxes in mbx format

Post by Jonas Linder » Thu, 28 Feb 2002 06:52:54


Hi,
thx!

..but it seems that the imapd also does not read the /etc/c-client! :((

The new mailboxes are still in mbox and i have to convert manualy..

ciao, Jonas Lindert




> > 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.

> > 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?

> > 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

 
 
 

new mailboxes in mbx format

Post by Jeff Grossma » Thu, 28 Feb 2002 14:26:51



>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
>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."

>I tried this, but it doesn't work. The new mailboxes are still in
>mbox-format....is there an other way?

>bye, Jonas Lindert

I don't know about a configuration file, but I always modify the
source before I compile a new version of the IMAPD daemon.  I believe
it is under the os type directory Makefile.

Jeff
---

 
 
 

new mailboxes in mbx format

Post by Villy Kru » Thu, 28 Feb 2002 18:00:52


On Tue, 26 Feb 2002 22:52:54 +0100,

Quote:>Hi,
>thx!

>..but it seems that the imapd also does not read the /etc/c-client! :((

>The new mailboxes are still in mbox and i have to convert manualy..

Perhaps because it is trying to read /etc/c-client.cf instead.

Villy

 
 
 

1. mbx mailbox format spec

Do anyone know where can I find the specification of mbx mailbox format?  
I would like to write scripts to convert back to Berkeley-style mailbox.  
Though mbxcvt can do the work, it is not designed for mass conversion and
the speed is really slow.  I found that mbx mainly consists of two parts,
the header in the beginning of the mailbox file and a line of header
information for each message, do anyone know exactly the syntax and
definition of these headers?

--

2. Question about AUTO_INCREMENT

3. UW Imap mailbox to mbx format

4. Help!

5. Default Mailbox to MBX format

6. toshiba 2410 notebook bluetooth problems

7. Unix MBX Mailbox format

8. cc-mode in emacs for Win95

9. Converting mailboxes to mbx (tenex) format

10. newbie: how to convert pine mailbox format into exmh format

11. Converting mailbox format to mh message format

12. Can'r get new Plug-ins to do anything

13. Help! DBX, MBX, and IDX Formats?