Columbia MM
MM Manual

CREATING MORE MAIL FILES

You can have more mail files than just mbox. MM will move all incoming mail only into your main mail file, mbox, but you can then copy messages into other mail files. You can also have copies of your outgoing messages written into another mail file.

If you don't keep many messages, you can keep them all in mbox without any real problem. If you have over 100, you will probably gain from setting up additional files. You can organize the messages by topic or sender, or just keep all older messages in another file. Aside from organizing your storage, you will find that MM runs faster with a smaller mbox.


MOVING MESSAGES TO ANOTHER MAIL FILE

The commands move and copy copy mail from the current mail file to any other mail file; they create the other mail file if it does not exist yet. The difference is that move marks the messages as deleted in the current mail file.

At the MM> prompt, type move or copy, then the name of mail file where the messages should go, and then a message sequence. You can also use the commands at the R> prompt, without a message sequence.

In the following example, you have decided to have just one more mail file, to hold your older mail. You call the mail file oldmail and start it by sending messages 1 to 50 to it. Since oldmail is a new file, you are asked to OK creating it by typing y for yes.



MM>move oldmail 1:50
File does not exist: /f/u1/d00000/yourid/oldmail
Do you want to create it? y
 1:50
MM>


In the following example, you add message 51 to the oldmail file. You also give a headers command before and after the move just to see what happens. (Note the use of p for previous-sequence to avoid retyping the message number.)



MM>h 51
      51)  1-Aug Howie Kaye          why we use email (1170 chars)
MM>move oldmail p
 51
MM>h p
   D  51)  1-Aug Howie Kaye          why we use email (1170 chars)
MM>


Note that move is marking the moved messages as deleted. As usual, they are not removed until you give an expunge or exit command at the MM> prompt, so you could possibly undelete some or all of them if you change your mind. If you know you do not want to delete, use copy instead of move.


DETAILS ON HOW MM CREATES FILES

The question about whether to create a new file is controlled by the variable auto-create-files, normally set to ask. Since you might mistype the name of an existing file, being asked Do you want to create it? gives you a chance to fix it. If you prefer to skip the question, type set auto-create-files yes and then save-init. Setting it to no would prevent MM from creating any files (it would only append to ones you set up ahead of time), if you want a really controlled environment.

Files created by MM have the mbox format, unless you specify otherwise. MM can also read and write the babyl format used by Emacs rmail, and the mtxt (Tenex) format; for an existing file MM will retain the existing format. To make a new file be babyl, for example, either specify it, like move /babyl oldm